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 270215 - org.netbeans.modules.nativeexecution.api.util.SlowListenerDetector$SlowListenerException: Too much time spent in ConnectionListener.connected: 561 ms
Summary: org.netbeans.modules.nativeexecution.api.util.SlowListenerDetector$SlowListen...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Remote (show other bugs)
Version: 8.2
Hardware: All All
: P3 normal (vote)
Assignee: Vladimir Kvashin
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-03-27 12:52 UTC by Alexander Simon
Modified: 2017-04-13 10:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 228568


Attachments
stacktrace (2.18 KB, text/plain)
2017-03-27 12:52 UTC, Alexander Simon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simon 2017-03-27 12:52:26 UTC
Build: NetBeans IDE 8.2 (Build 20170327-d79b0b171310)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.121-b13, Java(TM) SE Runtime Environment, 1.8.0_121-b13
OS: SunOS

User Comments:
alexvsimon: connect to local host as remote




Stacktrace: 
org.netbeans.modules.nativeexecution.api.util.SlowListenerDetector$SlowListenerException: Too much time spent in ConnectionListener.connected: 561 ms
   at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:445)
   at java.lang.StringBuilder.append(StringBuilder.java:136)
   at java.lang.SecurityManager.checkPackageAccess(SecurityManager.java:1563)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:311)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
   at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:172)
Comment 1 Alexander Simon 2017-03-27 12:52:27 UTC
Created attachment 163955 [details]
stacktrace
Comment 2 Vladimir Kvashin 2017-03-27 16:26:29 UTC
Should be fixed via adding a check whether we are in debug mode:
c51ceb6bd35f on enum

It still can occur if the IDE is totally very slow (as it was today on Alexander's machine). I decided not to increase the timeout however - otherwise we can fail to detect the wrong behaviour.
Comment 3 Quality Engineering 2017-04-02 02:36:08 UTC
Integrated into 'main-silver', will be available in build *201704020002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/30e93b4e5c9a
User: Vladimir Kvashin <vkvashin@netbeans.org>
Log: fixed #270215 - org.netbeans.modules.nativeexecution.api.util.SlowListenerDetector$SlowListenerException: Too much time spent in ConnectionListener.connected
(transplanted from c51ceb6bd35f5fcfd9f0918c41a566f1e0c8cae3)
Comment 4 ilia 2017-04-13 10:43:56 UTC
https://netbeans.org/bugzilla/show_bug.cgi?id=270215 Changesets:
    http://hg.netbeans.org/releases/rev/c51ceb6bd35f # fixed #270215 - org.netbeans.modules.nativeexecution.api.util.SlowListenerDetector$SlowListenerException: Too much time spent in ConnectionListener.connected