phetsims/energy-skate-park-basics

Assertion failed: Incorrect type in phet-io wrapper

Closed this issue · 4 comments

From CT:

energy-skate-park : phet-io-fuzz : require.js : load
Uncaught Error: Assertion failed: Incorrect type in phet-io wrapper. Expected , received EnergySkateParkModel
Error: Assertion failed: Incorrect type in phet-io wrapper. Expected , received EnergySkateParkModel
at window.assertions.assertFunction (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/assert/js/assert.js:22:13)
at assertInstanceOf (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/phet-io/js/assertInstanceOf.js?bust=1534857737626:57:17)
at new EnergySkateParkModelIO (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/energy-skate-park/js/energy-skate-park/model/EnergySkateParkModelIO.js?bust=1534857737626:26:15)
at EnergySkateParkModel.initializePhetioObject (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/tandem/js/PhetioObject.js?bust=1534857737626:147:30)
at EnergySkateParkModel.PhetioObject [as constructor] (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/tandem/js/PhetioObject.js?bust=1534857737626:80:12)
at new EnergySkateParkModel (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/energy-skate-park/js/energy-skate-park/model/EnergySkateParkModel.js?bust=1534857737626:284:18)
at EnergySkateParkScreen.createModel (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/energy-skate-park/js/energy-skate-park/EnergySkateParkScreen.js?bust=1534857737626:40:16)
at EnergySkateParkScreen.initializeModel (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/joist/js/Screen.js?bust=1534857737626:241:26)
at Array. (https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/joist/js/Sim.js?bust=1534857737626:677:18)
at https://bayes.colorado.edu/continuous-testing/snapshot-1534856392824/joist/js/Sim.js?bust=1534857737626:688:27
Approximately 8/21/2018, 6:59:52 AM

Assigning to @jessegreenberg because he is the lead developer on this sim. Let me know if you need any help on this.

Sorry @zepumph, I assigned to you because it looks like a pheti-io-wrapper issue.

Understood and very reasonable!

I think this issue was meant for energy-skate-park, and was fixed in phetsims/energy-skate-park@ad2bbe6. Closing.