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

Open
#72 5 comments 0 reactions 1 assignee Claimed by @glassfishrobot View on GitHub
Component: www ERR: Assignee Priority: Critical Type: Bug
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.