NPE when trying to publish to JBoss server
------------------------------------------
Key: JBIDE-2844
URL:
https://jira.jboss.org/jira/browse/JBIDE-2844
Project: Tools (JBoss Tools)
Issue Type: Bug
Affects Versions: 3.0.0.alpha
Reporter: Fikri aidoun
Priority: Minor
I am getting the NPE exception described below when simply trying to start my JBoss 4.0.4
server.
I have defined a Project archive to build an exploded archive (war) under the deploy
forlder of my JBoss home.
thanks in advance for your help!
-- Error Details --
Date: Fri Oct 03 14:42:57 CEST 2008
Message: Could not publish to the server.
Severity: Error
Plugin: org.eclipse.wst.server.core
Session Data:
eclipse.buildId=M20080911-1700
java.version=1.5.0_06
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_FR
Command-line arguments: -os win32 -ws win32 -arch x86
Exception Stack Trace:
java.lang.NullPointerException
at
org.jboss.ide.eclipse.as.core.modules.PackageModuleFactory$ArchiveContainerResource.addFilesetAsChild(PackageModuleFactory.java:274)
at
org.jboss.ide.eclipse.as.core.modules.PackageModuleFactory$DelegateInitVisitor.visit(PackageModuleFactory.java:214)
at
org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.accept(ArchiveNodeImpl.java:244)
at
org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.accept(ArchiveNodeImpl.java:249)
at
org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.accept(ArchiveNodeImpl.java:249)
at
org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.accept(ArchiveNodeImpl.java:249)
at
org.jboss.ide.eclipse.archives.core.model.internal.ArchiveNodeImpl.accept(ArchiveNodeImpl.java:232)
at
org.jboss.ide.eclipse.as.core.modules.PackageModuleFactory$PackagedModuleDelegate.init(PackageModuleFactory.java:397)
at
org.jboss.ide.eclipse.as.core.modules.PackageModuleFactory$PackagedModuleDelegate.members(PackageModuleFactory.java:402)
at
org.eclipse.wst.server.core.internal.ModulePublishInfo.fillCache(ModulePublishInfo.java:285)
at
org.eclipse.wst.server.core.internal.ModulePublishInfo.getDelta(ModulePublishInfo.java:335)
at
org.eclipse.wst.server.core.internal.ServerPublishInfo.getDelta(ServerPublishInfo.java:368)
at
org.eclipse.wst.server.core.internal.Server.getPublishedResourceDelta(Server.java:1340)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.getPublishedResourceDelta(ServerBehaviourDelegate.java:652)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:821)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:707)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2404)
at org.eclipse.wst.server.core.internal.Server$StartJob.run(Server.java:301)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira