Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.6.1, 1.7DR#2
-
Component/s: Framework
-
Labels:None
-
Environment:Win XP / JDK 1.4 / Tomcat 5.5.17 / Liferay 4.3.0-RC1
-
Support Case References:
Description
I don't think this is portlet-specific, but the only way I could reproduce it quickly was to introduce the problem into a portlet I was working with.
The attached portlet uses just-ice.jar instead of icefaces.jar
In addition, the JobApplication.jspx page contains the following HTML fragment;
<p>hello</p>
And when the portlet is loaded on the page, the portlet is not displayed, and the following stacktrace appears in the console log:
18:07:23,040 ERROR [Parser:139] Failed to execute JSP lifecycle.
java.lang.NullPointerException
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:703)
at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:613)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:500)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
Recommend that the a Log4J warning be logged instead, and that any markup other than <ice: and <f: simply be ignored by the parser.
The attached portlet uses just-ice.jar instead of icefaces.jar
In addition, the JobApplication.jspx page contains the following HTML fragment;
<p>hello</p>
And when the portlet is loaded on the page, the portlet is not displayed, and the following stacktrace appears in the console log:
18:07:23,040 ERROR [Parser:139] Failed to execute JSP lifecycle.
java.lang.NullPointerException
at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:703)
at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:613)
at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:500)
at com.icesoft.faces.webapp.parser.Parser.executeJspLifecycle(Parser.java:162)
Recommend that the a Log4J warning be logged instead, and that any markup other than <ice: and <f: simply be ignored by the parser.
-
Hide
- sample-icefaces-sun-portlet.zip
- 4.38 MB
- Neil Griffin
-
- sample-icefaces-sun-portlet/build.xml 5 kB
- sample-icefaces-sun-portlet/Edit.jspx 3 kB
- sample-icefaces-sun-portlet/Help.jspx 2 kB
- sample-icefaces-sun-portlet/JobApplication.jspx 8 kB
- sample-icefaces-sun-portlet/.../context.xml 2 kB
- sample-icefaces-sun-portlet/.../ant-deploy.xml 2 kB
- sample-icefaces-sun-portlet/.../build-impl.xml 44 kB
- sample-icefaces-sun-portlet/.../genfiles.properties 0.4 kB
- sample-icefaces-sun-portlet/.../private.properties 6 kB
- sample-icefaces-sun-portlet/.../private.xml 0.2 kB
- sample-icefaces-sun-portlet/.../project.properties 6 kB
- sample-icefaces-sun-portlet/.../project.xml 8 kB
- sample-icefaces-sun-portlet/.../JobApplication.class 7 kB
- sample-icefaces-sun-portlet/.../commons-logging.properties 1 kB
- sample-icefaces-sun-portlet/.../Edit.properties 0.2 kB
- sample-icefaces-sun-portlet/.../Help.properties 1 kB
- sample-icefaces-sun-portlet/.../JobApplication.properties 2 kB
- sample-icefaces-sun-portlet/.../Language.properties 2 kB
- sample-icefaces-sun-portlet/.../log4j.properties 2 kB
- sample-icefaces-sun-portlet/.../log4j.xml 14 kB
- sample-icefaces-sun-portlet/.../faces-config.xml 3 kB
- sample-icefaces-sun-portlet/.../geronimo-web.xml 0.3 kB
- sample-icefaces-sun-portlet/.../backport-util-concurrent.jar 343 kB
- sample-icefaces-sun-portlet/.../commons-beanutils.jar 184 kB
- sample-icefaces-sun-portlet/.../commons-collections.jar 546 kB
- sample-icefaces-sun-portlet/.../commons-digester.jar 107 kB
- sample-icefaces-sun-portlet/.../commons-fileupload.jar 52 kB
- sample-icefaces-sun-portlet/.../commons-lang-2.1.jar 203 kB
- sample-icefaces-sun-portlet/.../commons-logging.jar 52 kB
- sample-icefaces-sun-portlet/.../commons-validator.jar 136 kB
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
This tab is subject to removal in future versions.