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 6.5 (Build 200811100001) VM: Java HotSpot(TM) Client VM, 1.5.0_16-133, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_16-b06-284 OS: Mac OS X, 10.5.6, i386 User Comments: romanmostyka: 1. Install the NetBeans IDE 6.5 Full distribution. 2. Make sure that the 6.5 IDE home directory doesn't exist. If it exists, please delete it (or rename it). 3. Update the IDE with the latest patch from stable AUC. 4. After the IDE start, select the menu Tools -> Plugins and select the tab "Available Plugins". 5. Install the plugin "UML". 6. Exit the IDE and start it again !! 7. Select menu Tools -> Plugins and select the tab "Settings" 8. Add two new UCs with following URLs: - http://bits.netbeans.org/netbeans/6.5/fixes/2009-01-15_22-31-01/uc2/catalog.xml.gz - http://bits.netbeans.org/netbeans/6.5/fixes/2009-01-15_22-31-01/uc/catalog.xml.gz 9. Select the tab "Updates" and click on the button "Reload Catalog" 10. Click on the button "Update" and install all 22 plugins. 11. Connect to some DB and expand it's node. 12. Rightclick "Tables" node and choose "Create Table...". 13. Set table name, column name, set VARCHAR for the column type, set "test" as default value and click "OK". 14 Stacktrace: java.lang.NullPointerException at org.netbeans.modules.db.dataview.output.SQLStatementGenerator.generateInsertStatement(SQLStatementGenerator.java:91) at org.netbeans.modules.db.dataview.output.InsertRecordDialog.executeBtnActionPerformed(InsertRecordDialog.java:281) at org.netbeans.modules.db.dataview.output.InsertRecordDialog.access$000(InsertRecordDialog.java:77) at org.netbeans.modules.db.dataview.output.InsertRecordDialog$3.actionPerformed(InsertRecordDialog.java:168) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1882) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2202)
Created attachment 75913 [details] stacktrace
14. Rightclick created table and choose "View Data...". 15. Press "Insert Record" button, press Ctrl + 1 and click "OK". Result: NullPointerException appears.
Reproducible in NB7.0, need to specify size of VARCHAR column to create the table.
It's not reproducible in recent Nb6.7M3 builds.
The status whiteboard "65fixes4-candidate" has been removed. At this time our proactive patches for the NetBeans 6.5.x IDE have concluded. If you own a Sun service plan contract for NetBeans, you may wish to contact Sun Service http://www.sun.com/contact/support.jsp to request a fix via the product defect escalation process. For more information on purchasing a Sun service plan contract for NetBeans, refer to the service plan item "Sun Software Service Plans (S3P) for Developers" in the Sun Service table found on our NetBeans Support Resources page http://www.netbeans.org/kb/support.html