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

JVM initialization failed: Error: Assertion failed: Unknown ConstantPool tag: undefined #513

Open
haitaoli opened this issue Feb 10, 2018 · 3 comments

Comments

@haitaoli
Copy link

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)
@emeryberger
Copy link
Member

Please provide your scripts, etc. so we can try to reproduce. Thanks.

@haitaoli
Copy link
Author

@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

@jvilk
Copy link
Member

jvilk commented Mar 17, 2018

@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)

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

No branches or pull requests

3 participants