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.
Build: NetBeans IDE Dev (Build 200708010000) VM: Java HotSpot(TM) Client VM, 1.5.0_07-87 OS: Mac OS X, 10.4.10, i386 -I've just opened persistence.xml file in j2se project 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 content of elements must consist of well-formed c at org.netbeans.modules.j2ee.persistence.dd.persistence.model_1_0.Persistence.createGraph(Persistence.java:213) at org.netbeans.modules.j2ee.persistence.dd.persistence.model_1_0.Persistence.createGraph(Persistence.java:204) at org.netbeans.modules.j2ee.persistence.dd.PersistenceMetadata.getRoot(PersistenceMetadata.java:69) at org.netbeans.modules.j2ee.persistence.unit.PUDataObject.getPersistence(PUDataObject.java:191) at org.netbeans.modules.j2ee.persistence.unit.PersistenceToolBarMVElement$PersistenceView.(PersistenceToolBarMVElement.java:156) at org.netbeans.modules.j2ee.persistence.unit.PersistenceToolBarMVElement.repaintView(PersistenceToolBarMVElement.java:111) at org.netbeans.modules.j2ee.persistence.unit.PersistenceToolBarMVElement.componentShowing(PersistenceToolBarMVElement.java:104) at org.netbeans.core.multiview.MultiViewPeer.peerComponentShowing(MultiViewPeer.java:176) at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentShowing(MultiViewCloneableTopComponent.java:112)
more info: persistence.xml has merge conflicts. attaching
Created attachment 45990 [details] persistence.xml
*** Issue 111614 has been marked as a duplicate of this issue. ***
*** Issue 111615 has been marked as a duplicate of this issue. ***
*** Issue 112002 has been marked as a duplicate of this issue. ***
Working on this now.
Fixed in trunk. Checking in PersistenceToolBarMVElement.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/unit/PersistenceToolBarMVElement.java,v <-- PersistenceToolBarMVElement.java new revision: 1.6; previous revision: 1.5 done Checking in PUDataObject.java; /cvs/j2ee/persistence/src/org/netbeans/modules/j2ee/persistence/unit/PUDataObject.java,v <-- PUDataObject.java new revision: 1.6; previous revision: 1.5 done
*** Issue 113016 has been marked as a duplicate of this issue. ***