phetsims / build-an-atom

"Build an Atom" is an educational simulation in HTML5, by PhET Interactive Simulations.
http://phet.colorado.edu/en/simulation/build-an-atom
GNU General Public License v3.0
11 stars 10 forks source link

Assertion failed: Cannot register two different instances to the same id #186

Closed pixelzoom closed 6 years ago

pixelzoom commented 6 years ago

This error has been appearing off and on in CT for the past 2 days at least (CT was restarted on 6/18).

build-an-atom : phet-io-fuzz : require.js : run Uncaught Error: Assertion failed: Cannot register two different instances to the same id: buildAnAtom.gameScreen.view.challenges_0View.countsToElementChallengeView.neutralAtomRadioButton.enabledProperty Error: Assertion failed: Cannot register two different instances to the same id: buildAnAtom.gameScreen.view.challenges_0View.countsToElementChallengeView.neutralAtomRadioButton.enabledProperty at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/assert/js/assert.js:22:13) at Phetio.addInstance (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/phet-io/js/phetio.js?bust=1529441867363:627:19) at Object.addInstance (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/phet-io/js/phetio.js?bust=1529441867363:720:14) at Tandem.addInstance (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/tandem/js/Tandem.js?bust=1529441867363:134:36) at BooleanProperty.initializePhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/tandem/js/PhetioObject.js?bust=1529441867363:147:19) at BooleanProperty.PhetioObject [as constructor] (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/tandem/js/PhetioObject.js?bust=1529441867363:74:12) at BooleanProperty.Property [as constructor] (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/axon/js/Property.js?bust=1529441867363:77:18) at new BooleanProperty (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/axon/js/BooleanProperty.js?bust=1529441867363:38:14) at new AquaRadioButton (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/sun/js/AquaRadioButton.js?bust=1529441867363:60:28) at CountsToElementChallengeView.ToElementChallengeView [as constructor] (https://bayes.colorado.edu/continuous-testing/snapshot-1529439571634/build-an-atom/js/game/view/ToElementChallengeView.js?bust=1529441867363:80:34) Approximately 6/19/2018, 2:19:31 PM

jbphet commented 6 years ago

I haven't been doing anything in the Build an Atom code, and this looks like a phet-io issue. Assigning to @zepumph to fix or reassign as appropriate.

zepumph commented 6 years ago

This was a disposal bug from https://github.com/phetsims/phet-io/issues/1326. Closing.