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 - [65cat] NullPointerException at org.netbeans.modules.visualweb.insync.beans.Property.setValue
Summary: [65cat] NullPointerException at org.netbeans.modules.visualweb.insync.beans.P...
Status: NEW
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: John Baker
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-13 18:31 UTC by sunbiz
Modified: 2009-05-25 21:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 139266


Attachments
stacktrace (1.97 KB, text/plain)
2008-11-13 18:31 UTC, sunbiz
Details

Note You need to log in before you can comment on or make changes to this bug.
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.