-
1. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
unibrew Dec 21, 2006 6:40 AM (in response to j0ke)Hi
You have JBoss AS 2.4 ? That's something new ;-)
Nevertheless, don't use old ForumsPortlet instance. Use ForumsJSFPortlet instance, this one should work fine.
Regards
----------------------
Ryszard Kozmik
JBoss Forums Lead
JBoss Labs Team -
2. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
j0ke Dec 21, 2006 7:41 AM (in response to j0ke)ah i mean Jboss AS 4.4 :) ( 4.0.4 ) haha sorry :) not enought coffee today i think :)
i try JSFForumInstance
and get
An error occured while rendering window 'default.JOKeTest.JSF Forum'
java.lang.NullPointerException: serialFactory
:)
Caused by: java.lang.NullPointerException: serialFactory
at org.apache.myfaces.shared_impl.util.StateUtils.getAsByteArray(StateUtils.java:174)
at org.apache.myfaces.shared_impl.util.StateUtils.construct(StateUtils.java:150)
at org.apache.myfaces.renderkit.html.HtmlResponseStateManager.writeState(HtmlResponseStateMana
at org.apache.myfaces.application.jsp.JspStateManagerImpl.writeState(JspStateManagerImpl.java:
at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:465)
at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384)
at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java
at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java
at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379
at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265)
at org.jboss.portlet.forums.ui.ForumsJSFPortlet.doView(ForumsJSFPortlet.java:111)
... 240 more -
3. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
j0ke Dec 21, 2006 7:48 AM (in response to j0ke)lol this is very strange
Line 111 is :
if(categoryId != null && categoryId.trim().length() > 0)
response.setRenderParameter("c", categoryId); -
4. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
j0ke Dec 21, 2006 7:53 AM (in response to j0ke)but im using decompiler :) so .. maybe there is some comments that i dont see and that is not line 111
-
5. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
unibrew Dec 21, 2006 7:56 AM (in response to j0ke)hehe yes but it is JSF/Facelets, every bug connected with it is weird. You might look at newer sources than binaries which you use.
The sollution of this bug is available in SVN. It is very simple:<listener> <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class> </listener>
is missing in web.xml.
So, you might wanna download newest sources where those lines are added and in fact many other bugs are solved. Or add them by yourself ;-).
Cheers
----------------------
Ryszard Kozmik
JBoss Forums Lead
JBoss Labs Team -
6. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
unibrew Dec 21, 2006 8:01 AM (in response to j0ke)hehe you posted about using decompiler while I was writing. Whatsoever, try newest sources :-)
-
7. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
j0ke Dec 21, 2006 9:14 AM (in response to j0ke)oki :)
but it will be good to make beta build :+))
i check the other topics i think there is one 100% similiar with this one :) -
8. Re: Problem with JBoss 2.4 + JBoss Portal 2.6 DR1 + JBoss Fo
unibrew Dec 21, 2006 9:29 AM (in response to j0ke)Another build will be 1.0.0 Beta release ( http://jira.jboss.com/jira/browse/JBFORUMS?report=com.atlassian.jira.plugin.system.project:roadmap-panel). I'm closing to it but still there will be many more tasks for complete design/L&F change.
And yes there was a thread like that before. Deja vu ;-)