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 134384 - Premature end of file exception.
Summary: Premature end of file exception.
Status: CLOSED WORKSFORME
Alias: None
Product: apisupport
Classification: Unclassified
Component: Project (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-02 10:17 UTC by Peter Pis
Modified: 2008-07-02 10:37 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
SAXParseException (4.29 KB, text/plain)
2008-05-02 10:18 UTC, Peter Pis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Pis 2008-05-02 10:17:53 UTC
Product Version: NetBeans IDE 6.1 (Build 200804211638)
Java: 1.6.0_10-beta; Java HotSpot(TM) Client VM 11.0-b11
System: Windows XP version 5.1 running on x86; Cp1252; en_GB (nb)
Userdir: D:\ide\user7

Opening nb module or expanding nodes in views ("Projects") is slowed down by many SAXParseException.

org.xml.sax.SAXParseException: Premature end of file.
org.xml.sax.SAXParseException: Premature end of file.
        at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:239)
        at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:283)
        at org.openide.xml.XMLUtil.parse(XMLUtil.java:329)
        at org.netbeans.modules.apisupport.project.universe.ModuleList.parseData(ModuleList.java:792)
Caused: java.io.IOException: D:\nb-hg\main\websvc.jaxwsapi\nbproject\project.xml
        at org.netbeans.modules.apisupport.project.universe.ModuleList.parseData(ModuleList.java:795)
        at org.netbeans.modules.apisupport.project.universe.ModuleList.scanPossibleProject(ModuleList.java:396)
Comment 1 Peter Pis 2008-05-02 10:18:30 UTC
Created attachment 60958 [details]
SAXParseException
Comment 2 Jesse Glick 2008-05-02 16:14:08 UTC
I have not seen anything of the sort. Is the project.xml file mentioned in the exception in fact valid or not?
Comment 3 Peter Pis 2008-05-07 10:08:31 UTC
Yes, it's valid.
Comment 4 Jesse Glick 2008-05-13 02:20:52 UTC
Well nothing I can do unless you tell me how to reproduce it. The code is just reporting that the file is invalid (e.g.
truncated to zero length).
Comment 5 Peter Pis 2008-05-13 07:18:46 UTC
I've tried to reproduce it but I couldn't. With fresh user dir this problem doesn't occur. If I am able to reproducible
steps I will reopen it.
Comment 6 Peter Pis 2008-07-02 10:37:11 UTC
Haven't encountered it since then. Closing.