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 207822 - IllegalStateException: Network call invoked in AWT
Summary: IllegalStateException: Network call invoked in AWT
Status: RESOLVED WONTFIX
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords: PERFORMANCE
Depends on:
Blocks: 206311
  Show dependency tree
 
Reported: 2012-01-27 10:40 UTC by Petr Cyhelsky
Modified: 2012-02-02 10:33 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 184829


Attachments
stacktrace (4.48 KB, text/plain)
2012-01-27 10:40 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-27 10:40:29 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: attach debugger




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 com.sun.tools.jdi.SocketAttachingConnector.<init>(SocketAttachingConnector.java:49)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance0(NativeConstructorAccessorImpl.java:0)
   at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
   at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
Comment 1 Petr Cyhelsky 2012-01-27 10:40:38 UTC
Created attachment 115303 [details]
stacktrace
Comment 2 Martin Entlicher 2012-02-02 10:24:14 UTC
The call to InetAddress.getLocalHost() is not a network call.
Comment 3 Petr Cyhelsky 2012-02-02 10:33:15 UTC
Ok, in the future check for localhost will be added to the patch