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.
Build: NetBeans IDE Dev (Build 201008100001) VM: Java HotSpot(TM) 64-Bit Server VM, 16.3-b01-279, Java(TM) SE Runtime Environment, 1.6.0_20-b02-279-9M3165 OS: Mac OS X User Comments: juhrik: Installed JIRA from UC. Then got this AssertionError when clicked on some "Issues" node child in Team dashboard (the project has JIRA repository) Stacktrace: java.lang.AssertionError: Accessing remote host. Do not call in awt at org.netbeans.modules.jira.repository.JiraConfiguration.ensureProjectLoaded(JiraConfiguration.java:234) at org.netbeans.modules.jira.repository.JiraConfiguration.ensureProjectLoaded(JiraConfiguration.java:227) at org.netbeans.modules.jira.repository.JiraConfiguration.getIssueTypes(JiraConfiguration.java:120) at org.netbeans.modules.jira.issue.IssuePanel$36$1.run(IssuePanel.java:1883) at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209) at java.awt.EventQueue.dispatchEvent(EventQueue.java:633)
Created attachment 101296 [details] stacktrace
Created attachment 101300 [details] stacktrace Installed JIRA from UC. Then expanded Issues node and pushed New issue... Then the AssertionErrror appeared. BTW: In the Report a New Issue panel there appears "Dummy" item in the Component/s, Affects Version/s, Fix Version/s lists as the only item. Issue Type combo is empty and the Priority combo has not any value preselected.
And then i get following exception when I push "Submit Issue" button: java.lang.ClassCastException: java.lang.String cannot be cast to com.atlassian.connector.eclipse.internal.jira.core.model.Component at org.netbeans.modules.jira.issue.IssuePanel.storeFieldValue(IssuePanel.java:860) at org.netbeans.modules.jira.issue.IssuePanel.submitButtonActionPerformed(IssuePanel.java:1975) at org.netbeans.modules.jira.issue.IssuePanel.access$100(IssuePanel.java:157) at org.netbeans.modules.jira.issue.IssuePanel$23.actionPerformed(IssuePanel.java:1438) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2028) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2351) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236) at java.awt.Component.processMouseEvent(Component.java:6348) at javax.swing.JComponent.processMouseEvent(JComponent.java:3267) at java.awt.Component.processEvent(Component.java:6113) at java.awt.Container.processEvent(Container.java:2085) at java.awt.Component.dispatchEventImpl(Component.java:4714) at java.awt.Container.dispatchEventImpl(Container.java:2143) at java.awt.Component.dispatchEvent(Component.java:4544) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4282) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212) at java.awt.Container.dispatchEventImpl(Container.java:2129) at java.awt.Window.dispatchEventImpl(Window.java:2478) at java.awt.Component.dispatchEvent(Component.java:4544) [catch] at java.awt.EventQueue.dispatchEvent(EventQueue.java:635) at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:137) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188) at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Steps to reproduce: -start IDE with clear userdir -Log in to Kenai.com -select a project with JIRA repository -expand the Issues node and push N/A which is in brackets next to All Issues or My Issues -Proceed with installation and finish it by Restart IDE Now -click on New Issue... node
I ma rising the priority since it is not possible to file JIRA issue until the IDE is restarted explicitly.
http://hg.netbeans.org/cdev/rev/c833d01fbd66 fixed
http://hg.netbeans.org/cdev/rev/09fb0a78d691 fixed