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 - NullPointerException at com.sun.webui.jsf.component.table.TableDataProviderDesignState.initialize
Summary: NullPointerException at com.sun.webui.jsf.component.table.TableDataProviderDe...
Status: RESOLVED WONTFIX
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-12-22 16:47 UTC by Exceptions Reporter
Modified: 2009-02-19 23:24 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 11640


Attachments
stacktrace (315 bytes, text/plain)
2008-12-22 16:48 UTC, Exceptions Reporter
Details
stacktrace (315 bytes, text/plain)
2008-12-22 16:51 UTC, Exceptions Reporter
Details

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