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 249135 - java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
Summary: java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is termin...
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: WildFly (show other bugs)
Version: 8.0
Hardware: PC Windows 7
: P1 normal with 7 votes (vote)
Assignee: Petr Hejl
URL:
Keywords:
: 251034 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-12-05 07:58 UTC by myfear
Modified: 2015-04-17 00:32 UTC (History)
35 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 213762


Attachments
stacktrace (572 bytes, text/plain)
2014-12-05 07:58 UTC, myfear
Details
stacktrace (572 bytes, text/plain)
2015-01-24 04:48 UTC, MackSix
Details
stacktrace (572 bytes, text/plain)
2015-01-24 04:51 UTC, MackSix
Details
stacktrace (572 bytes, text/plain)
2015-03-13 17:35 UTC, wjdhamilton
Details
stacktrace (572 bytes, text/plain)
2015-03-13 17:41 UTC, wjdhamilton
Details
stacktrace (572 bytes, text/plain)
2015-03-13 17:44 UTC, wjdhamilton
Details
log file (56.59 KB, text/plain)
2015-03-13 20:58 UTC, MackSix
Details
stacktrace (572 bytes, text/plain)
2015-03-16 21:48 UTC, ent38
Details
stacktrace (572 bytes, text/plain)
2015-03-16 21:54 UTC, ent38
Details

Note You need to log in before you can comment on or make changes to this bug.
Description myfear 2014-12-05 07:58:35 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.20-b23, Java(TM) SE Runtime Environment, 1.8.0_20-b26
OS: Windows 7

User Comments:
GUEST: Starting up netbeans

GUEST: .

GUEST: Proflem WildFly server.

GUEST: .

GUEST: .

GUEST: Creating a maven project, adding dependencies to pom.xml and perform clean and build

GUEST: Al usar Widlfly 8.2.0

GUEST: El servidor WildFly 8.2.0 final no cierra correctamente.

GUEST: I dont know

GUEST: Not sure. Noticed the notification on the taskbar

GUEST: problem

GUEST: reporting previous error with stopping wildfly 8.2.0

GUEST: change code and save

GUEST: start wildfly 8.2.0 in debug mode

GUEST: .

GUEST: Wildfly 8.2.0 problem

GUEST: stopping WildFly 8.2.0 final

GUEST: .

GUEST: added wildlfy to servers

GUEST: windows firewall has popped up on start of new instance of wildfly

GUEST: <???????????????>WildFly8.0.1.Final Deplay

GUEST: Add wildfly 8.2 on windows 8.1

GUEST: .

myfear: Just started wildfly.

miibx5: Starting Apache TomEE 1.7.1 and Wildfly 8.2 Final

GUEST: start wildfly 8.2.0 final

GUEST: Starting wildfly

GUEST: stop wildfly 8.2.0

GUEST: Starting WildFly app server




Stacktrace: 
java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating
   at org.xnio.nio.WorkerThread.execute(WorkerThread.java:568)
   at org.xnio.AbstractIoFuture.runNotifier(AbstractIoFuture.java:354)
   at org.xnio.AbstractIoFuture.runAllNotifiers(AbstractIoFuture.java:233)
   at org.xnio.AbstractIoFuture.setCancelled(AbstractIoFuture.java:291)
   at org.xnio.FutureResult.setCancelled(FutureResult.java:98)
   at org.xnio.nio.WorkerThread$ConnectHandle.forceTermination(WorkerThread.java:339)
Comment 1 myfear 2014-12-05 07:58:37 UTC
Created attachment 150904 [details]
stacktrace
Comment 2 MackSix 2015-01-24 04:48:50 UTC
Created attachment 151663 [details]
stacktrace

Adding WildFly Server 8.2.0 Final.
Comment 3 MackSix 2015-01-24 04:51:50 UTC
Created attachment 151664 [details]
stacktrace

Starting WildFly 8.2.0 Final.
Comment 4 Exceptions Reporter 2015-01-26 13:30:51 UTC
This bug already has 150 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=213762
Comment 5 Exceptions Reporter 2015-03-09 14:08:04 UTC
This bug already has 250 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=213762
Comment 6 Petr Hejl 2015-03-12 10:06:36 UTC
No luck reproducing this so far.
Comment 7 wjdhamilton 2015-03-13 17:35:39 UTC
Created attachment 152609 [details]
stacktrace

I was recovering the historical content of the Budget file using the history view in the editor. I had just clicked on the arrow to move the old content into the current content. At the same time, I think Netbeans may have been finishing installing Wldfly
Comment 8 wjdhamilton 2015-03-13 17:41:39 UTC
Created attachment 152610 [details]
stacktrace

Deploying a war to Wildfly 8.20. It is a fresh install, and the IDE has not been restarted.
Comment 9 wjdhamilton 2015-03-13 17:44:39 UTC
Created attachment 152612 [details]
stacktrace

Trying to shut down wildfly server. This is a fresh installation, the IDE has not been restarted.
Comment 10 Petr Hejl 2015-03-13 17:45:49 UTC
(In reply to wjdhamilton from comment #9)
> Created attachment 152612 [details]
> stacktrace
> 
> Trying to shut down wildfly server. This is a fresh installation, the IDE
> has not been restarted.

Is it dev build of the IDE or 8.0? Can you try that with dev build?
Comment 11 MackSix 2015-03-13 20:56:33 UTC
(In reply to Petr Hejl from comment #10)
> (In reply to wjdhamilton from comment #9)
> > Created attachment 152612 [details]
> > stacktrace
> > 
> > Trying to shut down wildfly server. This is a fresh installation, the IDE
> > has not been restarted.
> 
> Is it dev build of the IDE or 8.0? Can you try that with dev build?

I just installed the newest dev build, opened the services tab and added Wildfly 8.2.0 and I got this exception just adding it.

It started OK, but when I stopped it, the exception was thrown again 2 times.

See attached log file. 


Product Version: NetBeans IDE Dev (Build 1)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 12 MackSix 2015-03-13 20:58:03 UTC
Created attachment 152615 [details]
log file

Product Version: NetBeans IDE Dev (Build 1)
Java: 1.8.0_40; Java HotSpot(TM) 64-Bit Server VM 25.40-b25
Runtime: Java(TM) SE Runtime Environment 1.8.0_40-b25
System: Windows 7 version 6.1 running on amd64; Cp1252; en_US (nb)
Comment 13 ent38 2015-03-16 21:48:31 UTC
Created attachment 152663 [details]
stacktrace

just registered a fresh wildfly-8.2.0.Final
Comment 14 ent38 2015-03-16 21:54:28 UTC
Created attachment 152664 [details]
stacktrace

just stopped wildfly-8.2.0.Final (fresh install)
Comment 15 Petr Hejl 2015-03-17 09:35:19 UTC
*** Bug 251034 has been marked as a duplicate of this bug. ***
Comment 16 Petr Hejl 2015-04-02 12:37:39 UTC
For some reason this is reproducible only on Windows.
Comment 17 Petr Hejl 2015-04-02 12:41:30 UTC
It looks like defect in Wildfly: https://developer.jboss.org/message/911703
Comment 18 Petr Hejl 2015-04-02 13:02:43 UTC
My evaluation why this could possibly happen (as there is no NB code in the stacktrace):

Theres a bug in xnio which triggers this (harmless) exception. The exception is catched in the xnio code and logged as error. I guess the logger might be the JDK logger. As the NB has log handlers adapted in that way that logs with severity higher than WARNING are reported in the UI (icon and/or exception dialog) we receive many duplicates of this stacktrace actually coming from WF.
Comment 19 Petr Hejl 2015-04-02 14:36:07 UTC
I thought we could suppress the specific loggers, but it looks like one "Thread terminating message" is logged to global logger :(
Comment 20 Petr Hejl 2015-04-15 14:11:42 UTC
Fixed in web-main 1b5cf866cb1c.
Comment 21 Quality Engineering 2015-04-16 06:35:32 UTC
Integrated into 'main-silver', will be available in build *201504160452* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/1b5cf866cb1c
User: Petr Hejl <phejl@netbeans.org>
Log: #249135 - java.util.concurrent.RejectedExecutionException: XNIO007007: Thread is terminating