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 207736 - IllegalStateException: Network call invoked in AWT
Summary: IllegalStateException: Network call invoked in AWT
Status: VERIFIED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords: PERFORMANCE
: 208037 (view as bug list)
Depends on:
Blocks: 206311
  Show dependency tree
 
Reported: 2012-01-25 14:34 UTC by Petr Cyhelsky
Modified: 2012-06-09 15:03 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184753


Attachments
stacktrace (11.69 KB, text/plain)
2012-01-25 14:34 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 14:34:15 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

Stacktrace: 
java.lang.IllegalStateException: Network call invoked in AWT
   at org.netbeans.TopSecurityManager.checkConnect(TopSecurityManager.java:364)
   at java.net.InetAddress.getAllByName0(InetAddress.java:1189)
   at java.net.InetAddress.getAllByName(InetAddress.java:1128)
   at java.net.InetAddress.getAllByName(InetAddress.java:1064)
   at java.net.InetAddress.getByName(InetAddress.java:1014)
   at org.netbeans.modules.nativeexecution.api.util.HostInfoUtils.isLocalhost(HostInfoUtils.java:144)
Comment 1 Petr Cyhelsky 2012-01-25 14:34:21 UTC
Created attachment 115240 [details]
stacktrace
Comment 2 Vladimir Kvashin 2012-02-03 09:59:18 UTC
*** Bug 208037 has been marked as a duplicate of this bug. ***
Comment 3 Vladimir Kvashin 2012-02-03 10:01:20 UTC
In NetBeans 7.0.x this causes IDE hangup, see issue 208037
Comment 4 Vladimir Kvashin 2012-02-03 10:41:26 UTC
fixed in cnd-main
http://hg.netbeans.org/cnd-main/rev/a929f9a8af35
blacktie: rev/5b15f3628b48
Comment 5 Vladimir Kvashin 2012-02-03 11:06:17 UTC
Additional fix in trunk:
http://hg.netbeans.org/cnd-main/rev/9e94417c64aa
Comment 6 Alexander Pepin 2012-02-08 13:03:51 UTC
Can not reproduce in trunk.
Comment 7 Vladimir Kvashin 2012-02-08 20:15:08 UTC
Integrated into release71_fixes:
http://hg.netbeans.org/releases/rev/3711f633754b
Comment 8 Quality Engineering 2012-02-09 02:38:34 UTC
Integrated into 'releases', will be available in build *201202082200* or newer. Wait for official and publicly available build.
Changeset: http://hg.netbeans.org/releases/rev/3711f633754b
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #207736 - IllegalStateException: Network call invoked in AWT
(transplanted from a929f9a8af3533fcb540d6fffcad55bdf83f4ddc)
Comment 9 Petr Cyhelsky 2012-02-27 12:45:37 UTC
Alexander can you verify it in 7.1.1RC and set whiteboard to "71patch1-verified"?
Comment 10 Alexander Pepin 2012-02-27 13:32:11 UTC
The exception does not appear in IDE log while running tests on 7.1.1 rc1 build (20120214)
Comment 11 Alexander Pepin 2012-06-09 15:03:15 UTC
Verified with automatic tests in OSS IDE built on NB 7.0.1 patch3