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 161796

Summary: IllegalArgumentException: Null values are not allowed.
Product: obsolete Reporter: mcahornsirup <mcahornsirup>
Component: visualwebAssignee: _ deva <deva>
Status: NEW ---    
Severity: blocker CC: zkirill
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=134876
Issue Type: DEFECT Exception Reporter: 134876
Attachments: stacktrace

Description mcahornsirup 2009-04-02 17:50:29 UTC
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:
GUEST: edit JSP source code

GUEST: 1. Connect to the database (in the serevers tab)
2. Drag table component from the palette
3. Drag any table on table component in the design window
4. A message "Target server does not support automatic data creation" will show
4. Nothing happen then
5. Exception will show in the right bottom corner of the IDE.

mcahornsirup: tried to drop an icefaces table on a visual IcefacesDesignView... bang

GUEST: i was trying to change the prperties of a table



Stacktrace: 
java.lang.IllegalArgumentException: Null values are not allowed.
        at org.netbeans.api.java.source.WorkingCopy.rewrite(WorkingCopy.java:175)
        at org.netbeans.modules.visualweb.insync.java.Method.removeCleanupStatements(Method.java:227)
        at org.netbeans.modules.visualweb.insync.java.JavaClass$7.run(JavaClass.java:339)
        at org.netbeans.modules.visualweb.insync.java.WriteTaskWrapper.run(WriteTaskWrapper.java:75)
        at org.netbeans.modules.visualweb.insync.java.WriteTaskWrapper.run(WriteTaskWrapper.java:58)
        at org.netbeans.api.java.source.JavaSource.runModificationTask(JavaSource.java:953)
Comment 1 mcahornsirup 2009-04-02 17:50:35 UTC
Created attachment 79305 [details]
stacktrace
Comment 2 Jan Lahoda 2009-04-02 18:47:28 UTC
Should be evaluated by the caller, IMO.