doppio
doppio copied to clipboard
JVM initialization failed: Error: Assertion failed: Unknown ConstantPool tag: undefined
I'm following the instructions in readme file to set up a simple project. But JVM filed to initialize. From network log, the last file loaded was rt.jar. All files have been downloaded successfully.
at Object.assert [as default] (assert.ts:8)
at ConstantPool.parse (ConstantPool.ts:1324)
at new ReferenceClassData (ClassData.ts:830)
at BootstrapClassLoader.ClassLoader.defineClass (ClassLoader.ts:129)
at ClassLoader.ts:469
at processItem (util.ts:129)
at ClassLoader.ts:464
at file_system.ts:750
at NoSyncFile.close (preload_file.ts:402)
at cb (file_system.ts:746)
Please provide your scripts, etc. so we can try to reproduce. Thanks.
@emeryberger I created a simple project to show this error.
git clone [email protected]:haitaoli/doppio-demo.git
cd doppio-demo
npm i
npm start
@haitaoli You need to use BrowserFS version 1.2. (Newer versions past 1.2 work if you install BrowserFS's spec-incompatible setImmediate
polyfill: window.setImmediate = BrowserFS.setImmediate
)