eclipse-ee4j / mojarra-jsf-extensions

Other
1 stars 3 forks source link

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 #72

Open glassfishrobot opened 17 years ago

glassfishrobot commented 17 years ago

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,

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]

glassfishrobot commented 5 years ago
glassfishrobot commented 17 years ago

@glassfishrobot Commented Reported by basler

glassfishrobot commented 17 years ago

@glassfishrobot Commented basler said: To reproduce this bug you will want to use SDK update 3 preview 2 build 12 located at http://javaweb.sfbay.sun.com/java/re/javaeesdk/5.0_03/promoted/preview2/b12/bundles/ and install all the extra components (default) that come with the SDK.

Note that the SDK comes with SWDP rev1

To see the application working as expected with the SWDP installed you can look at http://bostonwest.sfbay.sun.com:8080/bpcatalog/. In the Ajax components look at the popup balloon example. It works fine without the SWDP installed, but if you install it an hit the same example you will get a 503 eror

In build 13 of the SDK, I used the workaround stated here and the only error I gat is the one stated in #73

glassfishrobot commented 17 years ago

@glassfishrobot Commented Was assigned to jsf-extensions-issues

glassfishrobot commented 7 years ago

@glassfishrobot Commented This issue was imported from java.net JIRA JSF_EXTENSIONS-72