You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "asbachb (via GitHub)" <gi...@apache.org> on 2023/05/13 23:35:57 UTC

[GitHub] [netbeans] asbachb opened a new issue, #5949: An error occurred during parsing

asbachb opened a new issue, #5949:
URL: https://github.com/apache/netbeans/issues/5949

   ### Apache NetBeans version
   
   Apache NetBeans 18 release candidate
   
   ### What happened
   
   When I'm in a debugger session and "Step Into" the exception occurs and debug session remains stuck.
   
   ```
   Annotation: An error occurred during parsing of 'org/jboss/as/controller/client/impl/AbstractModelControllerClient.java in /home/asbachb/.m2/repository/org/wildfly/core/wildfly-controller-client/20.0.1.Final/wildfly-controller-client-20.0.1.Final-sources.jar'. Please report a bug against java/source and attach dump file '/home/asbachb/.netbeans/18-rc3/var/log/AbstractModelControllerClient_8.dump'.
   An error occurred during parsing of 'org/jboss/as/controller/client/impl/AbstractModelControllerClient.java in /home/asbachb/.m2/repository/org/wildfly/core/wildfly-controller-client/20.0.1.Final/wildfly-controller-client-20.0.1.Final-sources.jar'. Please report a bug against java/source and attach dump file '/home/asbachb/.netbeans/18-rc3/var/log/AbstractModelControllerClient_8.dump'.
   Caused by: java.lang.IllegalStateException: java.lang.StackOverflowError
   	at com.sun.tools.javac.api.JavacTaskImpl.analyze(JavacTaskImpl.java:383)
   	at org.netbeans.modules.java.source.parsing.JavacParser.moveToPhase(JavacParser.java:770)
   	at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:540)
   	at org.netbeans.modules.java.source.parsing.JavacParser.getResult(JavacParser.java:141)
   	at org.netbeans.modules.parsing.impl.TaskProcessor.callGetResult(TaskProcessor.java:608)
   	at org.netbeans.modules.parsing.impl.SourceCache.getResult(SourceCache.java:241)
   	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.run(TaskProcessor.java:775)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:288)
   	at org.netbeans.modules.parsing.impl.TaskProcessor$RequestPerformer.execute(TaskProcessor.java:702)
   	at org.netbeans.modules.parsing.impl.TaskProcessor$CompilationJob.run(TaskProcessor.java:663)
   	at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:539)
   	at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
   	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419)
   	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
   	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)
   Caused by: java.lang.StackOverflowError
   	at com.sun.tools.javac.code.Types.isSubtype(Types.java:1081)
   	at com.sun.tools.javac.code.Types.isSubtype(Types.java:1073)
   	at com.sun.tools.javac.code.Types.isSuperType(Types.java:1300)
   [...]
   	at com.sun.tools.javac.code.Types.isSubtype(Types.java:1073)
   	at com.sun.tools.javac.code.Types.isSuperType(Types.java:1300)
   	at com.sun.tools.javac.code.Types.isSubtype(Types.java:1082)
   An error occurred during parsing of 'org/jboss/as/controller/client/impl/AbstractModelControllerClient.java in /home/asbachb/.m2/repository/org/wildfly/core/wildfly-controller-client/20.0.1.Final/wildfly-controller-client-20.0.1.Final-sources.jar'. Please report a bug against java/source and attach dump file '/home/asbachb/.netbeans/18-rc3/var/log/AbstractModelControllerClient_8.dump'.
   ```
   [AbstractModelControllerClient_8.dump.txt](https://github.com/apache/netbeans/files/11470810/AbstractModelControllerClient_8.dump.txt)
   
   
   
   ### How to reproduce
   
   _No response_
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Archlinux
   
   ### JDK
   
   OpenJDK 64-Bit Server VM Temurin-17.0.7+7
   
   ### Apache NetBeans packaging
   
   Apache NetBeans binary zip
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


[GitHub] [netbeans] asbachb commented on issue #5949: An error occurred during parsing

Posted by "asbachb (via GitHub)" <gi...@apache.org>.
asbachb commented on issue #5949:
URL: https://github.com/apache/netbeans/issues/5949#issuecomment-1546770083

   Same behaviour on `NetBean 17`.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists


Re: [I] An error occurred during parsing [netbeans]

Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #5949:
URL: https://github.com/apache/netbeans/issues/5949#issuecomment-1817887030

   can't reproduce this with NB 20. 
   
   @asbachb Can you confirm that it is working as intended? It might got fixed via the regular nb-javac updates since NB 20 uses javac based on JDK 21.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists