[jira] [Updated] (NETBEANS-2443) Can't start profiler
[ https://issues.apache.org/jira/browse/NETBEANS-2443?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] HenryDL updated NETBEANS-2443: -- Description: I'm not able to start the NetBeans Profiler for Maven projects. *Recreate:* # Create a new Maven Java Application using the IDE. # Using the IDE add a new JFrame file (it contains a main method that simply opens the a new JFrame). # Right-click the new project and select _Profile_. # 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):* {noformat} 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. {noformat} was: *Recreate:* # Create a new Maven Java Application using the IDE. # Using the IDE add a new JFrame file (it contains a main method that simply opens the a new JFrame). # Right-click the new project and select _Profile_. # 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):* {noformat} 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. {noformat} > Can't start profiler > > > Key: NETBEANS-2443 > URL: https://issues.apache.org/jira/browse/NETBEANS-2443 > Project: NetBeans > Issue Type: Bug > Components: profiler - Attach, profiler - Base, profiler - Engine, > profiler - IDE >Affects Versions: 11.0 > Environment: Windows 10 > NetBeans 11 using Java 12 (tried with 8 also) >Reporter: HenryDL >Priority: Major > > I'm not able to start the NetBeans Profiler for Maven projects. > *Recreate:* > # Create a new Maven Java Application using the IDE. > # Using the IDE add a new JFrame file (it contains a main method that simply > opens the a new JFrame). > # Right-click the new project and select _Profile_. > # 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):* > {noformat} > 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
[jira] [Created] (NETBEANS-2443) Can't start profiler
HenryDL created NETBEANS-2443: - Summary: Can't start profiler Key: NETBEANS-2443 URL: https://issues.apache.org/jira/browse/NETBEANS-2443 Project: NetBeans Issue Type: Bug Components: profiler - Attach, profiler - Base, profiler - Engine, profiler - IDE Affects Versions: 11.0 Environment: Windows 10 NetBeans 11 using Java 12 (tried with 8 also) Reporter: HenryDL *Recreate:* # Create a new Maven Java Application using the IDE. # Using the IDE add a new JFrame file (it contains a main method that simply opens the a new JFrame). # Right-click the new project and select _Profile_. # 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):* {noformat} 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. {noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Created] (NETBEANS-1852) Error popup while editing Java file
HenryDL created NETBEANS-1852: - Summary: Error popup while editing Java file Key: NETBEANS-1852 URL: https://issues.apache.org/jira/browse/NETBEANS-1852 Project: NetBeans Issue Type: Bug Affects Versions: 10.0 Reporter: HenryDL Attachments: ide_log.txt, ui_log.txt I was busy editing Java files. I added a new parameter to a method that is used in another class. This error happened when I wanted to fix the compile error (due to the missing parameter) in the second class - I was also making changes to the whitespace. {noformat} SEVERE [org.openide.util.Exceptions] javax.swing.text.BadLocationException: Invalid offset=-1 < 0; docLen=4927 at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetNonNegative(EditorDocumentContent.java:246) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetInContent(EditorDocumentContent.java:259) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createPosition(EditorDocumentContent.java:173) at java.desktop/javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:838) at org.netbeans.modules.editor.java.JavaBracesMatcher$1.run(JavaBracesMatcher.java:319) at org.netbeans.modules.editor.java.JavaBracesMatcher$1.run(JavaBracesMatcher.java:256) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:501) at org.netbeans.modules.parsing.impl.TaskProcessor.callUserTask(TaskProcessor.java:586) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:130) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:114) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:181) at org.netbeans.modules.parsing.impl.TaskProcessor$2.call(TaskProcessor.java:178) at org.netbeans.modules.masterfs.filebasedfs.utils.FileChangedManager.priorityIO(FileChangedManager.java:153) at org.netbeans.modules.masterfs.providers.ProvidedExtensions.priorityIO(ProvidedExtensions.java:335) at org.netbeans.modules.parsing.nb.DataObjectEnvFactory.runPriorityIO(DataObjectEnvFactory.java:118) at org.netbeans.modules.parsing.impl.Utilities.runPriorityIO(Utilities.java:67) at org.netbeans.modules.parsing.impl.TaskProcessor.runUserTask(TaskProcessor.java:178) at org.netbeans.modules.parsing.api.ParserManager.parse(ParserManager.java:81) at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:451) Caused: java.io.IOException at org.netbeans.api.java.source.JavaSource.runUserActionTaskImpl(JavaSource.java:463) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:422) at org.netbeans.modules.editor.java.JavaBracesMatcher.findContextBackwards(JavaBracesMatcher.java:256) [catch] at org.netbeans.modules.editor.java.JavaBracesMatcher.findContext(JavaBracesMatcher.java:236) at org.netbeans.modules.editor.bracesmatching.BraceMatchingSidebarComponent.matchHighlighted(BraceMatchingSidebarComponent.java:421) at org.netbeans.modules.editor.bracesmatching.MasterMatcher.fireMatchesHighlighted(MasterMatcher.java:349) at org.netbeans.modules.editor.bracesmatching.MasterMatcher.access$300(MasterMatcher.java:60) at org.netbeans.modules.editor.bracesmatching.MasterMatcher$Firer.run(MasterMatcher.java:555) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1418) at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45) at org.openide.util.lookup.Lookups.executeWith(Lookups.java:278) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033){noformat} -- This message was sent by Atlassian JIRA (v7.6.3#76005) - 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] [Created] (NETBEANS-1812) Problem after updating nb-javac
HenryDL created NETBEANS-1812: - Summary: Problem after updating nb-javac Key: NETBEANS-1812 URL: https://issues.apache.org/jira/browse/NETBEANS-1812 Project: NetBeans Issue Type: Bug Affects Versions: 10.0 Environment: Windows 10 Reporter: HenryDL On NetBeans 10 vc 5 I was asked by the IDE notification to update the nb-javac plugin. I agreed to proceed, but directly afterwards the notifications area showed this new problem: {noformat} --- >Log Session: Saturday, December 22, 2018 at 6:37:30 AM Central Africa Time >System Info: Product Version = Apache NetBeans IDE 10.0 (Build incubator-netbeans-release-380-on-20181217) Operating System = Windows 10 version 10.0 running on amd64 Java; VM; Vendor = 11.0.1; Java HotSpot(TM) 64-Bit Server VM 11.0.1+13-LTS; Oracle Corporation Runtime = Java(TM) SE Runtime Environment 11.0.1+13-LTS Java Home = C:\Program Files\Java\jdk-11.0.1 System Locale; Encoding = en_ZA (nb); Cp1252 Home Directory = C:\Users\Henry Current Directory = C:\_Code\_TOOLS\netbeans 10vc5\bin User Directory = C:\Users\Henry\AppData\Roaming\NetBeans\10.0 Cache Directory = C:\Users\Henry\AppData\Local\NetBeans\Cache\10.0 Installation = C:\_Code\_TOOLS\netbeans 10vc5\nb C:\_Code\_TOOLS\netbeans 10vc5\ergonomics C:\_Code\_TOOLS\netbeans 10vc5\ide C:\_Code\_TOOLS\netbeans 10vc5\extide C:\_Code\_TOOLS\netbeans 10vc5\java C:\_Code\_TOOLS\netbeans 10vc5\apisupport C:\_Code\_TOOLS\netbeans 10vc5\webcommon C:\_Code\_TOOLS\netbeans 10vc5\websvccommon C:\_Code\_TOOLS\netbeans 10vc5\profiler C:\_Code\_TOOLS\netbeans 10vc5\php C:\_Code\_TOOLS\netbeans 10vc5\harness C:\_Code\_TOOLS\netbeans 10vc5\groovy C:\_Code\_TOOLS\netbeans 10vc5\javafx C:\_Code\_TOOLS\netbeans 10vc5\platform Boot & Ext. Classpath = Application Classpath = C:\_Code\_TOOLS\netbeans 10vc5\platform\lib\boot.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\lib\org-openide-modules.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\lib\org-openide-util-lookup.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\lib\org-openide-util-ui.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\lib\org-openide-util.jar Startup Classpath = C:\_Code\_TOOLS\netbeans 10vc5\platform\core\asm-all-5.0.1.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\core\core-base.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\core\core.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\core\org-netbeans-libs-asm.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\core\org-openide-filesystems-compat8.jar;C:\_Code\_TOOLS\netbeans 10vc5\platform\core\org-openide-filesystems.jar;C:\_Code\_TOOLS\netbeans 10vc5\nb\core\org-netbeans-upgrader.jar;C:\_Code\_TOOLS\netbeans 10vc5\nb\core\locale\core_nb.jar --- INFO [org.netbeans.modules.netbinox]: Install area set to file:/C:/_Code/_TOOLS/netbeans 10vc5/ WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.editor.lib, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.deprecated.pre65formatting which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.ide.kit, org.netbeans.modules.xml.text] use org.netbeans.modules.editor.structure which is deprecated. WARNING [org.netbeans.core.modules]: the modules [org.netbeans.modules.java.hints, org.netbeans.modules.jshell.support, org.netbeans.modules.maven.hints] use org.netbeans.modules.java.hints.legacy.spi which is deprecated: Use Java Hints SPI (org.netbeans.spi.java.hints) instead. WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.modules.j2ee.eclipselink/modules/ext/docs/javax.persistence-2.1.0-doc.zip WARNING [null]: Last record repeated again. WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.libs.jaxb/modules/ext/jaxb/jaxb-impl.jar WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.libs.jaxb/modules/ext/jaxb/jaxb-xjc.jar WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.modules.xml.jaxb.api/modules/ext/jaxb/api/jsr173_1.0_api.jar WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.libs.jaxb/modules/ext/jaxb/jaxb-impl.jar WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.libs.jaxb/modules/ext/jaxb/jaxb-xjc.jar WARNING [org.netbeans.modules.java.j2seplatform.libraries.J2SELibraryTypeProvider]: Can not resolve URL: nbinst://org.netbeans.modules.xml.jaxb.api/modules/ext/jaxb/api/jsr173_1.0_api.jar WARNING