This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Product Version = NetBeans IDE 8.0 (Build 201403101706) Operating System = Windows 8 version 6.2 running on amd64 Java; VM; Vendor = 1.7.0_40 Runtime = Java HotSpot(TM) 64-Bit Server VM 24.0-b56 After pushing a commit to remote, there is popup that says: Unexpected error: For input string: "leave" It only happens when I update a (JIRA) task with my commit.
Could you please attach messages.log and reopen ? Thanks in advance.
Created attachment 147713 [details] Messages.log
I get the same thing - but only when the JIRA Connector Type is set to "5.0+". Switch back to "3.13+" and the problem goes away. Messages.log attached.
i would expect some trace related to the error in the msg.log please reproduce the problem and attach than the messages.log to the issue (or is the already attached messages.log from a netbeans session where the reported problem occurred?) thanks
By an extraordinary coincidence I have just this morning uninstalled Jira so I am now unable to reproduce the issue. I feel confident - however - that the messages.log I posted IS from a session that exhibited the problem. I hope you find the issue easy to reproduce.
I have the exact same error with posting Jira task with a commit - updates using netbeans for anything that isn't a task commit is fine (including if the defect is a bug.
Created attachment 148970 [details] Output from messages.log Could only find messages.log in ~/Library/Application Support/NetBeans/8.0/var/log on the Mac.
Key bit of text appears to be WARNING [org.netbeans.ProxyClassLoader]: Will not load class com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient arbitrarily from one of NetbinoxLoader delegating to com.atlassian.connector.eclipse.jira.core_3.0.8.v20130328 and Netigso[reference:file:extra/modules/com-atlassian-connector-eclipse-jira-core-rest.jar] starting from SystemClassLoader[493 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE WARNING [org.netbeans.ProxyClassLoader]: Will not load class com.atlassian.connector.eclipse.internal.jira.core.JiraTaskDataHandler arbitrarily from one of NetbinoxLoader delegating to com.atlassian.connector.eclipse.jira.core_3.0.8.v20130328 and Netigso[reference:file:extra/modules/com-atlassian-connector-eclipse-jira-core-rest.jar] starting from SystemClassLoader[493 modules]; see http://wiki.netbeans.org/DevFaqModuleCCE INFO [org.netbeans.modules.mylyn.util.commands.SubmitTaskCommand]: Command failed with status: Status ERROR: org.eclipse.mylyn.tasks.core code=0 Unexpected error: For input string: "leave" java.lang.NumberFormatException: For input string: "leave" INFO [org.netbeans.modules.jira.Jira] org.eclipse.core.runtime.CoreException: Unexpected error: For input string: "leave" at org.netbeans.modules.mylyn.util.commands.SubmitTaskCommand.execute(SubmitTaskCommand.java:128) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:123) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:102) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:98) at org.netbeans.modules.jira.commands.JiraExecutor.execute(JiraExecutor.java:94) at org.netbeans.modules.jira.issue.NbJiraIssue$14.run(NbJiraIssue.java:1780) at org.netbeans.modules.mylyn.util.AbstractNbTaskWrapper.runWithModelLoaded(AbstractNbTaskWrapper.java:327) at org.netbeans.modules.jira.issue.NbJiraIssue.submitAndRefresh(NbJiraIssue.java:1746) at org.netbeans.modules.jira.issue.IssuePanel$35.run(IssuePanel.java:2564) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1423) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2033) Caused by: java.lang.NumberFormatException: For input string: "leave" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:580) at java.lang.Integer.parseInt(Integer.java:615) at com.atlassian.connector.eclipse.internal.jira.core.service.rest.JiraRestClientAdapter.transitionIssue(JiraRestClientAdapter.java:469) at com.atlassian.connector.eclipse.internal.jira.core.service.JiraClient.advanceIssueWorkflow(JiraClient.java:208) at com.atlassian.connector.eclipse.internal.jira.core.JiraTaskDataHandler.postTaskData(JiraTaskDataHandler.java:1202) at org.eclipse.mylyn.internal.tasks.core.sync.SubmitTaskJob.run(SubmitTaskJob.java:100) at org.netbeans.modules.mylyn.util.commands.SubmitTaskCommand$MylynSubmitTaskJob.startJob(SubmitTaskCommand.java:183) at org.netbeans.modules.mylyn.util.commands.SubmitTaskCommand.execute(SubmitTaskCommand.java:119) ... 10 more
If I change the connection from Jira 5.0 to 3.x then the update works, but Netbeans then keeps throwing up an error about the connection being the wrong type. So as a workaround I'll keep the Jira connection at the wrong version, but there is a genuine bug with the 5.0 connection.