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 113554 - Bind to data dialog cannot be accessed if page contains a property that is an array of interfaces
Summary: Bind to data dialog cannot be accessed if page contains a property that is an...
Status: RESOLVED DUPLICATE of bug 113552
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC All
: P2 blocker (vote)
Assignee: Winston Prakash
URL:
Keywords: REGRESSION
Depends on:
Blocks:
 
Reported: 2007-08-22 22:15 UTC by Yousuf Haider
Modified: 2007-08-24 02:21 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
IDE log (61.34 KB, text/plain)
2007-08-22 22:16 UTC, Yousuf Haider
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yousuf Haider 2007-08-22 22:15:35 UTC
Build: 200708201200
JDK6u2

This is a regression from NB5.5 


Steps to reproduce:
1. Create new EE5 VW project.

2. Add an interface and name it as IPerson. Add a setter and getter definition for a variable foo.

3. Add an array of IPerson to Page1.java and add getters and setters for it.

4. Build project and Open design view for page1. Make sure you can see the array as a property of Page1 in the Navigator
window. 

5. Now drop a table component onto the page and goto the Bind to Data dialog.

Exception will be thrown and Bind to data dialog will not be shown (attaching messages.log):

java.lang.IllegalArgumentException: iclassArray Not a Data Provider or Object Array or Object List
	at com.sun.webui.jsf.component.table.TableDataProviderDesignState.<init>(TableDataProviderDesignState.java:91)
	at com.sun.webui.jsf.component.table.TableBindToDataPanel.initialize(TableBindToDataPanel.java:166)
	at com.sun.webui.jsf.component.table.TableBindToDataPanel.<init>(TableBindToDataPanel.java:84)
	at com.sun.webui.jsf.component.customizers.TableBindToDataCustomizer.getCustomizerPanel(TableBindToDataCustomizer.java:55)
	at org.netbeans.modules.visualweb.insync.CustomizerDisplayer.show(CustomizerDisplayer.java:92)


Possible cause might be that we are now showing dataproviders as well arrays in the Bind to data dialog.
Comment 1 Yousuf Haider 2007-08-22 22:16:42 UTC
Created attachment 47112 [details]
IDE log
Comment 2 Winston Prakash 2007-08-23 23:27:23 UTC
This may be related to insync move from MDR to retouche.
Deva is looking at it.
Comment 3 _ deva 2007-08-24 02:21:29 UTC

*** This issue has been marked as a duplicate of 113552 ***