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.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion
Field | Original Value | New Value |
---|---|---|
Attachment | sample-icefaces-sun-portlet.zip [ 10455 ] |
Support Case References | https://www.icesoft.ca:4443/supportilla/show_bug.cgi?id=4282 |
Fix Version/s | 1.6.2 [ 10111 ] | |
Fix Version/s | 1.7DR#3 [ 10112 ] |
Affects Version/s | 1.7DR#2 [ 10110 ] | |
Affects Version/s | 1.6.1 [ 10070 ] | |
Affects Version/s | 1.6DR#5 [ 10071 ] |
Status | Open [ 1 ] | Resolved [ 5 ] |
Resolution | Fixed [ 1 ] |
Fix Version/s | 1.7 [ 10080 ] |
Status | Resolved [ 5 ] | Closed [ 6 ] |