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

NullPointerException when I run my application in a plugin environment #132

Closed
subodh-shrivastava opened this issue Jul 6, 2017 · 2 comments

Comments

@subodh-shrivastava
Copy link

Same application works fine out of plugin environment.
Exception in thread "Thread-5" java.lang.NullPointerException
at net.openhft.chronicle.values.ValueModel.createClass(ValueModel.java:341)
at net.openhft.chronicle.values.ValueModel.createNativeClass(ValueModel.java:323)
at net.openhft.chronicle.values.ValueModel.nativeClass(ValueModel.java:299)
at net.openhft.chronicle.values.Values.nativeClassFor(Values.java:83)
at net.openhft.chronicle.values.Values.newNativeReference(Values.java:51)
at net.openhft.chronicle.hash.impl.VanillaChronicleHash.createGlobalMutableState(VanillaChronicleHash.java:340)
at net.openhft.chronicle.hash.impl.VanillaChronicleHash.initOwnTransients(VanillaChronicleHash.java:389)
at net.openhft.chronicle.hash.impl.VanillaChronicleHash.initTransients(VanillaChronicleHash.java:385)
at net.openhft.chronicle.map.VanillaChronicleMap.initTransients(VanillaChronicleMap.java:163)
at net.openhft.chronicle.map.VanillaChronicleMap.(VanillaChronicleMap.java:116)
at net.openhft.chronicle.map.ChronicleMapBuilder.newMap(ChronicleMapBuilder.java:1816)
at net.openhft.chronicle.map.ChronicleMapBuilder.lambda$createWithFile$99(ChronicleMapBuilder.java:1568)
at net.openhft.chronicle.map.ChronicleMapBuilder.lambda$fileLockedIO$98(ChronicleMapBuilder.java:260)
at java.util.concurrent.ConcurrentHashMap.compute(ConcurrentHashMap.java:1853)
at net.openhft.chronicle.map.ChronicleMapBuilder.fileLockedIO(ChronicleMapBuilder.java:257)
at net.openhft.chronicle.map.ChronicleMapBuilder.createWithFile(ChronicleMapBuilder.java:1566)
at net.openhft.chronicle.map.ChronicleMapBuilder.createPersistedTo(ChronicleMapBuilder.java:1484)

@RobAustin
Copy link
Member

can you retest with the last version and let us know if it still fails.

@minborg
Copy link
Contributor

minborg commented Jan 3, 2022

I am closing this issue now @subodh-shrivastava . Please provide a test that reproduces the problem if you want to reopen the issue. Thank you.

@minborg minborg closed this as completed Jan 3, 2022
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