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

Summary: IllegalStateException: Network call invoked in AWT
Product: debugger Reporter: Petr Cyhelsky <cyhelsky>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED WONTFIX    
Severity: normal Keywords: PERFORMANCE
Priority: P3    
Version: 7.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 184829
Bug Depends on:    
Bug Blocks: 206311    
Attachments: stacktrace

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