[
https://jira.jboss.org/jira/browse/JBIDE-4912?page=com.atlassian.jira.plu...
]
Darryl Miles commented on JBIDE-4912:
-------------------------------------
I'll have a go. JBoss 5.1.0.GA, Tools 3.1.0M2 (or the latest development release of a
week ago).
I am publishing an EAR, that has an EJB-JAR project, an EJB-client-JAR project, a WAR
project. I have been attempting to learn more about Seam and get this project on its feet
(in my spare time). Other than that I'm not sure there is much I can tell you. The
EAR has 2 other utility type projects published in the class-path. This is my main aim
with the publishing errors.
If there is any specific information you'd like please advise.
There are other projects in my workspace but they are not configured to use my JBoss AS
runtime, but they maybe configured to a previous version runtime (5.0.1.GA which still
exists on my system). The startup errors could be from anything. Maybe if you could
explain a little about what "XModel" (whatever that is) is doing at the point of
the exception, they I can try to explain and look at my workspace for related matters.
NPE during publish in PublishCopyUtil.copyFile()
------------------------------------------------
Key: JBIDE-4912
URL:
https://jira.jboss.org/jira/browse/JBIDE-4912
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: XML Structured Editor
Affects Versions: 3.1.0.M2
Reporter: Darryl Miles
Assignee: Viacheslav Kabanovich
If it is not a JBoss AS Driver bug, i.e. it maybe an Eclipse WTP bug passing null's
into lists etc..., then the driver needs to be hardened to it.
java.lang.NullPointerException
at java.io.FileInputStream.<init>(FileInputStream.java:103)
at
org.jboss.ide.eclipse.as.core.server.xpl.PublishCopyUtil.copyFile(PublishCopyUtil.java:456)
at
org.jboss.ide.eclipse.as.core.server.xpl.PublishCopyUtil.copy(PublishCopyUtil.java:506)
at
org.jboss.ide.eclipse.as.core.server.xpl.PublishCopyUtil.publishFull(PublishCopyUtil.java:482)
at
org.jboss.ide.eclipse.as.core.publishers.JstPublisher.fullPublish(JstPublisher.java:121)
at
org.jboss.ide.eclipse.as.core.publishers.JstPublisher.publishModule(JstPublisher.java:101)
at
org.jboss.ide.eclipse.as.core.server.internal.DeployableServerBehavior.publishModule(DeployableServerBehavior.java:82)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModule(ServerBehaviourDelegate.java:948)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publishModules(ServerBehaviourDelegate.java:1038)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:872)
at
org.eclipse.wst.server.core.model.ServerBehaviourDelegate.publish(ServerBehaviourDelegate.java:708)
at org.eclipse.wst.server.core.internal.Server.publishImpl(Server.java:2690)
at org.eclipse.wst.server.core.internal.Server$PublishJob.run(Server.java:272)
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