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 204855 - Can not assign the array value to an Object Array Dataprovider.
Summary: Can not assign the array value to an Object Array Dataprovider.
Status: CLOSED WONTFIX
Alias: None
Product: obsolete
Classification: Unclassified
Component: visualweb (show other bugs)
Version: 6.x
Hardware: PC Other
: P1 normal (vote)
Assignee: issues@obsolete
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-11-08 18:35 UTC by glaursen
Modified: 2011-11-28 11:37 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description glaursen 2011-11-08 18:35:16 UTC
We have an application with 30 of so pages.  Many of the pages have an Object Array DataProvider or Object Data Provider.  Something happened in Netbeans where the array value or the object value has disappeared in the Properties view causing the above mention exception.  The reason we have not upgraded from 6.7.1 to 6.8 is that we used the components from the Visual Web Java ServerFaces.  Now it appears that something changed causing this error.  Please help.
Comment 1 Martin Fousek 2011-11-09 16:57:47 UTC
Sorry, I'm not fully sure that I understand you well, so feel free to comment to it more...

Anyway, it looks to me that the root case of your troubles is upgrading from NB671 to NB68 in cases of projects with usage of JSF Visual Web feature. If it so I'm afraid that it will not be resolved in future since developing of Visual Web area was stopped several releases ago. Since NetBeans 6.8 was moved this feature to Update Center and there nobody who is taking care about that more (especially in newest releases) - AFAIK. Probably there could take care of that somebody from community, but it didn't happen for approx. two years, so I don't think so as well.

So, I'm moving this issue to proper (however obsolete) category. I'm really sorry that we are not able to fix that to you but we have to focus to new features and Visual Web had too many critical core issues which couldn't be easily resolved anymore.

In any case, please attach here your messages log with the issue or paste whole exception stack trace directly into the comment text area to help identify cause of your troubles if anybody would still take a look on that in future (but to be honest I can barely believe in that):
FYI: http://wiki.netbeans.org/FaqLogMessagesFile
Comment 2 Martin Fousek 2011-11-10 13:56:53 UTC
Stack trace from glaursen:

javax.faces.FacesException: javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: java.lang.IllegalArgumentException: jediVersion
	at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
	at org.netbeans.modules.visualweb.web.ui.dt.renderer.ValueHolderDesignTimeRenderer.encodeBegin(ValueHolderDesignTimeRenderer.java:91)
	at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:788)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1294)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1554)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1342)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1554)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1342)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1554)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1342)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderNode(FacesPageUnit.java:1554)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderBean(FacesPageUnit.java:1342)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.getFacesRenderTree(FacesPageUnit.java:1112)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1680)
	at org.netbeans.modules.visualweb.insync.faces.FacesPageUnit.renderHtml(FacesPageUnit.java:1633)
	at org.netbeans.modules.visualweb.insync.models.FacesModel.getHtmlDomFragment(FacesModel.java:1616)
	at org.netbeans.modules.visualweb.insync.models.FacesModel.findHtmlBody(FacesModel.java:1640)
	at org.netbeans.modules.visualweb.insync.models.FacesModel.getHtmlBody(FacesModel.java:1628)
	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:1755)
	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.getHtmlBody(JsfForm.java:1745)
	at org.netbeans.modules.visualweb.designer.jsf.DomProviderImpl.getHtmlBody(DomProviderImpl.java:119)
	at org.netbeans.modules.visualweb.designer.WebForm.getHtmlBody(WebForm.java:937)
	at org.netbeans.modules.visualweb.designer.DesignerPaneUI.resetPageBox(DesignerPaneUI.java:623)
	at org.netbeans.modules.visualweb.designer.WebForm.setDefaultFontSize(WebForm.java:3275)
	at org.netbeans.modules.visualweb.designer.jsf.ui.JsfTopComponent.initDesignerPreferences(JsfTopComponent.java:310)
	at org.netbeans.modules.visualweb.designer.jsf.ui.JsfTopComponent.<init>(JsfTopComponent.java:268)
	at org.netbeans.modules.visualweb.designer.jsf.ui.JsfMultiViewElement.<init>(JsfMultiViewElement.java:87)
	at org.netbeans.modules.visualweb.designer.jsf.JsfForm.createMultiViewElement(JsfForm.java:494)
	at org.netbeans.modules.visualweb.designer.jsf.DesignerJsfServiceImpl.createDesignerMultiViewElement(DesignerJsfServiceImpl.java:88)
	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$DesignerDesc.createElement(JsfJavaEditorSupport.java:562)
	at org.netbeans.core.multiview.MultiViewModel.getElementForDescription(MultiViewModel.java:206)
	at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:127)
	at org.netbeans.core.multiview.MultiViewModel.getActiveElement(MultiViewModel.java:123)
	at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:273)
	at org.netbeans.core.multiview.MultiViewPeer.peerComponentOpened(MultiViewPeer.java:234)
	at org.netbeans.core.multiview.MultiViewCloneableTopComponent.componentOpened(MultiViewCloneableTopComponent.java:139)
	at org.openide.windows.WindowManager.componentOpenNotify(WindowManager.java:298)
	at org.netbeans.core.windows.WindowManagerImpl.notifyTopComponentOpened(WindowManagerImpl.java:1007)
	at org.netbeans.core.windows.Central.addModeOpenedTopComponent(Central.java:764)
	at org.netbeans.core.windows.ModeImpl.addOpenedTopComponent(ModeImpl.java:311)
	at org.netbeans.core.windows.WindowManagerImpl.topComponentOpenAtTabPosition(WindowManagerImpl.java:1115)
	at org.netbeans.core.windows.WindowManagerImpl.topComponentOpen(WindowManagerImpl.java:1082)
	at org.openide.windows.TopComponent.open(TopComponent.java:434)
	at org.openide.windows.TopComponent.open(TopComponent.java:425)
	at org.openide.windows.CloneableOpenSupport.openCloneableTopComponent(CloneableOpenSupport.java:199)
	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.doOpenDesigner(JsfJavaEditorSupport.java:176)
	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport$1.run(JsfJavaEditorSupport.java:158)
	at org.openide.util.Mutex.doEvent(Mutex.java:1335)
	at org.openide.util.Mutex.writeAccess(Mutex.java:452)
	at org.netbeans.modules.visualweb.project.jsfloader.JsfJavaEditorSupport.openDesigner(JsfJavaEditorSupport.java:150)
	at org.netbeans.modules.visualweb.project.jsfloader.JsfJspEditorSupport.openDesigner(JsfJspEditorSupport.java:210)
	at org.netbeans.modules.visualweb.project.jsfloader.JsfJspDataObject$OpenEdit.open(JsfJspDataObject.java:257)
	at org.openide.actions.OpenAction.performAction(OpenAction.java:81)
	at org.openide.util.actions.NodeAction$DelegateAction$1.run(NodeAction.java:589)
	at org.netbeans.modules.openide.util.ActionsBridge.doPerformAction(ActionsBridge.java:77)
	at org.openide.util.actions.NodeAction$DelegateAction.actionPerformed(NodeAction.java:585)
	at org.openide.explorer.view.TreeView$PopupSupport.mouseClicked(TreeView.java:1515)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
	at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
	at java.awt.Component.processMouseEvent(Component.java:6266)
	at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
	at java.awt.Component.processEvent(Component.java:6028)
	at java.awt.Container.processEvent(Container.java:2041)
	at java.awt.Component.dispatchEventImpl(Component.java:4630)
	at java.awt.Container.dispatchEventImpl(Container.java:2099)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
	at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
	at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
	at java.awt.Container.dispatchEventImpl(Container.java:2085)
	at java.awt.Window.dispatchEventImpl(Window.java:2478)
	at java.awt.Component.dispatchEvent(Component.java:4460)
	at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
	at org.netbeans.core.TimableEventQueue.dispatchEvent(TimableEventQueue.java:104)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: javax.el.ELException: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: java.lang.IllegalArgumentException: jediVersion
	at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:76)
	at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
	... 81 more
Caused by: javax.faces.el.EvaluationException: javax.el.ELException: javax.faces.el.PropertyNotFoundException: java.lang.IllegalArgumentException: jediVersion
	at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:106)
	at javax.faces.component.ValueExpressionValueBindingAdapter.getValue(ValueExpressionValueBindingAdapter.java:73)
	... 82 more
Caused by: javax.el.ELException: javax.faces.el.PropertyNotFoundException: java.lang.IllegalArgumentException: jediVersion
	at com.sun.faces.el.PropertyResolverChainWrapper.getValue(PropertyResolverChainWrapper.java:80)
	at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
	at com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
	at com.sun.el.parser.AstValue.getValue(AstValue.java:138)
	at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:206)
	at com.sun.faces.application.ValueBindingValueExpressionAdapter.getValue(ValueBindingValueExpressionAdapter.java:102)
	... 83 more
Caused by: javax.faces.el.PropertyNotFoundException: java.lang.IllegalArgumentException: jediVersion
	at com.sun.rave.web.ui.faces.DataProviderPropertyResolver$ValueData.getValue(DataProviderPropertyResolver.java:374)
	at com.sun.rave.web.ui.faces.DataProviderPropertyResolver.getValue(DataProviderPropertyResolver.java:176)
	at com.sun.faces.el.PropertyResolverChainWrapper.getValue(PropertyResolverChainWrapper.java:77)
	... 88 more
Caused by: java.lang.IllegalArgumentException: jediVersion
	at com.sun.data.provider.impl.ObjectArrayDataProvider.getFieldKey(ObjectArrayDataProvider.java:290)
	at com.sun.rave.web.ui.faces.DataProviderPropertyResolver$ValueData.getValue(DataProviderPropertyResolver.java:360)
	... 90 more
Comment 3 Martin Fousek 2011-11-10 22:00:14 UTC
According to our discussion over emails it looks that the user resolved-workarounded this issue by deleting his .nbi directory and reinstalling the IDE again. Anyway, I would guess that it could be caused just by having clean userdir, since .nbi shouldn't be really related to IDE functionality.
Comment 4 Jan Chalupa 2011-11-28 09:03:15 UTC
Obsolete issue. Closing.
Comment 5 Marian Mirilovic 2011-11-28 11:37:41 UTC
v/c