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 209221 - Deploying a web project crashes but deploys correctly
Summary: Deploying a web project crashes but deploys correctly
Status: RESOLVED WORKSFORME
Alias: None
Product: serverplugins
Classification: Unclassified
Component: Infrastructure (show other bugs)
Version: 7.1.1
Hardware: PC Linux
: P3 normal with 1 vote (vote)
Assignee: Petr Hejl
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-03-06 10:19 UTC by jonathanvilalopez
Modified: 2012-09-13 11:01 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jonathanvilalopez 2012-03-06 10:19:32 UTC
I deploy my web project ( EE 6 ) to Glassfish 3.1.2 and an error appears in the output window :

[Fatal Error] :1:1: Final de archivo prematuro.
[Fatal Error] :1:1: Final de archivo prematuro.
In-place deployment at /datos/Tesipro/Aplicaciones/java/BookAssist/build/web
Initializing...
/datos/Tesipro/Aplicaciones/java/BookAssist/nbproject/build-impl.xml:769: 
java.lang.NoClassDefFoundError: org/openide/xml/XMLUtil$1
	at org.openide.xml.XMLUtil.write(XMLUtil.java:404)
	at org.netbeans.spi.settings.DOMConvertor.write(DOMConvertor.java:146)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter$1.call(TargetModuleConverter.java:191)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter$1.call(TargetModuleConverter.java:183)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.executeExclusively(TargetModuleConverter.java:351)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.writeTargetModule(TargetModuleConverter.java:183)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModule.save(TargetModule.java:271)
	at org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTarget.setTargetModules(DeploymentTarget.java:292)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:207)
	at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:106)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor109.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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:390)
	at org.apache.tools.ant.Target.performTasks(Target.java:411)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:285)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:539)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 8 seconds)

But, in the Glassfish output windows it says the application has been deployed successfully.
Comment 1 Petr Hejl 2012-04-04 12:44:31 UTC
Any steps to reproduce? Did you run the deployment twice or something like that?
Comment 2 mcorreafdez 2012-05-23 15:04:35 UTC
I have the same problem.
I'm also using Glassfish 3.1.2 and netbeans 7.1.2, I only deployed once my proyect and an error ocurred but the webservice works.
"[Fatal Error] :1:1: Premature end of file.
(...)
java.lang.NoClassDefFoundError: org/openide/xml/XMLUtil$1"
Comment 3 mda 2012-06-26 12:01:01 UTC
I have same problem. What kind of data you need to reproduce the problem?
Comment 4 eroskoller 2012-08-15 17:38:12 UTC
The same problem  here...

[Fatal Error] :1:1: Premature end of file.
[Fatal Error] :1:1: Premature end of file.
In-place deployment at /home/eros/Shop/relMakerService/build/web
/home/eros/Shop/relMakerService/nbproject/build-impl.xml:1056: 
java.lang.NoClassDefFoundError: org/openide/xml/XMLUtil$1
	at org.openide.xml.XMLUtil.write(XMLUtil.java:406)
	at org.netbeans.spi.settings.DOMConvertor.write(DOMConvertor.java:146)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter$1.call(TargetModuleConverter.java:191)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter$1.call(TargetModuleConverter.java:183)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.executeExclusively(TargetModuleConverter.java:351)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModuleConverter.writeTargetModule(TargetModuleConverter.java:183)
	at org.netbeans.modules.j2ee.deployment.impl.TargetModule.save(TargetModule.java:271)
	at org.netbeans.modules.j2ee.deployment.impl.projects.DeploymentTarget.setTargetModules(DeploymentTarget.java:292)
	at org.netbeans.modules.j2ee.deployment.devmodules.api.Deployment.deploy(Deployment.java:207)
	at org.netbeans.modules.j2ee.ant.Deploy.execute(Deploy.java:111)
	at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
	at sun.reflect.GeneratedMethodAccessor245.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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:392)
	at org.apache.tools.ant.Target.performTasks(Target.java:413)
	at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1399)
	at org.apache.tools.ant.Project.executeTarget(Project.java:1368)
	at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:41)
	at org.apache.tools.ant.Project.executeTargets(Project.java:1251)
	at org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:283)
	at org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:541)
	at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:153)
BUILD FAILED (total time: 3 seconds)
Comment 5 jonathanvilalopez 2012-09-13 11:01:39 UTC
I can not reproduce in current version.