[Yanel-dev] Exception re Welcome screen
Michael Wechner
michael.wechner at wyona.com
Sun Jul 26 18:48:54 CEST 2009
Prabodh Upreti schrieb:
> Hi Guillaume
>
> Please find zip find with the below fix. I was initializing the
> session variable on the constructor which required calls to
> getRealm().getName() and getResourceConfigProperty which was throwing
> an exception. I have moved that to a new method which seems to fix
> the problem. my-global.xsl.yanel-rc has been modified with
> unique-session-key and a random value to create the uniqu session string.
>
> Also, I have zipped the file from my linux instance so you should not
> get an error opening the file. I have still to try out your other
> instructions which I will try out shortly. Thank you.
thanks very much. I have applied the patch.
Cheers
Michael
>
> Prabodh
>
> ------------------------------------------------------------------------
> *From:* Michael Wechner <michael.wechner at wyona.com>
> *To:* yanel-development at wyona.com
> *Sent:* Friday, July 10, 2009 6:25:08 PM
> *Subject:* Re: [Yanel-dev] Exception re Welcome screen
>
> Prabodh Upreti schrieb:
> > Let me look at this and make a fix. Thanks.
>
> thanks very much for taking care of this
>
> Cheers
>
> Michael
> > Prabodh
> >
> > ------------------------------------------------------------------------
> > *From:* Michael Wechner <michael.wechner at wyona.com
> <mailto:michael.wechner at wyona.com>>
> > *To:* yanel-development at wyona.com <mailto:yanel-development at wyona.com>
> > *Sent:* Friday, July 10, 2009 5:04:56 PM
> > *Subject:* Re: [Yanel-dev] Exception re Welcome screen
> >
> > Michael Wechner schrieb:
> > > Hi
> > >
> > > When loading the welcome screen
> > >
> > > http://127.0.0.1:8080/yanel/
> > >
> > > , then one receives within the log4j file the following exception
> >
> > btw, after a second startup this exception doesn't show up anymore,
> so I guess because of the created session (cookie based) something
> doesn't exist in the
> > first place, whereas the LayoutSelector makes a wrong assumption.
> >
> > Cheers
> >
> > Michael
> > >
> > > 89529 2009-07-10 22:47:05,228 [http-8080-Processor24] ERROR
> org.wyona.yanel.impl.resources.layoutselector.LayoutSelector.<init>():58
> - error initializing template version checker session string
> > > 89530 2009-07-10 22:47:05,229 [http-8080-Processor24] ERROR
> org.wyona.yanel.impl.resources.layoutselector.LayoutSelector.<init>():59
> - java.lang.NullPointerException
> > > java.lang.NullPointerException
> > > at
> org.wyona.yanel.impl.resources.layoutselector.LayoutSelector.<init>(LayoutSelector.java:56)
>
> > > 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:494)
> > > at java.lang.Class.newInstance0(Class.java:350)
> > > at java.lang.Class.newInstance(Class.java:303)
> > > at
> org.wyona.yanel.core.ResourceManager.getResource(ResourceManager.java:89)
> > > at
> org.wyona.yanel.servlet.YanelServlet.getGlobalData(YanelServlet.java:1733)
>
> > > at
> org.wyona.yanel.servlet.YanelServlet.service(YanelServlet.java:199)
> > > at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> > > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
>
> > > at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> > > at
> org.wyona.yanel.servlet.communication.YanelFilter.doFilter(YanelFilter.java:37)
>
> > > at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
>
> > > at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
>
> > > at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
>
> > > at
> org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
>
> > > at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
>
> > > at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
>
> > > at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
>
> > > at
> org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
>
> > > at
> org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
>
> > > at
> org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
>
> > > at org.apache.tomcat.util.net
> <http://org.apache.tomcat.util.net>
> <http://org.apache.tomcat.util.net.pooltcpendpoint.pro/>.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527
> <http://org.apache.tomcat.util.net.pooltcpendpoint.pro/%3E.PoolTcpEndpoint.processSocket%28PoolTcpEndpoint.java:527>)
>
> > > at org.apache.tomcat.util.net
> <http://org.apache.tomcat.util.net.leaderfollowerworkerthread.ru/>.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80
> <http://org.apache.tomcat.util.net.leaderfollowerworkerthread.ru/%3E.LeaderFollowerWorkerThread.runIt%28LeaderFollowerWorkerThread.java:80>)
>
> > > at
> org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
>
> > > at java.lang.Thread.run(Thread.java:613)
> > >
> > >
> > > It doesn't seem to hurt, but it doesn't look very nice either.
> > >
> > > Any idea how to fix this?
> > >
> > > Thanks
> > >
> > > Michi
> >
> > -- Yanel-development mailing list Yanel-development at wyona.com
> <mailto:Yanel-development at wyona.com>
> <mailto:Yanel-development at wyona.com <mailto:Yanel-development at wyona.com>>
> > http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
> >
>
> -- Yanel-development mailing list Yanel-development at wyona.com
> <mailto:Yanel-development at wyona.com>
> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
More information about the Yanel-development
mailing list