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 207719 - IllegalStateException: Network call invoked in AWT
Summary: IllegalStateException: Network call invoked in AWT
Status: RESOLVED INVALID
Alias: None
Product: ide
Classification: Unclassified
Component: Extbrowser (show other bugs)
Version: 7.2
Hardware: All All
: P2 normal (vote)
Assignee: issues@ide
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 206311
  Show dependency tree
 
Reported: 2012-01-25 13:23 UTC by Petr Cyhelsky
Modified: 2012-04-16 14:05 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184745


Attachments
stacktrace (1.69 KB, text/plain)
2012-01-25 13:23 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-01-25 13:23:12 UTC
Build: NetBeans IDE Dev (Build 20120125-2ee091eab541)
VM: OpenJDK 64-Bit Server VM, 20.0-b11, OpenJDK Runtime Environment, 1.6.0_22-b22
OS: Linux

User Comments:
cyhelsky: Help|javadoc references|*




Stacktrace: 
java.lang.IllegalStateException: Network call invoked in AWT
   at org.netbeans.TopSecurityManager.checkConnect(TopSecurityManager.java:364)
   at java.net.InetAddress.getLocalHost(InetAddress.java:1401)
   at org.netbeans.modules.extbrowser.URLUtil.makeURLLocal(URLUtil.java:199)
   at org.netbeans.modules.extbrowser.URLUtil.getURLOfAppropriateType(URLUtil.java:193)
   at org.netbeans.modules.extbrowser.URLUtil.createExternalURL(URLUtil.java:104)
   at org.netbeans.modules.extbrowser.NbDefaultUnixBrowserImpl.setURL(NbDefaultUnixBrowserImpl.java:99)
Comment 1 Petr Cyhelsky 2012-01-25 13:23:16 UTC
Created attachment 115227 [details]
stacktrace
Comment 2 Marian Mirilovic 2012-04-16 13:04:16 UTC
Increasing priority to P2 - after discussion with performance team and based on the goal for NB 7.2 (performance improvements) especially for remote filesystems.
Comment 3 Petr Jiricka 2012-04-16 13:43:49 UTC
Analogous to bug 207823 - also marking as incomplete. Or possibly we could mark as duplicate and track it under the same bug.
Comment 4 Petr Cyhelsky 2012-04-16 14:05:36 UTC
i agree, getLocalHost() should always be fast..