Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CT cannot read property addParticleNearestOpen of undefined #134

Closed
KatieWoe opened this issue Dec 12, 2019 · 3 comments
Closed

CT cannot read property addParticleNearestOpen of undefined #134

KatieWoe opened this issue Dec 12, 2019 · 3 comments

Comments

@KatieWoe
Copy link
Contributor

build-a-molecule : fuzz : built : run
Query: fuzz&memoryLimit=1000
Uncaught TypeError: Cannot read property 'addParticleNearestOpen' of undefined
TypeError: Cannot read property 'addParticleNearestOpen' of undefined
    at C.recycleAtomIntoBuckets (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6757793)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6757953
    at Array.forEach (<anonymous>)
    at C.recycleMoleculeIntoBuckets (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6757931)
    at C.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6755801)
    at C.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:7055341)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6845408
    at C.onRelease (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6810908)
    at e.value (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:508258)
    at C.release (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6809330)
id: Bayes Chrome
Approximately 12/11/2019, 11:30:49 PM
build-a-molecule : fuzz : built : run
Query: fuzz&memoryLimit=1000
Uncaught TypeError: Cannot read property 'atoms' of null
TypeError: Cannot read property 'atoms' of null
    at Function.C.getCombinedMoleculeFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:936799)
    at C.getPossibleMoleculeStructureFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6760791)
    at C.canBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761713)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761035
    at Array.forEach (<anonymous>)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6760950
    at Array.forEach (<anonymous>)
    at C.attemptToBondMolecule (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6760922)
    at C.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6755876)
    at C.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:7055341)
id: Bayes Chrome
Approximately 12/11/2019, 11:30:49 PM
build-a-molecule : fuzz : require.js : run
Query: brand=phet&ea&fuzz&memoryLimit=1000
Uncaught TypeError: Cannot read property 'atoms' of null
TypeError: Cannot read property 'atoms' of null
    at Function.MoleculeStructure.getCombinedMoleculeFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/MoleculeStructure.js?bust=1576145516918:541:10)
    at Kit.getPossibleMoleculeStructureFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/Kit.js?bust=1576145516918:526:32)
    at Kit.canBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/Kit.js?bust=1576145516918:601:95)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/Kit.js?bust=1576145516918:552:49
    at Array.forEach (<anonymous>)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/Kit.js?bust=1576145516918:542:20
    at Array.forEach (<anonymous>)
    at Kit.attemptToBondMolecule (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/Kit.js?bust=1576145516918:539:22)
    at Kit.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/model/Kit.js?bust=1576145516918:200:16)
    at DragListener.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/view/BAMView.js?bust=1576145516918:370:24)
id: Bayes Chrome
Approximately 12/11/2019, 11:30:49 PM
build-a-molecule : fuzz : require.js : run
Query: brand=phet&ea&fuzz&memoryLimit=1000
Uncaught Error: Assertion failed: attempt made to remove particle that is not in bucket
Error: Assertion failed: attempt made to remove particle that is not in bucket
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/assert/js/assert.js?bust=1576147860990:22:13)
    at Bucket.removeParticle (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/phetcommon/js/model/SphereBucket.js?bust=1576147861108:91:17)
    at particleRemovedListener (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/phetcommon/js/model/SphereBucket.js?bust=1576147861108:80:14)
    at TinyEmitter.emit (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/axon/js/TinyEmitter.js?bust=1576147861108:68:55)
    at BooleanProperty._notifyListeners (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/axon/js/Property.js?bust=1576147861108:275:27)
    at BooleanProperty.set (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/axon/js/Property.js?bust=1576147861108:176:16)
    at BooleanProperty.set value [as value] (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/axon/js/Property.js?bust=1576147861108:345:34)
    at DragListener.start [as _start] (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/build-a-molecule/js/view/BAMView.js?bust=1576147861108:297:45)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/scenery/js/listeners/DragListener.js?bust=1576147861108:241:29
    at DragListener.onPress (https://bayes.colorado.edu/continuous-testing/snapshot-1576132249036/scenery/js/listeners/PressListener.js?bust=1576147861108:524:19)
id: Bayes Chrome
Approximately 12/11/2019, 11:30:49 PM
build-a-molecule : fuzz : require.js : run
Query: brand=phet&ea&fuzz&memoryLimit=1000
Uncaught Error: Assertion failed: reentry detected, value=false, oldValue=true
@KatieWoe
Copy link
Contributor Author

Related

build-a-molecule : fuzz : built : run
Query: fuzz&memoryLimit=1000
Uncaught TypeError: Cannot read property 'atoms' of null
TypeError: Cannot read property 'atoms' of null
    at Function.C.getCombinedMoleculeFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:937026)
    at C.getPossibleMoleculeStructureFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761061)
    at C.canBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761983)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761305
    at Array.forEach (<anonymous>)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761220
    at Array.forEach (<anonymous>)
    at C.attemptToBondMolecule (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6761192)
    at C.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:6756146)
    at C.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/build/phet/build-a-molecule_en_phet.html?postMessageOnLoad&postMessageOnError&postMessageOnBeforeUnload&fuzz&memoryLimit=1000:1110:7057085)
id: Bayes Chrome
Approximately 12/12/2019, 11:45:24 PM
build-a-molecule : fuzz : require.js : run
Query: brand=phet&ea&fuzz&memoryLimit=1000
Uncaught Error: Assertion failed: attempt made to remove particle that is not in bucket
Error: Assertion failed: attempt made to remove particle that is not in bucket
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/assert/js/assert.js?bust=1576236178154:22:13)
    at Bucket.removeParticle (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/phetcommon/js/model/SphereBucket.js?bust=1576236178265:91:17)
    at particleRemovedListener (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/phetcommon/js/model/SphereBucket.js?bust=1576236178265:80:14)
    at TinyEmitter.emit (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/TinyEmitter.js?bust=1576236178265:68:55)
    at BooleanProperty._notifyListeners (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Property.js?bust=1576236178265:275:27)
    at BooleanProperty.set (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Property.js?bust=1576236178265:176:16)
    at BooleanProperty.set value [as value] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Property.js?bust=1576236178265:345:34)
    at DragListener.start [as _start] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/view/BAMView.js?bust=1576236178265:328:45)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/scenery/js/listeners/DragListener.js?bust=1576236178265:267:29
    at DragListener.onPress (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/scenery/js/listeners/PressListener.js?bust=1576236178265:518:19)
id: Bayes Chrome
Approximately 12/12/2019, 11:45:24 PM
build-a-molecule : fuzz : require.js : run
Query: brand=phet&ea&fuzz&memoryLimit=1000
Uncaught Error: Assertion failed: reentry detected, value=false, oldValue=true
Error: Assertion failed: reentry detected, value=false, oldValue=true
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/assert/js/assert.js?bust=1576236178154:22:13)
    at BooleanProperty._notifyListeners (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Property.js?bust=1576236178265:272:17)
    at BooleanProperty.set (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Property.js?bust=1576236178265:176:16)
    at BooleanProperty.set value [as value] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Property.js?bust=1576236178265:345:34)
    at DragListener.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/view/BAMView.js?bust=1576236178265:369:45)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/scenery/js/listeners/DragListener.js?bust=1576236178265:308:27
    at DragListener.onRelease (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/scenery/js/listeners/PressListener.js?bust=1576236178265:545:19)
    at Action.execute (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/axon/js/Action.js?bust=1576236178265:230:20)
    at DragListener.release (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/scenery/js/listeners/PressListener.js?bust=1576236178265:377:27)
    at DragListener.release (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/scenery/js/listeners/DragListener.js?bust=1576236178265:304:39)
id: Bayes Chrome
Approximately 12/12/2019, 11:45:24 PM
build-a-molecule : fuzz : require.js : run
Query: brand=phet&ea&fuzz&memoryLimit=1000
Uncaught TypeError: Cannot read property 'atoms' of null
TypeError: Cannot read property 'atoms' of null
    at Function.MoleculeStructure.getCombinedMoleculeFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/MoleculeStructure.js?bust=1576247251267:541:10)
    at Kit.getPossibleMoleculeStructureFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576247251267:528:32)
    at Kit.canBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576247251267:603:95)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576247251267:554:49
    at Array.forEach (<anonymous>)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576247251267:544:20
    at Array.forEach (<anonymous>)
    at Kit.attemptToBondMolecule (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576247251267:541:22)
    at Kit.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576247251267:202:16)
    at DragListener.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/view/BAMView.js?bust=1576247251267:400:24)
id: Bayes Chrome
Approximately 12/12/2019, 11:45:24 PM
build-a-molecule : xss-fuzz : run
Query: brand=phet&ea&fuzz&stringTest=xss&memoryLimit=1000
Uncaught TypeError: Cannot read property 'atoms' of null
TypeError: Cannot read property 'atoms' of null
    at Function.MoleculeStructure.getCombinedMoleculeFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/MoleculeStructure.js?bust=1576237895527:541:10)
    at Kit.getPossibleMoleculeStructureFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576237895527:528:32)
    at Kit.canBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576237895527:603:95)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576237895527:554:49
    at Array.forEach (<anonymous>)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576237895527:544:20
    at Array.forEach (<anonymous>)
    at Kit.attemptToBondMolecule (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576237895527:541:22)
    at Kit.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576237895527:202:16)
    at DragListener.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/view/BAMView.js?bust=1576237895527:400:24)
id: Bayes Chrome
Approximately 12/12/2019, 11:45:24 PM
build-a-molecule : xss-fuzz : run
Query: brand=phet&ea&fuzz&stringTest=xss&memoryLimit=1000
Uncaught TypeError: Cannot read property 'atoms' of null
TypeError: Cannot read property 'atoms' of null
    at Function.MoleculeStructure.getCombinedMoleculeFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/MoleculeStructure.js?bust=1576250061321:541:10)
    at Kit.getPossibleMoleculeStructureFromBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576250061321:528:32)
    at Kit.canBond (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576250061321:603:95)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576250061321:554:49
    at Array.forEach (<anonymous>)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576250061321:544:20
    at Array.forEach (<anonymous>)
    at Kit.attemptToBondMolecule (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576250061321:541:22)
    at Kit.atomDropped (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/model/Kit.js?bust=1576250061321:202:16)
    at DragListener.end [as _end] (https://bayes.colorado.edu/continuous-testing/snapshot-1576219524046/build-a-molecule/js/view/BAMView.js?bust=1576250061321:400:24)
id: Bayes Chrome
Approximately 12/12/2019, 11:45:24 PM

@Denz1994
Copy link
Contributor

Denz1994 commented Jan 2, 2020

I believe this has to do with exposed atoms from other kits being dragged. This issue is more clear about the cause of this bug.

@Denz1994
Copy link
Contributor

Denz1994 commented Jan 9, 2020

CT has been clear for several cycles. This was caused by the bounds of buckets being leaked over into other pages in the carousel. Adjusting the bounds of the kitPanel and the bucket widths makes it so a user can drag these leaked atoms into another kit's playAreaNode.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants