Ernie Rael created NETBEANS-3763:
------------------------------------

             Summary: Go To Type fails with Maven artifact source; similar 
commands like Go To Declaration also fail
                 Key: NETBEANS-3763
                 URL: https://issues.apache.org/jira/browse/NETBEANS-3763
             Project: NetBeans
          Issue Type: Bug
          Components: java - Source
    Affects Versions: 11.3
         Environment: NB-11.3beta1 running on jdk1,8, Win7, project running on 
jdk-13.0.2
            Reporter: Ernie Rael
             Fix For: 11.3


{{Starting with JavaFXMavenArchetype from Gluon and some fixup (see 
NETBEANS-3730 attachemnts), in the projecs window I expanded 
SimpleProj>Dependencies, selected all the jars, did "Download Sources" action.}}

{{I can debug step into javafx sources, but stuff like "Go To Type" fail. I see 
the message }}{{"_Can not open ... (missing source?)_" }} a lot. I 

The log has stuff like

 
{quote}INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null 
for kind = CONSTRUCTOR
 INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label <init> 
(Ljava/lang/String;)V ]
 INFO [org.netbeans.modules.java.classfile.CodeGenerator]: Cannot resolve 
element: ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label <init> 
(Ljava/lang/String;)V ] on classpath: 
nbjrt:[file:/F:/j/jdk/jdk-13.0.2/!/modules/java.base/;C:\f\j\maven_repository\org\openjfx\javafx-controls\13\javafx-controls-13-win.jar;C:\f\j\maven_repository\org\openjfx\javafx-graphics\13\javafx-graphics-13-win.jar;C:\f\j\maven_repository\org\openjfx\javafx-base\13\javafx-base-13-win.jar;F:\j\nb-stuff\NetBeansProjects\simple-maven-proto\src\main\java;F:\j\nb-stuff\NetBeansProjects\simple-maven-proto\src\main\resources|file:///F:/j/jdk/jdk-13.0.2/!/modules/java.base/;C:fjmaven_repositoryorgopenjfxjavafx-controls13javafx-controls-13-win.jar;C:fjmaven_repositoryorgopenjfxjavafx-graphics13javafx-graphics-13-win.jar;C:fjmaven_repositoryorgopenjfxjavafx-base13javafx-base-13-win.jar;F:jnb-stuffNetBeansProjectssimple-maven-protosrcmainjava;F:jnb-stuffNetBeansProjectssimple-maven-protosrcmainresources]
 INFO [org.netbeans.api.java.source.ElementHandle]: Resolved type is null for 
kind = METHOD
 INFO [org.netbeans.api.java.source.ElementHandle]: Cannot resolve: 
ElementHandle[kind=METHOD; sigs=javafx.stage.Stage setScene 
(Ljavafx/scene/Scene;)V ]
{quote}
 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

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

Reply via email to