NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Troubleshooting Deployment Error

 
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users
View previous topic :: View next topic  
Author Message
jasoncox



Joined: 22 Jun 2010
Posts: 3

PostPosted: Tue Jun 22, 2010 11:12 pm    Post subject: Troubleshooting Deployment Error Reply with quote

I recently migrated my Netbeans 6.8 project from Glassfish v2 to v3. I am now having deployment problems using the IDE. The Netbeans packaged EAR file deploys without problems through the Glassfish console. However, when I try to deploy through the IDE I see the following error:

Code:

C:\Documents and Settings\Jason\My Documents\NetBeansProjects\testEnterpriseServer\nbproject\build-impl.xml:268:
Deployment error:
null
See the server log for details.
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:205)
        at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:103)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:288)
        at sun.reflect.GeneratedMethodAccessor56.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at org.apache.tools.ant.Task.perform(Task.java:348)
        at org.apache.tools.ant.Target.execute(Target.java:357)
        at org.apache.tools.ant.Target.performTasks(Target.java:385)
        at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1337)
        at org.apache.tools.ant.Project.executeTarget(Project.java:1306)
        at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
        at org.apache.tools.ant.Project.executeTargets(Project.java:1189)
        at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:278)
        at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:498)
        at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:151)
Caused by: java.lang.NullPointerException
        at java.io.Win32FileSystem.compare(Win32FileSystem.java:576)
        at java.io.File.compareTo(File.java:1852)
        at java.io.File.compareTo(File.java:120)
        at java.util.TreeMap.put(TreeMap.java:545)
        at java.util.TreeSet.add(TreeSet.java:238)
        at java.util.AbstractCollection.addAll(AbstractCollection.java:305)
        at java.util.TreeSet.addAll(TreeSet.java:295)
        at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.getResourceDirs(ResourceRegistrationHelper.java:104)
        at org.netbeans.modules.glassfish.javaee.ResourceRegistrationHelper.deployResources(ResourceRegistrationHelper.java:85)
        at org.netbeans.modules.glassfish.javaee.ide.FastDeploy.initialDeploy(FastDeploy.java:121)
        at org.netbeans.modules.j2ee.deployment.impl.TargetServer.deploy(TargetServer.java:623)
        at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:170)
        ... 16 more
BUILD FAILED (total time: 1 second)


Any ideas on how to troubleshoot this?

Thanks!
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> Java EE Users All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo