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 8.0.2 (Build 201411181905) VM: Java HotSpot(TM) 64-Bit Server VM, 25.25-b02, Java(TM) SE Runtime Environment, 1.8.0_25-b17 OS: Mac OS X User Comments: uwe_pachler: looks like the editor can't read my persistence.xml. There is also no option to edit it in source. I tried adding a property, but nothing happens (it looks like this exception was the cause). This is my pesistence.xml: <?xml version="1.0" encoding="UTF-8"?> <persistence version="2.1" xmlns="http://xmlns.jcp.org/xml/ns/persistence" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/persistence http://xmlns.jcp.org/xml/ns/persistence/persistence_2_1.xsd"> <persistence-unit name="com.threeloonies.munch.server.bizlogic.impl" transaction-type="JTA"> <!-- <provider>org.eclipse.persistence.jpa.PersistenceProvider</provider> --> <jta-data-source>jdbc/munch</jta-data-source> <exclude-unlisted-classes>false</exclude-unlisted-classes> </persistence-unit> </persistence> Stacktrace: java.lang.NullPointerException at org.netbeans.modules.j2ee.persistence.unit.PropertiesTableModel.addRow(PropertiesTableModel.java:109) at org.netbeans.modules.j2ee.persistence.unit.PropertiesTablePanel$TableActionListener.actionPerformed(PropertiesTablePanel.java:159) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2346) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
Created attachment 151218 [details] stacktrace
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