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.
Build: NetBeans IDE Dev (Build 200811011401) VM: Java HotSpot(TM) Client VM, 11.0-b11, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b14 OS: Windows XP, 5.1, x86 User Comments: sunbiz: Closing faces-config.xml file and got this exception sunbiz: Closing faces-config.xml file and got this exception Stacktrace: java.lang.ClassCastException: java.util.ArrayList cannot be cast to java.lang.String at org.netbeans.modules.web.jsf.navigation.FacesModelPropertyChangeListener.runEventNow(FacesModelPropertyChangeListener.java:127) at org.netbeans.modules.web.jsf.navigation.FacesModelPropertyChangeListener.propertyChange(FacesModelPropertyChangeListener.java:47) at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireCompleteEventSet(AbstractModel.java:488) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireEvents(AbstractModel.java:474) at org.netbeans.modules.xml.xam.AbstractModel.endTransaction(AbstractModel.java:321)
Created attachment 73284 [details] stacktrace
The problem seems to be that now the value of property 'from-view-id' (or 'to-view-id') is list instead of string (assuming the code was working before). Was the type of 'from-view-id' (or 'to-view-id') property changed from string to list? If yes, could that be explained? In any case, could the properties and their values documented for the JsfConfigModel?
The Faces Model does not fire such event, xam does: at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSupport.java:339) at org.netbeans.modules.xml.xam.AbstractModel$Transaction.fireCompleteEventSet(AbstractModel.java:488) I think 'jsf.navigation' needs to handle it properly. BTW, I cannot reproduce this exception! What have you done for your faces-config.xml before closing it? How did you modify the contents? Save or Discard when closing it? If you can provide a reproducible steps for this issue, then that should help a lot! Thanks!
Not able to reproduce. Need steps
Without requested information for long time - INVALID. We can't do anything in this case. Reporter, please add requested information and reopen issue. Thanks in advance.