eclipse-ee4j / eclipse-ee4j/mojarra-jsf-extensions
When the bp-ui-simple-5.jar is in your classpath you can't use an application that has com.sun.faces.verifyObjects set to true
- Dominant language
- Java
- Stars
- 1
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
If you have the bp-ui-simple-5.jar is in your classpath as in the case when SWDP
is deployed in the SDK you can't use an application then has
com.sun.faces.verifyObjects set to true. The application will not load and you
get the following log message:
com.sun.javaee.blueprints.components.ui.components.GraphComponent
javax.faces.FacesException: java.lang.UnsupportedOperationException
at
com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:521)
at
com.sun.faces.config.ConfigureListener.verifyObjects(ConfigureListener.java:1329)
at
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:415)
at
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4493)
at org.apache.catalina.core.StandardContext.start(StandardContext.java:515
To reproduce,
* Download and install the SDK and install the SWDP developer pack.
* Deploy the blueprints solutions catalog
* Go to [http://localhost:8080/bp-popup-balloon/faces/index.jsp](http://localhost:8080/bp-popup-balloon/faces/index.jsp)
* You will get a 503 error and the above log message.
The workaround is to not verify you objects and set the
com.sun.faces.verifyObjects to false.
com.sun.faces.verifyObjects
false
#### Environment
Operating System: All
Platform: All
#### Affected Versions
[current]
Contributor guide
Assessment
This issue has not been assessed yet.