phetsims / isotopes-and-atomic-mass

"Isotopes And Atomic Mass" is an educational simulation in HTML5, by PhET Interactive Simulations.
GNU General Public License v3.0
3 stars 3 forks source link

CT radiusProperty #94

Closed KatieWoe closed 5 years ago

KatieWoe commented 5 years ago
isotopes-and-atomic-mass : xss-fuzz : run
Query: brand=phet&ea&fuzz&stringTest=xss&memoryLimit=1000
Uncaught TypeError: Cannot read property 'radiusProperty' of undefined
TypeError: Cannot read property 'radiusProperty' of undefined
    at IsotopeCanvasNode.paintCanvas (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/shred/js/view/IsotopeCanvasNode.js?bust=1555424967621:42:73)
    at CanvasNodeDrawable.paintCanvas (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/drawables/CanvasNodeDrawable.js?bust=1555424967621:69:14)
    at CanvasBlock.renderDrawable (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/CanvasBlock.js?bust=1555424967621:372:16)
    at CanvasBlock.update (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/CanvasBlock.js?bust=1555424967621:172:14)
    at BackboneDrawable.update (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/BackboneDrawable.js?bust=1555424967621:258:35)
    at DOMBlock.update (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/DOMBlock.js?bust=1555424967621:57:24)
    at BackboneDrawable.update (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/BackboneDrawable.js?bust=1555424967621:258:35)
    at Display.updateDisplay (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/Display.js?bust=1555424967621:455:26)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/joist/js/Sim.js?bust=1555424967621:222:20
    at Action.emit (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/axon/js/Action.js?bust=1555424967621:160:19)
id: Bayes Chrome
Approximately 4/16/2019, 7:47:17 AM
isotopes-and-atomic-mass : xss-fuzz : run
Query: brand=phet&ea&fuzz&stringTest=xss&memoryLimit=1000
Uncaught Error: Assertion failed: This should not be run in the call tree of updateDisplay(). If you see this, it is likely that either the last updateDisplay() had a thrown error and it is trying to be run again (in which case, investigate that error), OR code was run/triggered from inside an updateDisplay() that has the potential to cause an infinite loop, e.g. CanvasNode paintCanvas() call manipulating another Node, or a bounds listener that Scenery missed.
Error: Assertion failed: This should not be run in the call tree of updateDisplay(). If you see this, it is likely that either the last updateDisplay() had a thrown error and it is trying to be run again (in which case, investigate that error), OR code was run/triggered from inside an updateDisplay() that has the potential to cause an infinite loop, e.g. CanvasNode paintCanvas() call manipulating another Node, or a bounds listener that Scenery missed.
    at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/assert/js/assert.js:22:13)
    at Display.ensureNotPainting (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/Display.js?bust=1555424967621:1089:17)
    at BackboneDrawable.markDirtyDrawable (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/BackboneDrawable.js?bust=1555424967621:215:22)
    at SVGBlock.markDirty (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/Drawable.js?bust=1555424967621:302:31)
    at SVGBlock.markDirtyGroup (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/SVGBlock.js?bust=1555424967621:170:12)
    at SVGGroup.markDirty (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/SVGGroup.js?bust=1555424967621:129:20)
    at SVGGroup.markVisibilityDirty (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/display/SVGGroup.js?bust=1555424967621:161:14)
    at MixIsotopesScreenView.trigger0 (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/axon/js/Events.js?bust=1555424967621:239:29)
    at MixIsotopesScreenView.setVisible (https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/scenery/js/nodes/Node.js?bust=1555424967621:3022:14)
    at https://bayes.colorado.edu/continuous-testing/snapshot-1555422437350/joist/js/Sim.js?bust=1555424967621:668:25
id: Bayes Chrome
Approximately 4/16/2019, 7:47:17 AM
jbphet commented 5 years ago

I fixed this, and just verified that the sim passed the last several rounds of CT. Closing.