Uploaded image for project: 'NetBeans'
  1. NetBeans
  2. NETBEANS-3763

Go To Type fails with Maven artifact source; similar commands like Go To Declaration also fail

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Critical
    • Resolution: Unresolved
    • 11.3
    • 11.3
    • NB-11.3beta1 running on jdk1,8, Win7, project running on jdk-13.0.2

    Description

      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

       

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

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            errael Ernie Rael
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated: