[Yanel-dev] Strange exception, but which doesn't seem to hurt

Prabodh Upreti pupreti at yahoo.com
Fri Jun 19 22:17:46 CEST 2009


Hi Michael
=A0
This exception maybe due to=A0a missing "layout_name" as part of =

=A0
<yanel:property name=3D"layout_name" value=3D"welcome"/>
.
=A0
I will change this is to unique->>session-key as per your other email and a=
lso make sure that the below exception is related to this field.=A0I will s=
end you an update=A0once I confirm/fix this.=A0 =A0Thank you.
=A0
Regards
=A0
Prabodh

--- On Fri, 6/19/09, Michael Wechner <michael.wechner at wyona.com> wrote:


From: Michael Wechner <michael.wechner at wyona.com>
Subject: [Yanel-dev] Strange exception, but which doesn't seem to hurt
To: yanel-development at wyona.com
Date: Friday, June 19, 2009, 5:36 AM


Dear Prabodh

One more thing which I have noticed. When calling

http://127.0.0.1:8080/yanel/from-scratch-realm/de/index.html

and looking at the log-files

tail -f build/logs/log4j-cnode1.log

then one notices the following exception


113095 2009-06-19 11:31:41,260 [http-8080-Processor24] ERROR org.wyona.yane=
l.impl.resources.layoutselector.LayoutSelector.<init>():58=A0 - error initi=
alizing template version checker session string
113096 2009-06-19 11:31:41,261 [http-8080-Processor24] ERROR org.wyona.yane=
l.impl.resources.layoutselector.LayoutSelector.<init>():59=A0 - java.lang.N=
ullPointerException
java.lang.NullPointerException
=A0 =A0 =A0=A0=A0at org.wyona.yanel.impl.resources.layoutselector.LayoutSel=
ector.<init>(LayoutSelector.java:56)
=A0 =A0 =A0=A0=A0at sun.reflect.GeneratedConstructorAccessor39.newInstance(=
Unknown Source)
=A0 =A0 =A0=A0=A0at sun.reflect.DelegatingConstructorAccessorImpl.newInstan=
ce(DelegatingConstructorAccessorImpl.java:27)
=A0 =A0 =A0=A0=A0at java.lang.reflect.Constructor.newInstance(Constructor.j=
ava:494)
=A0 =A0 =A0=A0=A0at java.lang.Class.newInstance0(Class.java:350)
=A0 =A0 =A0=A0=A0at java.lang.Class.newInstance(Class.java:303)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.core.ResourceManager.getResource(Resour=
ceManager.java:89)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.core.ResourceManager.getResource(Resour=
ceManager.java:119)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.core.source.ResourceResolver.resolve(Re=
sourceResolver.java:59)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.impl.resources.BasicXMLResource.getXMLV=
iew(BasicXMLResource.java:264)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.impl.resources.XMLResource.getView(XMLR=
esource.java:73)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.impl.resources.XMLResource.getView(XMLR=
esource.java:63)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.servlet.YanelServlet.getContent(YanelSe=
rvlet.java:436)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.servlet.YanelServlet.doGet(YanelServlet=
.java:286)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.servlet.YanelServlet.service(YanelServl=
et.java:215)
=A0 =A0 =A0=A0=A0at javax.servlet.http.HttpServlet.service(HttpServlet.java=
:802)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.ApplicationFilterChain.interna=
lDoFilter(ApplicationFilterChain.java:252)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.ApplicationFilterChain.doFilte=
r(ApplicationFilterChain.java:173)
=A0 =A0 =A0=A0=A0at org.wyona.yanel.servlet.communication.YanelFilter.doFil=
ter(YanelFilter.java:37)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.ApplicationFilterChain.interna=
lDoFilter(ApplicationFilterChain.java:202)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.ApplicationFilterChain.doFilte=
r(ApplicationFilterChain.java:173)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.StandardWrapperValve.invoke(St=
andardWrapperValve.java:213)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.StandardContextValve.invoke(St=
andardContextValve.java:178)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.StandardHostValve.invoke(Stand=
ardHostValve.java:126)
=A0 =A0 =A0=A0=A0at org.apache.catalina.valves.ErrorReportValve.invoke(Erro=
rReportValve.java:105)
=A0 =A0 =A0=A0=A0at org.apache.catalina.core.StandardEngineValve.invoke(Sta=
ndardEngineValve.java:107)
=A0 =A0 =A0=A0=A0at org.apache.catalina.connector.CoyoteAdapter.service(Coy=
oteAdapter.java:148)
=A0 =A0 =A0=A0=A0at org.apache.coyote.http11.Http11Processor.process(Http11=
Processor.java:869)
=A0 =A0 =A0=A0=A0at org.apache.coyote.http11.Http11BaseProtocol$Http11Conne=
ctionHandler.processConnection(Http11BaseProtocol.java:664)
=A0 =A0 =A0=A0=A0at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocke=
t(PoolTcpEndpoint.java:527)
=A0 =A0 =A0=A0=A0at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.r=
unIt(LeaderFollowerWorkerThread.java:80)
=A0 =A0 =A0=A0=A0at org.apache.tomcat.util.threads.ThreadPool$ControlRunnab=
le.run(ThreadPool.java:684)
=A0 =A0 =A0=A0=A0at java.lang.Thread.run(Thread.java:595)

whereas in order to see please update your local SVN

Sende=A0 =A0 =A0 =A0 =A0 src/realms/from-scratch-realm-template/res-types/l=
ayoutselector/src/java/org/wyona/yanel/impl/resources/layoutselector/Layout=
Selector.java
=DCbertrage Daten .
Revision 43262 =FCbertragen.

Maybe you can try to figure out why this problem actually occurs, whereas a=
s mentioned within the subject it doesn't seem to hurt

Thanks

Michael
-- Yanel-development mailing list Yanel-development at wyona.com
http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development



      =

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://wyona.com/pipermail/yanel-development/attachments/20090619/618d=
9028/attachment.htm


More information about the Yanel-development mailing list