[jira] [Commented] (NETBEANS-3763) Go To Type fails with Maven artifact source; similar commands like Go To Declaration also fail

2020-02-11 Thread Ernie Rael (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17034559#comment-17034559
 ] 

Ernie Rael commented on NETBEANS-3763:
--

I don't know maven; had to look up "maven artefacts with classifier". 
Directions said mark issue with 11.3:11.3, so I did. Feel free to postpone.

Considering NETBEANS-3730, that fix is up to a 3rd party.

> 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, projects - Maven
>Affects Versions: 11.3
> Environment: NB-11.3beta1 running on jdk1,8, Win7, project running on 
> jdk-13.0.2
>Reporter: Ernie Rael
>Priority: Critical
> 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  
> (Ljava/lang/String;)V ]
>  INFO [org.netbeans.modules.java.classfile.CodeGenerator]: Cannot resolve 
> element: ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label 
>  (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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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



[jira] [Commented] (NETBEANS-3763) Go To Type fails with Maven artifact source; similar commands like Go To Declaration also fail

2020-02-11 Thread Eric Barboni (Jira)


[ 
https://issues.apache.org/jira/browse/NETBEANS-3763?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17034474#comment-17034474
 ] 

Eric Barboni commented on NETBEANS-3763:


Hi [~errael] it seems related to maven artefacts with classifier. 
Can we postpone until the javafx NETBEANS-3730 is fixed ? Or maybe a more 
simple maven sample. Hacking run and so one is not very obvious.

> 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, projects - Maven
>Affects Versions: 11.3
> Environment: NB-11.3beta1 running on jdk1,8, Win7, project running on 
> jdk-13.0.2
>Reporter: Ernie Rael
>Priority: Critical
> 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  
> (Ljava/lang/String;)V ]
>  INFO [org.netbeans.modules.java.classfile.CodeGenerator]: Cannot resolve 
> element: ElementHandle[kind=CONSTRUCTOR; sigs=javafx.scene.control.Label 
>  (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: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

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