NoSuchFieldException on JDK 9
See original GitHub issueWhen using the plug-in on JDK 9, I’m getting the following exception:
java.lang.NoSuchFieldException: handle
at java.lang.Class.getDeclaredField(Class.java:2100)
at de.flapdoodle.embed.process.runtime.Processes.windowsProcessId(Processes.java:94)
at de.flapdoodle.embed.process.runtime.Processes.processId(Processes.java:55)
at de.flapdoodle.embed.process.runtime.ProcessControl.<init>(ProcessControl.java:65)
at de.flapdoodle.embed.process.runtime.ProcessControl.start(ProcessControl.java:206)
at de.flapdoodle.embed.process.runtime.ProcessControl.fromCommandLine(ProcessControl.java:202)
at de.flapdoodle.embed.process.runtime.NUMA.isNUMAOnce(NUMA.java:56)
at de.flapdoodle.embed.process.runtime.NUMA.isNUMA(NUMA.java:44)
at de.flapdoodle.embed.mongo.runtime.Mongod.enhanceCommandLinePlattformSpecific(Mongod.java:175)
at de.flapdoodle.embed.mongo.MongodProcess.getCommandLine(MongodProcess.java:85)
at de.flapdoodle.embed.mongo.MongodProcess.getCommandLine(MongodProcess.java:41)
at de.flapdoodle.embed.process.runtime.AbstractProcess.<init>(AbstractProcess.java:84)
at de.flapdoodle.embed.mongo.AbstractMongoProcess.<init>(AbstractMongoProcess.java:52)
at de.flapdoodle.embed.mongo.MongodProcess.<init>(MongodProcess.java:50)
at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:44)
at de.flapdoodle.embed.mongo.MongodExecutable.start(MongodExecutable.java:34)
at de.flapdoodle.embed.process.runtime.Executable.start(Executable.java:99)
at com.github.joelittlejohn.embedmongo.StartEmbeddedMongoMojo.execute(StartEmbeddedMongoMojo.java:271)
Not sure what’s the best way to address this issue, but it’d be nice to be able to use the plug-in on JDK 9, too 😃
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
NoSuchFieldException (Java SE 9 & JDK 9 )
Signals that the class doesn't have a field of a specified name. Since: 1.1; See Also: Serialized Form ...
Read more >Issues with JDK9 #452 - mgarin/weblaf - GitHub
There are quite a few problems that appeared on JDK 9. ... java.lang.NoSuchFieldException: Field "AA_TEXT_PROPERTY_KEY" not foun...
Read more >NoSuchFieldException (Java Platform SE 9 [ad-hoc build])
public class NoSuchFieldException extends ReflectiveOperationException. Signals that the class doesn't have a field of a specified name.
Read more >java - NoSuchFieldException when field exists - Stack Overflow
NoSuchFieldException when field exists · Ask Question. Asked 9 years, 9 months ago. Modified 1 year, 1 month ago.
Read more >476870 – NoSuchFieldException: c with java 9 - Bugs - Eclipse
Bug 476870 - NoSuchFieldException: c with java 9 ... My environment: OS X 10.10.5 Oracle jdk 1.9.0-ea-b74 Eclipse Mars R Docker Tools from...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@francisdb you can now (since yesterday) update to process 2.0.3
can we please get a release including this fix?