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 238617 - IllegalArgumentException: org.netbeans.modules.glassfish.common.parser.DomainXMLChangeListener@25d61861 was not listening to C:\Users\stezeb\AppData\Roaming\NetBeans\dev\config\GF_4.0\domain1\config\d
Summary: IllegalArgumentException: org.netbeans.modules.glassfish.common.parser.Domain...
Status: NEW
Alias: None
Product: serverplugins
Classification: Unclassified
Component: GlassFish (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: TomasKraus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-20 14:04 UTC by Stepan Zebra
Modified: 2018-02-14 20:50 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 205441


Attachments
stacktrace (8.08 KB, text/plain)
2013-11-20 14:04 UTC, Stepan Zebra
Details
stacktrace (4.17 KB, text/plain)
2014-02-18 12:07 UTC, muellermi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Stepan Zebra 2013-11-20 14:04:11 UTC
Build: NetBeans IDE Dev (Build 201311190002)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Windows 7

User Comments:
stezeb: Removing atomatically registered GF 4 server during first IDE run (JavaEE package).




Stacktrace: 
java.lang.IllegalArgumentException: org.netbeans.modules.glassfish.common.parser.DomainXMLChangeListener@25d61861 was not listening to C:\Users\stezeb\AppData\Roaming\NetBeans\dev\config\GF_4.0\domain1\config\domain.xml; only to [C:\Program Files\glassfish-4.0\glassfish\domains\domain1\config\domain.xml]
   at org.openide.filesystems.FileChangeImpl.removeFileChangeListenerImpl(FileChangeImpl.java:251)
   at org.openide.filesystems.FileUtil.removeFileChangeListener(FileUtil.java:307)
   at org.netbeans.modules.glassfish.common.parser.DomainXMLChangeListener.unregisterListener(DomainXMLChangeListener.java:95)
   at org.netbeans.modules.glassfish.common.GlassfishInstanceProvider.removeServerInstance(GlassfishInstanceProvider.java:307)
   at org.netbeans.modules.glassfish.common.GlassfishInstance.remove(GlassfishInstance.java:1746)
   at org.netbeans.api.server.ServerInstance.remove(ServerInstance.java:134)
Comment 1 Stepan Zebra 2013-11-20 14:04:13 UTC
Created attachment 142406 [details]
stacktrace
Comment 2 muellermi 2014-02-18 12:07:30 UTC
Created attachment 145355 [details]
stacktrace

tried to remove GF server by Services tree, right click on Server, remove