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 99432 - NPW when clicking on DD file in Favorites window
Summary: NPW when clicking on DD file in Favorites window
Status: RESOLVED FIXED
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Sun Appserver 9 (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: _ pcw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-29 18:46 UTC by bbissett
Modified: 2007-04-21 07:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
log file (105.09 KB, text/plain)
2007-03-29 18:48 UTC, bbissett
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bbissett 2007-03-29 18:46:49 UTC
I'm using the Favorites window to copy some files around to create a GlassFish
unit test based on an enterprise app that I had previously created; just copying
java and xml files from the app to new directories. I do not have GlassFish
currently installed in the Server Manager list.

When I open the file tree <my app name>/src/conf/ and click the
sun-application.xml file, I immediately get an NPE and cannot copy files around
without multiple NPE dialog boxes popping up. I will attach the log, but to make
this issue easier to search the exceptions are (in order):

INFORMATIONAL *********** Exception occurred ************ at 1:28 PM on Mar 29, 2007
javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException:
deployer:Sun:AppServer::localhost:4849  The Application Server in
stallation directory is not correctly set up. (Use the Tools->J2EE Platform
Manager menu to correct.)
        at
org.netbeans.modules.j2ee.sun.ide.dm.SunDeploymentFactory.getDisconnectedDeploymentManager(SunDeploymentFactory.java:130)
        at
org.netbeans.modules.j2ee.deployment.impl.Server.getDisconnectedDeploymentManager(Server.java:144)
        at
org.netbeans.modules.j2ee.deployment.impl.Server.getDisconnectedDeploymentManager(Server.java:138)
[catch] at
org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.getDeploymentConfiguration(ConfigSupportImpl.java:432)
        at
org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.createInitialConfiguration(ConfigSupportImpl.java:207)
        at
org.netbeans.modules.j2ee.deployment.config.ConfigSupportImpl.createDeploymentConfiguration(ConfigSupportImpl.java:133)
        at
org.netbeans.modules.j2ee.deployment.plugins.api.ConfigurationSupport.requestCreateConfiguration(ConfigurationSupport.java:250)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getDeploymentConfiguration(ConfigDataObject.java:168)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getStorage(ConfigDataObject.java:346)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.findOpenedConfigEditor(ConfigDataObject.java:648)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject$2.run(ConfigDataObject.java:221)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:1178)
[...]

INFORMATIONAL *********** Exception occurred ************ at 1:28 PM on Mar 29, 2007
java.lang.IllegalStateException: Unable to initialize DeploymentConfiguration
for D:\work\temp\EETestApp\src\conf\sun-application.xml on ser
ver J2EE
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getDeploymentConfiguration(ConfigDataObject.java:173)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getStorage(ConfigDataObject.java:346)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.findOpenedConfigEditor(ConfigDataObject.java:648)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject$2.run(ConfigDataObject.java:221)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:1178)
        at org.openide.util.Mutex.readAccess(Mutex.java:215)
[...]

*********** Exception occurred ************ at 1:28 PM on Mar 29, 2007
java.lang.NullPointerException
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.getStorage(ConfigDataObject.java:347)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject.findOpenedConfigEditor(ConfigDataObject.java:648)
        at
org.netbeans.modules.j2ee.sun.share.config.ConfigDataObject$2.run(ConfigDataObject.java:221)
        at org.openide.util.Mutex.doEventAccess(Mutex.java:1178)
        at org.openide.util.Mutex.readAccess(Mutex.java:215)
[...]

I understand the error about the application server not being set up correctly
(since it isn't), but I should be able to copy/edit/whatever the file through
the Favorites window.

(Sorry if 'enterprise' is not the right component.)
Comment 1 bbissett 2007-03-29 18:48:21 UTC
Created attachment 40146 [details]
log file
Comment 2 Venkat Chellasamy 2007-04-09 23:10:03 UTC
reassigning to j2ee module
Comment 3 Petr Jiricka 2007-04-19 16:32:18 UTC
Looks like a Sun Appserver plugin issue.
Comment 4 _ pcw 2007-04-19 18:54:58 UTC
Similar to comment (see "Additional comments from pcw Wed Sep 27 00:37:23 +0000
2006") in issue 85533.

Will be resolved as part of config editor work, should be easy to take care of.
Comment 5 _ pcw 2007-04-21 07:42:52 UTC
ConfigDataObject is EOL'd and removed as of 60M9.  Marking fixed.