Bug 152142 - java.io.IOException: Premature end of file.
java.io.IOException: Premature end of file.
Status: RESOLVED WORKSFORME
Product: serverplugins
Classification: Unclassified
Component: Infrastructure
6.x
All Windows XP
: P3 (vote)
: 6.x
Assigned To: Petr Hejl
issues@serverplugins
http://statistics.netbeans.org/except...
EXCEPTIONS_REPORT
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-11-02 09:05 UTC by Marian Mirilovic
Modified: 2010-11-14 14:28 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
:


Attachments
stacktrace (3.23 KB, text/plain)
2008-11-19 04:09 UTC, 88250
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marian Mirilovic 2008-11-02 09:05:20 UTC
6 duplicates so far ...

Build: NetBeans IDE 6.5 RC1 (Build 200810171318)
VM: Java HotSpot(TM) Client VM, 1.5.0_16-b02, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b02
OS: Windows XP, 5.1, x86
User comments: 
STACKTRACE: (first 10 lines)
java.io.IOException: Premature end of file.
        at org.netbeans.spi.settings.DOMConvertor.read(DOMConvertor.java:120)
        at
org.netbeans.modules.jee.deployment.impl.TargetModuleConverter.getTargetModulesByContextRoot(TargetModuleConverter.java:223)
        at org.netbeans.modules.jee.deployment.impl.TargetModule.findByContextRoot(TargetModule.java:236)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:347)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:297)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.processLastTargetModules(TargetServer.java:468)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.init(TargetServer.java:162)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.deploy(TargetServer.java:540)
        at org.netbeans.modules.jee.deployment.devmodules.api.Deployment.deploy(Deployment.java:163)
        at org.netbeans.modules.jee.ant.Deploy.execute(Deploy.java:103)
Comment 1 88250 2008-11-19 04:09:39 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Linux, 2.6.27-8-generic, i386

User Comments: 
Occurs the exception while deploying a Maven web application to tomcat.

Stacktrace: 
java.io.IOException: Premature end of file.
        at org.netbeans.spi.settings.DOMConvertor.read(DOMConvertor.java:120)
        at org.netbeans.modules.jee.deployment.impl.TargetModuleConverter.getTargetModulesByContextRoot(TargetModuleConverter.java:223)
        at org.netbeans.modules.jee.deployment.impl.TargetModule.findByContextRoot(TargetModule.java:236)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:347)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:297)
        at org.netbeans.modules.jee.deployment.impl.TargetServer.checkUndeployForSharedReferences(TargetServer.java:294)
Comment 2 88250 2008-11-19 04:09:52 UTC
Created attachment 73894 [details]
stacktrace
Comment 3 _ jyothivasa 2008-11-21 00:16:34 UTC
Thuy, Please reassign if it not yours.
Comment 4 Petr Hejl 2009-08-06 13:03:10 UTC
Can you provide a test project or describe precisely preconditions? IMO this can happen only when userdir gets corrupted.
Comment 5 Petr Hejl 2009-11-05 18:50:53 UTC
No response. Closing as WORKSFORME.
Comment 6 Marian Mirilovic 2009-12-03 03:25:29 UTC
v/c


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