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 155949

Summary: NullPointerException at com.sun.webui.jsf.component.table.TableDataProviderDesignState.initialize
Product: obsolete Reporter: Exceptions Reporter <exceptions_reporter>
Component: visualwebAssignee: John Baker <jbaker>
Status: RESOLVED WONTFIX    
Severity: blocker    
Priority: P3    
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=11640
Issue Type: DEFECT Exception Reporter: 11640
Attachments: stacktrace
stacktrace

Description Exceptions Reporter 2008-12-22 16:47:41 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments:
dante: Attempting to access Table Layout for a Table previously bound to an EJB method

dante: Select table layout on a table bound to an EJB method

nbc: Using VWP - created a table - been working for several weeks.
Today I created a new project using VWP and Hibernate. Created a table - works fine
Went back to the Table layout to add a column to the table and it generates this error. System hangs with popup saying 'Refreshing Data Providers'.

What is strange is that I then went back to my original project (not using Hibernate) which has been working fine, and this table now has the same problem.

Other pages (with tables using different data providers) seem to be working. Only this one table is having a problem. Note that it happens in 2 different projects using different types of data providers (one with hibernate, one without).

Both projects are accessing the same table in a MySQL database. I tried deleting the Hibernate project completely but the other project still fails here. This was working fine up until this morning and no code in this project was changed today - only the Hibernate project was modified...

nbc



Stacktrace: 
java.lang.NullPointerException
        at com.sun.webui.jsf.component.table.TableDataProviderDesignState.initialize(TableDataProviderDesignState.java:258)
        at com.sun.webui.jsf.component.table.TableCustomizerMainPanel$1.run(TableCustomizerMainPanel.java:237)
        at java.lang.Thread.run(Thread.java:619)
Comment 1 Exceptions Reporter 2008-12-22 16:48:32 UTC
Created attachment 75247 [details]
stacktrace
Comment 2 Exceptions Reporter 2008-12-22 16:49:58 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 1.6.0_03-b05, Java(TM) SE Runtime Environment, 1.6.0_03-b05
OS: Windows XP, 5.1, x86

User Comments: 
I am using a class extended from ObjectListDataProvider, to fill this table.

Stacktrace: 
java.lang.NullPointerException
        at com.sun.webui.jsf.component.table.TableDataProviderDesignState.initialize(TableDataProviderDesignState.java:258)
        at com.sun.webui.jsf.component.table.TableCustomizerMainPanel$1.run(TableCustomizerMainPanel.java:237)
        at java.lang.Thread.run(Thread.java:619)
Comment 3 Exceptions Reporter 2008-12-22 16:51:08 UTC
Created attachment 75248 [details]
stacktrace
Comment 4 Peter Pis 2008-12-23 11:35:24 UTC
Reassigning to visualweb.
Comment 5 Peter Pis 2008-12-23 11:35:40 UTC
Reassigning to visualweb.
Comment 6 Peter Zavadsky 2009-01-05 19:02:02 UTC
Woodstock issue: see https://woodstock.dev.java.net/issues/show_bug.cgi?id=1375