You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@netbeans.apache.org by "Ernie Rael (Jira)" <ji...@apache.org> on 2020/02/11 16:01:00 UTC

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

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

Ernie Rael edited comment on NETBEANS-3763 at 2/11/20 4:00 PM:
---------------------------------------------------------------

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. I suspect someone knowledgeable could simply say "go there, do this", I wouldn't mind implementing a fix with some expert direction. I'll see about a simple example...

Considering NETBEANS-3730, that fix is up to a 3rd party. NETBEANS-3104 isn't enough to fix the problem.


was (Author: errael):
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 <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: commits-unsubscribe@netbeans.apache.org
For additional commands, e-mail: commits-help@netbeans.apache.org

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