Issue | Fix Version | Assignee | Priority | Status | Resolution | Resolved In Build |
---|---|---|---|---|---|---|
JDK-8084798 | emb-9 | Aleksej Efimov | P3 | Resolved | Fixed | team |
Failed with the following messages:
#section:main
----------messages:(3/134)----------
command: main GenerateEnumSchema
reason: User specified action: run main/othervm GenerateEnumSchema
elapsed time (seconds): 0.865
----------System.out:(37/2543)*----------
Call to schemagen: D:\\Users\\aurora\\CommonData\\jdk\\bin\\schemagen.exe TestClassType.java
Jan 28, 2015 8:55:07 PM com.sun.tools.internal.jxc.SchemaGenerator run
SEVERE: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.tools.internal.jxc.SchemaGenerator.run(SchemaGenerator.java:151)
at com.sun.tools.internal.jxc.SchemaGenerator.run(SchemaGenerator.java:76)
at com.sun.tools.internal.jxc.SchemaGenerator.main(SchemaGenerator.java:67)
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/Users/aurora/CommonData/jdk/lib/modules/appmodules.jimage
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at com.sun.tools.javac.file.Locations.getPathEntries(Locations.java:169)
at com.sun.tools.javac.file.Locations.access$300(Locations.java:87)
at com.sun.tools.javac.file.Locations$SearchPath.addFiles(Locations.java:238)
at com.sun.tools.javac.file.Locations$SearchPath.addFiles(Locations.java:244)
at com.sun.tools.javac.file.Locations$SimpleLocationHandler.handleOption(Locations.java:448)
at com.sun.tools.javac.file.Locations.handleOption(Locations.java:743)
at com.sun.tools.javac.util.BaseFileManager.handleOption(BaseFileManager.java:210)
at com.sun.tools.javac.util.BaseFileManager$1.handleFileManagerOption(BaseFileManager.java:168)
at com.sun.tools.javac.main.Option.process(Option.java:672)
at com.sun.tools.javac.main.Option$6.process(Option.java:157)
at com.sun.tools.javac.util.BaseFileManager.handleOption(BaseFileManager.java:176)
at com.sun.tools.javac.main.Arguments.processArgs(Arguments.java:297)
at com.sun.tools.javac.main.Arguments.init(Arguments.java:229)
at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:166)
at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:108)
at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:64)
at com.sun.tools.internal.jxc.SchemaGenerator$Runner.compile(SchemaGenerator.java:235)
... 7 more
----------System.err:(14/795)----------
java.lang.RuntimeException: schemagen failed
at GenerateEnumSchema.runSchemaGen(GenerateEnumSchema.java:126)
at GenerateEnumSchema.main(GenerateEnumSchema.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.RuntimeException: schemagen failed
JavaTest Message: shutting down test
I didn't investigate the code, but the exception java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/Users/aurora/CommonData/jdk/lib/modules/appmodules.jimage
is because "/D:/Users..." is not a valid file name for method Paths.get, the first "/" should be removed.
#section:main
----------messages:(3/134)----------
command: main GenerateEnumSchema
reason: User specified action: run main/othervm GenerateEnumSchema
elapsed time (seconds): 0.865
----------System.out:(37/2543)*----------
Call to schemagen: D:\\Users\\aurora\\CommonData\\jdk\\bin\\schemagen.exe TestClassType.java
Jan 28, 2015 8:55:07 PM com.sun.tools.internal.jxc.SchemaGenerator run
SEVERE: null
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.tools.internal.jxc.SchemaGenerator.run(SchemaGenerator.java:151)
at com.sun.tools.internal.jxc.SchemaGenerator.run(SchemaGenerator.java:76)
at com.sun.tools.internal.jxc.SchemaGenerator.main(SchemaGenerator.java:67)
Caused by: java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/Users/aurora/CommonData/jdk/lib/modules/appmodules.jimage
at sun.nio.fs.WindowsPathParser.normalize(WindowsPathParser.java:182)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:153)
at sun.nio.fs.WindowsPathParser.parse(WindowsPathParser.java:77)
at sun.nio.fs.WindowsPath.parse(WindowsPath.java:94)
at sun.nio.fs.WindowsFileSystem.getPath(WindowsFileSystem.java:255)
at java.nio.file.Paths.get(Paths.java:84)
at com.sun.tools.javac.file.Locations.getPathEntries(Locations.java:169)
at com.sun.tools.javac.file.Locations.access$300(Locations.java:87)
at com.sun.tools.javac.file.Locations$SearchPath.addFiles(Locations.java:238)
at com.sun.tools.javac.file.Locations$SearchPath.addFiles(Locations.java:244)
at com.sun.tools.javac.file.Locations$SimpleLocationHandler.handleOption(Locations.java:448)
at com.sun.tools.javac.file.Locations.handleOption(Locations.java:743)
at com.sun.tools.javac.util.BaseFileManager.handleOption(BaseFileManager.java:210)
at com.sun.tools.javac.util.BaseFileManager$1.handleFileManagerOption(BaseFileManager.java:168)
at com.sun.tools.javac.main.Option.process(Option.java:672)
at com.sun.tools.javac.main.Option$6.process(Option.java:157)
at com.sun.tools.javac.util.BaseFileManager.handleOption(BaseFileManager.java:176)
at com.sun.tools.javac.main.Arguments.processArgs(Arguments.java:297)
at com.sun.tools.javac.main.Arguments.init(Arguments.java:229)
at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:166)
at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:108)
at com.sun.tools.javac.api.JavacTool.getTask(JavacTool.java:64)
at com.sun.tools.internal.jxc.SchemaGenerator$Runner.compile(SchemaGenerator.java:235)
... 7 more
----------System.err:(14/795)----------
java.lang.RuntimeException: schemagen failed
at GenerateEnumSchema.runSchemaGen(GenerateEnumSchema.java:126)
at GenerateEnumSchema.main(GenerateEnumSchema.java:45)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
at java.lang.Thread.run(Thread.java:745)
JavaTest Message: Test threw exception: java.lang.RuntimeException: schemagen failed
JavaTest Message: shutting down test
I didn't investigate the code, but the exception java.nio.file.InvalidPathException: Illegal char <:> at index 2: /D:/Users/aurora/CommonData/jdk/lib/modules/appmodules.jimage
is because "/D:/Users..." is not a valid file name for method Paths.get, the first "/" should be removed.
- backported by
-
JDK-8084798 javax/xml/ws/8046817/GenerateEnumSchema.java failed on Windows platform
-
- Resolved
-
- duplicates
-
JDK-8071955 javax\xml\ws\8046817\GenerateEnumSchema.java fails on Windows JDK9 builds
-
- Closed
-
-
JDK-8076549 Update JAX-WS RI integration to latest version (2.2.11-b150402.1412)
-
- Resolved
-
- relates to
-
JDK-8072135 Add javax/xml/ws/8046817/GenerateEnumSchema.java to the problem list
-
- Resolved
-
-
JDK-8046817 JDK 8 schemagen tool does not generate xsd files for enum types
-
- Closed
-