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 252363

Summary: org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 1; Premature end of file.
Product: javaee Reporter: joordaz
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: RESOLVED WONTFIX    
Severity: normal CC: lostmats
Priority: P3    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 212205
Attachments: stacktrace
stacktrace

Description joordaz 2015-05-12 14:01:55 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.31-b07, Java(TM) SE Runtime Environment, 1.8.0_31-b13
OS: Mac OS X

User Comments:
lostmats: Caught silently, dont know, perhaps debugging.

GUEST: .

joordaz: just typing some code, pressed ctrl-space to show code completion and this appeared

joordaz: this just showed up while debugging a web app

GUEST: Each minute this notificaation is displayed.
As far as I know. I don't have jpa descriptor in my projects.

GUEST: .




Stacktrace: 
org.xml.sax.SAXParseException; lineNumber: 10; columnNumber: 1; Premature end of file.
   at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239)
   at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649)
   at org.netbeans.modules.j2ee.persistence.dd.common.ParseUtils.getVersion(ParseUtils.java:74)
   at org.netbeans.modules.j2ee.persistence.dd.common.JPAParseUtils.getVersion(JPAParseUtils.java:67)
   at org.netbeans.modules.j2ee.persistence.dd.PersistenceMetadata.getRoot(PersistenceMetadata.java:102)
   at org.netbeans.modules.j2ee.persistence.dd.PersistenceUtils.getPersistenceUnits(PersistenceUtils.java:147)
Comment 1 joordaz 2015-05-12 14:01:58 UTC
Created attachment 153618 [details]
stacktrace
Comment 2 lostmats 2015-08-26 13:26:42 UTC
Created attachment 155662 [details]
stacktrace

It was silently caught so actually  I dont know what i Did... Sorry!
Comment 3 Martin Balin 2016-07-07 08:52:59 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss