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 257260

Summary: RuntimeException: DOM graph creation failed: org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Failed to create the XML-DOM Document. Check your XML to make sure it is correct. The elem
Product: javaee Reporter: Exceptions Reporter <exceptions_reporter>
Component: PersistenceAssignee: Sergey Petrov <sj-nb>
Status: NEW ---    
Severity: normal CC: giorgoch, tak3shi
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 221806
Attachments: stacktrace
stacktrace
stacktrace

Description Exceptions Reporter 2015-12-22 15:29:13 UTC
This bug was originally marked as duplicate of bug 224225, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 8.1 (Build 201510222201)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.66-b18, Java(TM) SE Runtime Environment, 1.8.0_66-b18
OS: Windows 10

User Comments:
GUEST: cant run




Stacktrace: 
java.lang.RuntimeException: DOM graph creation failed: org.netbeans.modules.schema2beans.Schema2BeansRuntimeException: Failed to create the XML-DOM Document.  Check your XML to make sure it is correct.
The element type "properties" must be terminated by the matching end-tag "</properties>".
   at org.netbeans.modules.j2ee.persistence.dd.persistence.model_2_1.Persistence.createGraph(Persistence.java:235)
   at org.netbeans.modules.j2ee.persistence.dd.persistence.model_2_1.Persistence.createGraph(Persistence.java:226)
   at org.netbeans.modules.j2ee.persistence.dd.PersistenceMetadata.getRoot(PersistenceMetadata.java:113)
   at org.netbeans.modules.j2ee.persistence.unit.PUDataObject.getPersistence(PUDataObject.java:321)
   at org.netbeans.modules.j2ee.persistence.unit.PersistenceToolBarMVElement.componentClosed(PersistenceToolBarMVElement.java:154)
   at org.netbeans.core.multiview.MultiViewPeer.peerComponentClosed(MultiViewPeer.java:329)
Comment 1 Exceptions Reporter 2015-12-22 15:29:15 UTC
Created attachment 157890 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-07-12 05:00:51 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221806
Comment 3 Exceptions Reporter 2016-10-13 06:19:30 UTC
Created attachment 162482 [details]
stacktrace

error
Comment 4 tak3shi 2017-02-27 07:42:25 UTC
Created attachment 163717 [details]
stacktrace

Dont know what has caused this, but i have not modified the persistence.xml at this time.