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.

Bug 189372 - AssertionError: Accessing remote host. Do not call in awt
Summary: AssertionError: Accessing remote host. Do not call in awt
Status: RESOLVED FIXED
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Jira (show other bugs)
Version: 6.x
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Stupka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-08-11 06:46 UTC by Jaromir Uhrik
Modified: 2010-10-05 10:10 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 171871


Attachments
stacktrace (1.14 KB, text/plain)
2010-08-11 06:46 UTC, Jaromir Uhrik
Details
stacktrace (1.14 KB, text/plain)
2010-08-11 07:23 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2010-08-11 06:46:34 UTC
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)
Comment 1 Jaromir Uhrik 2010-08-11 06:46:38 UTC
Created attachment 101296 [details]
stacktrace
Comment 2 Jaromir Uhrik 2010-08-11 07:23:12 UTC
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.
Comment 3 Jaromir Uhrik 2010-08-11 07:25:36 UTC
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)
Comment 4 Jaromir Uhrik 2010-08-11 07:48:22 UTC
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
Comment 5 Jaromir Uhrik 2010-08-18 13:18:32 UTC
I ma rising the priority since it is not possible to file JIRA issue until the IDE is restarted explicitly.
Comment 6 Tomas Stupka 2010-10-05 10:10:06 UTC
http://hg.netbeans.org/cdev/rev/c833d01fbd66
fixed
Comment 7 Tomas Stupka 2010-10-05 10:10:12 UTC
http://hg.netbeans.org/cdev/rev/09fb0a78d691
fixed