The initial smoke test of 2.1.17 shows a problem immediately upon deployment:
Caused by: java.lang.NullPointerException
at org.icefaces.util.EnvUtils.getViewParam(EnvUtils.java:750)
at org.icefaces.util.EnvUtils.isFocusManaged(EnvUtils.java:309)
at org.icefaces.impl.event.BridgeSetup.<init>(BridgeSetup.java:62)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
at java.lang.Class.newInstance0(Class.java:355)
at java.lang.Class.newInstance(Class.java:308)
at com.sun.faces.config.processor.AbstractConfigProcessor.createInstance(AbstractConfigProcessor.java:268)
Some quick troubleshooting shows that code around UIViewRoot.getViewMap has changed. It looks like during the BridgeSetup constructor we look for some information in the view map. Previously this view map likely empty but never null. The new code now returns a valid UIViewRoot but returns null when from getViewMap. This is likely a regression so I'll open up a case with Mojarra as well. In the meantime, a simple null check should get us over the bump.
After including that change to our code:
- smoke testing of showcase looks fine
- the issue in
ICE-8851 where QA was getting an NPE during deployment appears to be gone
- the case we had logged against 2.1.16 appears to be fixed
Mojarra 2.1.18 is now supported. An issue exists with 2.1.17 that prevents its use, however.