Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Scout » IntelliJ Plugin in IntelliJ 2021.2.X
IntelliJ Plugin in IntelliJ 2021.2.X [message #1844112] Wed, 01 September 2021 15:14 Go to next message
Nils Israel is currently offline Nils IsraelFriend
Messages: 72
Registered: May 2010
Member
Hi,
we are using IntelliJ for the Eclipse Scout development for some time now and I am very glad about the IntelliJ support of eclipse scout. Unfortunately the plugin, even in the lateast version released on 30th august, is not compatible with IntelliJ 2021.2.X.

I constantly get errors in non eclipse scout projects. So I was using the "old" intellij version 2021.1.x. But I thought with the latest update it could work. Are you aware of the problems?

One error I am getting is this:

Derived resource update for scope 'File ....' failed
java.lang.IllegalArgumentException: Argument for @NotNull parameter 'compiledPattern' of com/intellij/structuralsearch/Matcher.<init> must not be null
	at com.intellij.structuralsearch.Matcher.$$$reportNull$$$0(Matcher.java)
	at com.intellij.structuralsearch.Matcher.<init>(Matcher.java)
	at com.intellij.structuralsearch.Matcher.<init>(Matcher.java:67)
	at org.eclipse.scout.sdk.s2i.ExtensionsKt.structuralSearch(Extensions.kt:311)
	at org.eclipse.scout.sdk.s2i.ExtensionsKt.findAllTypesAnnotatedWith(Extensions.kt:290)
	at org.eclipse.scout.sdk.s2i.ExtensionsKt.findAllTypesAnnotatedWith$default(Extensions.kt:278)
	at org.eclipse.scout.sdk.s2i.derived.DtoUpdateHandlerFactory$createHandlersFor$2.invoke(DtoUpdateHandlerFactory.kt:31)
	at org.eclipse.scout.sdk.s2i.derived.DtoUpdateHandlerFactory$createHandlersFor$2.invoke(DtoUpdateHandlerFactory.kt:26)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:315)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.FilteringSequence$iterator$1.calcNext(Sequences.kt:169)
	at kotlin.sequences.FilteringSequence$iterator$1.hasNext(Sequences.kt:194)
	at kotlin.sequences.FlatteningSequence$iterator$1.ensureItemIterator(Sequences.kt:311)
	at kotlin.sequences.FlatteningSequence$iterator$1.hasNext(Sequences.kt:303)
	at kotlin.sequences.SequencesKt___SequencesKt.toCollection(_Sequences.kt:752)
	at kotlin.sequences.SequencesKt___SequencesKt.toMutableList(_Sequences.kt:782)
	at kotlin.sequences.SequencesKt___SequencesKt.toList(_Sequences.kt:773)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor$executeDerivedResourceHandlerFactory$1.invoke(DerivedResourceManagerImplementor.kt:131)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor$executeDerivedResourceHandlerFactory$1.invoke(DerivedResourceManagerImplementor.kt:47)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$sam$java_util_concurrent_Callable$0.call(IdeaEnvironment.kt)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.insideReadAction(NonBlockingReadActionImpl.java:521)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.lambda$attemptComputation$3(NonBlockingReadActionImpl.java:486)
	at com.intellij.openapi.application.impl.ApplicationImpl.tryRunReadAction(ApplicationImpl.java:1078)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runInReadActionWithWriteActionPriority$0(ProgressIndicatorUtils.java:78)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runActionAndCancelBeforeWrite(ProgressIndicatorUtils.java:161)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.lambda$runWithWriteActionPriority$1(ProgressIndicatorUtils.java:118)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:57)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:57)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runWithWriteActionPriority(ProgressIndicatorUtils.java:115)
	at com.intellij.openapi.progress.util.ProgressIndicatorUtils.runInReadActionWithWriteActionPriority(ProgressIndicatorUtils.java:78)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.attemptComputation(NonBlockingReadActionImpl.java:486)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl$Submission.executeSynchronously(NonBlockingReadActionImpl.java:421)
	at com.intellij.openapi.application.impl.NonBlockingReadActionImpl.executeSynchronously(NonBlockingReadActionImpl.java:186)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory.computeInReadAction(IdeaEnvironment.kt:91)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory.computeInReadAction$default(IdeaEnvironment.kt:85)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor.executeDerivedResourceHandlerFactory(DerivedResourceManagerImplementor.kt:130)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor.access$executeDerivedResourceHandlerFactory(DerivedResourceManagerImplementor.kt:47)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor$performUpdateAsync$$inlined$synchronized$lambda$1.apply(DerivedResourceManagerImplementor.kt:122)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor$performUpdateAsync$$inlined$synchronized$lambda$1.apply(DerivedResourceManagerImplementor.kt:47)
	at java.base/java.util.stream.ReferencePipeline$7$1.accept(ReferencePipeline.java:271)
	at java.base/java.util.HashMap$ValueSpliterator.forEachRemaining(HashMap.java:1675)
	at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:484)
	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:474)
	at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:952)
	at java.base/java.util.stream.ReduceOps$ReduceTask.doLeaf(ReduceOps.java:926)
	at java.base/java.util.stream.AbstractTask.compute(AbstractTask.java:327)
	at java.base/java.util.concurrent.CountedCompleter.exec(CountedCompleter.java:746)
	at java.base/java.util.concurrent.ForkJoinTask.doExec(ForkJoinTask.java:290)
	at java.base/java.util.concurrent.ForkJoinTask.doInvoke(ForkJoinTask.java:408)
	at java.base/java.util.concurrent.ForkJoinTask.invoke(ForkJoinTask.java:736)
	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateParallel(ReduceOps.java:919)
	at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:233)
	at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:578)
	at kotlin.streams.jdk8.StreamsKt.toList(Streams.kt:72)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor.performUpdateAsync(DerivedResourceManagerImplementor.kt:123)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor.access$performUpdateAsync(DerivedResourceManagerImplementor.kt:47)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor$scheduleUpdate$1.invoke(DerivedResourceManagerImplementor.kt:111)
	at org.eclipse.scout.sdk.s2i.derived.DerivedResourceManagerImplementor$scheduleUpdate$1.invoke(DerivedResourceManagerImplementor.kt:47)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory$callInIdeaEnvironment$job$1$1.invoke(IdeaEnvironment.kt:76)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory$callInIdeaEnvironment$job$1$1.invoke(IdeaEnvironment.kt:57)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory.callInIdeaEnvironmentSync(IdeaEnvironment.kt:64)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory$callInIdeaEnvironment$job$1.invoke(IdeaEnvironment.kt:75)
	at org.eclipse.scout.sdk.s2i.environment.IdeaEnvironment$Factory$callInIdeaEnvironment$job$1.invoke(IdeaEnvironment.kt:57)
	at org.eclipse.scout.sdk.s2i.environment.OperationTask$run$2.invoke(OperationTask.kt:45)
	at org.eclipse.scout.sdk.s2i.environment.OperationTask$run$2.invoke(OperationTask.kt:28)
	at org.eclipse.scout.sdk.s2i.environment.TransactionManager$sam$java_util_function_Supplier$0.get(TransactionManager.kt)
	at org.eclipse.scout.sdk.core.util.CoreUtils.callInContext(CoreUtils.java:309)
	at org.eclipse.scout.sdk.s2i.environment.TransactionManager$Companion.callInExistingTransaction(TransactionManager.kt:89)
	at org.eclipse.scout.sdk.s2i.environment.TransactionManager$Companion.callInNewTransaction(TransactionManager.kt:73)
	at org.eclipse.scout.sdk.s2i.environment.OperationTask.run(OperationTask.kt:44)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:450)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:117)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsync$5(CoreProgressManager.java:510)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$3(ProgressRunner.java:243)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$2(CoreProgressManager.java:183)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:705)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:647)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:63)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:170)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:243)
	at java.base/java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1700)
	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.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:668)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:665)
	at java.base/java.security.AccessController.doPrivileged(Native Method)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:665)
	at java.base/java.lang.Thread.run(Thread.java:829)


Best
Nils
Re: IntelliJ Plugin in IntelliJ 2021.2.X [message #1844114 is a reply to message #1844112] Wed, 01 September 2021 15:37 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
Hi Nils

No, we are not aware of that problem. Thank you for pointing this out.
We will have a look at it and come back to you with a solution.

Kind regards
Mat
Re: IntelliJ Plugin in IntelliJ 2021.2.X [message #1844191 is a reply to message #1844112] Mon, 06 September 2021 05:47 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
Hi Nils

An updated version of the plugin is available.
Does this fix your issues?

Kind regards
Mat
Re: IntelliJ Plugin in IntelliJ 2021.2.X [message #1844207 is a reply to message #1844191] Mon, 06 September 2021 11:06 Go to previous messageGo to next message
Nils Israel is currently offline Nils IsraelFriend
Messages: 72
Registered: May 2010
Member
Hi Mat,
thanks for the quick response. Unfortunately the error is still there with the same message and stack trace. I am using plugin version 11.0.0.2109011729
Best
Nils
Re: IntelliJ Plugin in IntelliJ 2021.2.X [message #1844222 is a reply to message #1844207] Mon, 06 September 2021 15:31 Go to previous messageGo to next message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
Hi Nils

You are right. Please try again with the version 11.0.0.2109061514 now available for update.
Does this work?

Kind regards
Mat
Re: IntelliJ Plugin in IntelliJ 2021.2.X [message #1844224 is a reply to message #1844222] Mon, 06 September 2021 16:41 Go to previous messageGo to next message
Nils Israel is currently offline Nils IsraelFriend
Messages: 72
Registered: May 2010
Member
Hi Mat,
yes, the error is gone now.
Thanks!
Nils
Re: IntelliJ Plugin in IntelliJ 2021.2.X [message #1844226 is a reply to message #1844224] Mon, 06 September 2021 16:58 Go to previous message
Matthias Villiger is currently offline Matthias VilligerFriend
Messages: 232
Registered: September 2011
Senior Member
You're welcome :)

Thanks for reporting!
Previous Topic:[Solved]Error 404 for a resource
Next Topic:InteliJ Hello World Production Error 404
Goto Forum:
  


Current Time: Tue Apr 23 04:58:13 GMT 2024

Powered by FUDForum. Page generated in 0.04601 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top