You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2023/01/09 16:03:57 UTC

[GitHub] [netbeans] makiam opened a new issue, #5256: Ctrl-click on java method does nothing and gives NPE in IDE log

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

   ### Apache NetBeans version
   
   Apache NetBeans 16
   
   ### What happened
   
   Ctrl-click on java method does nothing and gives NPE in IDE log.
   Also Go-To Source is not working too.
   The NPE is: 
   java.lang.NullPointerException: Cannot invoke "String.equals(Object)" because "this.name" is null
   	at org.netbeans.api.java.source.SourceUtils$Match.apply(SourceUtils.java:686)
   	at org.netbeans.api.java.source.SourceUtils.findMatchingChild(SourceUtils.java:631)
   	at org.netbeans.api.java.source.SourceUtils.findSourceForBinary(SourceUtils.java:614)
   	at org.netbeans.api.java.source.SourceUtils.getFile(SourceUtils.java:582)
   	at org.netbeans.api.java.source.ui.ElementOpen.getOpenInfo(ElementOpen.java:444)
   	at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:125)
   	at org.netbeans.api.java.source.ui.ElementOpen.open(ElementOpen.java:120)
   	at org.netbeans.modules.editor.java.GoToSupport$7.open(GoToSupport.java:1263)
   	at org.netbeans.modules.editor.java.GoToSupport.performGoToImpl(GoToSupport.java:285)
   	at org.netbeans.modules.editor.java.GoToSupport.access$100(GoToSupport.java:125)
   	at org.netbeans.modules.editor.java.GoToSupport$3.run(GoToSupport.java:224)
   	at org.netbeans.modules.progress.ui.RunOffEDTImpl$1.run(RunOffEDTImpl.java:146)
   	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418)
   	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
   	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278)
   	at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033)
   
   ### How to reproduce
   
   I reproduce this with my Gradle project.
   
   ### Did this work correctly in an earlier version?
   
   No / Don't know
   
   ### Operating System
   
   Windows 10
   
   ### JDK
   
   Java: 18.0.2; Java HotSpot(TM) 64-Bit Server VM 18.0.2+9-61
   
   ### Apache NetBeans packaging
   
   Own source build
   
   ### Anything else
   
   _No response_
   
   ### Are you willing to submit a pull request?
   
   No
   
   ### Code of Conduct
   
   Yes


-- 
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] ratcashdev commented on issue #5256: Ctrl-click on java method does nothing and gives NPE in IDE log

Posted by GitBox <gi...@apache.org>.
ratcashdev commented on issue #5256:
URL: https://github.com/apache/netbeans/issues/5256#issuecomment-1382734114

   Having the same issue without using lombok with the latest nightly.


-- 
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


[GitHub] [netbeans] makiam commented on issue #5256: Ctrl-click on java method does nothing and gives NPE in IDE log

Posted by GitBox <gi...@apache.org>.
makiam commented on issue #5256:
URL: https://github.com/apache/netbeans/issues/5256#issuecomment-1377567588

   I found that method I try to Go-To is a lombok generated getter method so the actual method body is not exist in code. So this may be not an issue but may he handled somehow. And NPE is may be handled too


-- 
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