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

ResourceOracleImpl.findResource doesn't work on Windows #93

Open
treblereel opened this issue Jul 7, 2022 · 0 comments
Open

ResourceOracleImpl.findResource doesn't work on Windows #93

treblereel opened this issue Jul 7, 2022 · 0 comments
Assignees
Labels
bug Something isn't working
Milestone

Comments

@treblereel
Copy link
Member

Caused by: java.lang.IllegalArgumentException: Invalid relative name: org\kie\workbench\common\stunner\client\widgets\dialog/ConfirmationDialogImplView.css
at com.sun.tools.javac.file.JavacFileManager.getFileForInput (JavacFileManager.java:781)
at com.sun.tools.javac.main.DelegatingJavaFileManager.getFileForInput (DelegatingJavaFileManager.java:122)
at com.sun.tools.javac.processing.JavacFiler.getResource (JavacFiler.java:579)
at io.crysknife.generator.context.oracle.ResourceOracleImpl.findResource (ResourceOracleImpl.java:146)
at io.crysknife.generator.context.oracle.ResourceOracleImpl.findResource (ResourceOracleImpl.java:124)
at io.crysknife.generator.context.oracle.ResourceOracleImpl.findResource (ResourceOracleImpl.java:101)
at io.crysknife.ui.templates.generator.TemplatedGenerator.getStylesheet (TemplatedGenerator.java:229)
at io.crysknife.ui.templates.generator.TemplatedGenerator.processType (TemplatedGenerator.java:285)
at io.crysknife.generator.ScopedBeanGenerator.generateDependantFieldDeclaration(ScopedBeanGenerator.java:274)
at io.crysknife.generator.ScopedBeanGenerator.generate(ScopedBeanGenerator.java:102)
at io.crysknife.generator.ScopedBeanGenerator.generate(ScopedBeanGenerator.java:81)
at io.crysknife.generator.api.ClassBuilder.lambda$build$0(ClassBuilder.java:56)
at java.base/java.util.Optional.ifPresent(Optional.java:183)
at io.crysknife.generator.api.ClassBuilder.build(ClassBuilder.java:56)
at io.crysknife.generator.FactoryGenerator.execute(FactoryGenerator.java:61)
at io.crysknife.task.TaskGroup.execute(TaskGroup.java:41)
at io.crysknife.ApplicationProcessor.process(ApplicationProcessor.java:94)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor(JavacProcessingEnvironment.java:985)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs(JavacProcessingEnvironment.java:901)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run(JavacProcessingEnvironment.java:1227)
at jdk.compiler/com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing(JavacProcessingEnvironment.java:1340)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.processAnnotations(JavaCompiler.java:1258)
at jdk.compiler/com.sun.tools.javac.main.JavaCompiler.compile(JavaCompiler.java:936)
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0(JavacTaskImpl.java:104)
at jdk.compiler/com.sun.tools.javac.api.JavacTaskImpl.handleExceptions(JavacTaskImpl.java:147)
... 12 more
java.lang.RuntimeException
at com.vertispan.j2cl.build.DiskCache.markFailed(DiskCache.java:452)
at com.vertispan.j2cl.build.DiskCache$CacheResult.markFailure(DiskCache.java:54)
at com.vertispan.j2cl.build.TaskScheduler$2.executeTask(TaskScheduler.java:181)
at com.vertispan.j2cl.build.TaskScheduler$2.lambda$onReady$0(TaskScheduler.java:211)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:304)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
at io.crysknife.ui.templates.generator.TemplatedGenerator.generate (TemplatedGenerator.java:187)
at io.crysknife.ui.templates.generator.TemplatedGenerator.generate (TemplatedGenerator.java:89)
at io.crysknife.generator.ScopedBeanGenerator.lambda$generateDependantFieldDeclaration$4 (ScopedBeanGenerator.java:274)
at java.util.stream.ForEachOps$ForEachOp$OfRef.accept (ForEachOps.java:183)
at java.util.stream.SortedOps$SizedRefSortingSink.end (SortedOps.java:357)
at java.util.stream.AbstractPipeline.copyInto (AbstractPipeline.java:485)
at java.util.stream.AbstractPipeline.wrapAndCopyInto (AbstractPipeline.java:474)
at java.util.stream.ForEachOps$ForEachOp.evaluateSequential (ForEachOps.java:150)
at java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential (ForEachOps.java:173)
at java.util.stream.AbstractPipeline.evaluate (AbstractPipeline.java:234)
at java.util.stream.ReferencePipeline.forEach (ReferencePipeline.java:497)
at io.crysknife.generator.ScopedBeanGenerator.generateDependantFieldDeclaration (ScopedBeanGenerator.java:274)
at io.crysknife.generator.ScopedBeanGenerator.generate (ScopedBeanGenerator.java:102)
at io.crysknife.generator.ScopedBeanGenerator.generate (ScopedBeanGenerator.java:81)
at io.crysknife.generator.api.ClassBuilder.lambda$build$0 (ClassBuilder.java:56)
at java.util.Optional.ifPresent (Optional.java:183)
at io.crysknife.generator.api.ClassBuilder.build (ClassBuilder.java:56)
at io.crysknife.generator.FactoryGenerator.execute (FactoryGenerator.java:61)
at io.crysknife.task.TaskGroup.execute (TaskGroup.java:41)
at io.crysknife.ApplicationProcessor.process (ApplicationProcessor.java:94)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.callProcessor (JavacProcessingEnvironment.java:985)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.discoverAndRunProcs (JavacProcessingEnvironment.java:901)
at com.sun.tools.javac.processing.JavacProcessingEnvironment$Round.run (JavacProcessingEnvironment.java:1227)
at com.sun.tools.javac.processing.JavacProcessingEnvironment.doProcessing (JavacProcessingEnvironment.java:1340)
at com.sun.tools.javac.main.JavaCompiler.processAnnotations (JavaCompiler.java:1258)
at com.sun.tools.javac.main.JavaCompiler.compile (JavaCompiler.java:936)
at com.sun.tools.javac.api.JavacTaskImpl.lambda$doCall$0 (JavacTaskImpl.java:104)
at com.sun.tools.javac.api.JavacTaskImpl.handleExceptions (JavacTaskImpl.java:147)
at com.sun.tools.javac.api.JavacTaskImpl.doCall (JavacTaskImpl.java:100)
at com.sun.tools.javac.api.JavacTaskImpl.call (JavacTaskImpl.java:94)
at com.vertispan.j2cl.tools.Javac.compile (Javac.java:69)
at com.vertispan.j2cl.build.provided.BytecodeTask.lambda$resolve$3 (BytecodeTask.java:99)
at com.vertispan.j2cl.build.TaskScheduler$2.executeTask (TaskScheduler.java:172)
at com.vertispan.j2cl.build.TaskScheduler$2.lambda$onReady$0 (TaskScheduler.java:211)
at java.util.concurrent.Executors$RunnableAdapter.call (Executors.java:515)
at java.util.concurrent.FutureTask.run (FutureTask.java:264)
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run (ScheduledThreadPoolExecutor.java:304)
at java.util.concurrent.ThreadPoolExecutor.runWorker (ThreadPoolExecutor.java:1128)
at java.util.concurrent.ThreadPoolExecutor$Worker.run (ThreadPoolExecutor.java:628)
at java.lang.Thread.run (Thread.java:829)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant