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 153171

Summary: [65cat] NullPointerException at org.netbeans.modules.visualweb.insync.beans.Property.setValue
Product: obsolete Reporter: sunbiz <sunbiz>
Component: visualwebAssignee: John Baker <jbaker>
Status: NEW ---    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=139266
Issue Type: DEFECT Exception Reporter: 139266
Attachments: stacktrace

Description sunbiz 2008-11-13 18:31:29 UTC
Build: NetBeans IDE 6.5 RC2 (Build 200810270001)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-b33
OS: Windows Vista, 6.0, x86

User Comments:
sunbiz: Deleted all the rowSet and tried to add table to Visual SQL Editor...



Stacktrace: 
java.lang.NullPointerException
        at org.netbeans.modules.visualweb.insync.beans.Property.setValue(Property.java:207)
        at org.netbeans.modules.visualweb.insync.live.BeansDesignProperty.setBeanProperty(BeansDesignProperty.java:364)
        at org.netbeans.modules.visualweb.insync.live.BeansDesignProperty.setValue(BeansDesignProperty.java:404)
        at org.netbeans.modules.visualweb.dataconnectivity.customizers.SqlCommandCustomizer$.propertyChange(SqlCommandCustomizer.java:251)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339)
        at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:276)
Comment 1 sunbiz 2008-11-13 18:31:34 UTC
Created attachment 73746 [details]
stacktrace
Comment 2 John Baker 2008-11-13 18:40:26 UTC
if you have any components bound to the rowset you just deleted then there will be an error.  Could be handled better,
but ...

Make sure to unbind all components before deleting rowsets.