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.
This bug was originally marked as duplicate of bug 217639, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 201508260002) VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b23, Java(TM) SE Runtime Environment, 1.8.0_60-b27 OS: Windows 10 User Comments: skygo: cliking on and hibernate cfg file during tutorial from a graph view of a pom Stacktrace: java.lang.NullPointerException at org.netbeans.modules.xml.multiview.XmlMultiViewEditorSupport$5.run(XmlMultiViewEditorSupport.java:450) at org.netbeans.modules.xml.multiview.Utils.runInAwtDispatchThread(Utils.java:193) at org.netbeans.modules.xml.multiview.XmlMultiViewEditorSupport.openView(XmlMultiViewEditorSupport.java:446) at org.netbeans.modules.xml.multiview.XmlMultiViewEditorSupport.open(XmlMultiViewEditorSupport.java:464) at org.openide.awt.ActionDefaultPerfomer.actionPerformed(ActionDefaultPerfomer.java:70) at org.openide.awt.ContextAction$Performer.actionPerformed(ContextAction.java:226)
Created attachment 155659 [details] stacktrace
What tutorial ? While I could add the NPE check, I cannot see a way how null could reach the point of error from reading the code, so I would like to understand how the situation happens, so I'll probably need the exact sources and more precise reproduction steps.
Hi I follow this tutorial: https://netbeans.org/kb/docs/java/maven-hib-java-se.html database setup.. maven setup... Everything is fine until --Adding Hibernate Files and Dependencies-- I'm not fluent in hibernate but the generated xml config file was not valid. I had to cut a <session-factory/> in order to open the file and continue the tutorial. After showing dependencies graph and going back to the hibernate config file the exception occurs.