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

Can't start profiler

    XMLWordPrintableJSON

    Details

      Description

      I'm not able to start the NetBeans Profiler for Maven projects.

      Recreate:

      1. Create a new Maven Java Application using the IDE.
      2. Using the IDE add a new JFrame file (it contains a main method that simply opens the a new JFrame).
      3. Right-click the new project and select Profile.
      4. This opens a Profiler tab. Do the calibration, then press the Profile button at the top of the tab. A Progress popup appears thatgets stuck on the message "Connecting to the target VM...". The Output tab shows a message: "The syntax of the command is incorrect.".

      Error (in Output tab):

      cd C:\_Code\TEMP_CODE\mavenproject1; "JAVA_HOME=C:\\Program Files\\Java\\jdk-12" M2_HOME=C:\\_Code\\_TOOLS\\apache-maven-3.6.0 cmd /c "\"\"C:\\_Code\\_TOOLS\\apache-maven-3.6.0\\bin\\mvn.cmd\" -Dexec.args=\"-agentpath:\\\"C:/_Code/_TOOLS/netbeans 11.0/profiler/lib/deployed/jdk16/windows-amd64/profilerinterface.dll\\\"=\\\"C:\\_Code\\_TOOLS\\netbeans 11.0\\profiler\\lib\\\",5140,10 -XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath=C:\\Users\\Henry\\AppData\\Local\\NetBeans\\Cache\\11.0\\mavencachedirs\\645799279\\org-netbeans-modules-profiler -classpath %classpath com.mycompany.mavenproject1.NewJFrame\" -Dexec.executable=\"C:\\Program Files\\Java\\jdk-12\\bin\\java.exe\" -Dmaven.ext.class.path=\"C:\\_Code\\_TOOLS\\netbeans 11.0\\java\\maven-nblib\\netbeans-eventspy.jar\" -Dfile.encoding=UTF-8 process-classes org.codehaus.mojo:exec-maven-plugin:1.5.0:exec\""
      The syntax of the command is incorrect.
      

        Attachments

        1. image-2020-07-06-19-01-34-316.png
          5 kB
          Max Methot
        2. image-2021-07-21-02-56-43-096.png
          11 kB
          Moacir da Roza Flores
        3. image-2021-07-21-02-57-38-437.png
          11 kB
          Moacir da Roza Flores
        4. image-2021-07-21-02-58-15-148.png
          13 kB
          Moacir da Roza Flores
        5. image-2021-07-21-02-59-19-737.png
          26 kB
          Moacir da Roza Flores
        6. image-2021-07-21-02-59-42-180.png
          26 kB
          Moacir da Roza Flores
        7. image-2021-07-21-03-01-40-283.png
          51 kB
          Moacir da Roza Flores
        8. image-2021-07-21-03-02-51-206.png
          7 kB
          Moacir da Roza Flores
        9. image-2021-07-21-03-03-15-783.png
          7 kB
          Moacir da Roza Flores
        10. image-2021-07-21-03-04-15-005.png
          23 kB
          Moacir da Roza Flores
        11. image-2021-07-21-03-05-35-690.png
          15 kB
          Moacir da Roza Flores

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                henrydl HenryDL
              • Votes:
                4 Vote for this issue
                Watchers:
                8 Start watching this issue

                Dates

                • Created:
                  Updated:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 4h 10m
                  4h 10m