>Dear friends,
>
>I got the following stack trace returned as html output after hitting the
>servlet:
>
>java.lang.NullPointerException at
>org.apache.jyve.screens.DisplayProjects.build(Compiled Code) at
>org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:122) at
>org.apache.jyve.screens.MainMenu.build(MainMenu.java:123) at
>org.apache.turbine.modules.ScreenLoader.eval(ScreenLoader.java:122) at
>org.apache.jyve.layouts.DefaultLayout.build(DefaultLayout.java:92) at
>org.apache.turbine.modules.LayoutLoader.exec(LayoutLoader.java:115) at
>org.apache.turbine.modules.pages.DefaultPage.build(DefaultPage.java:96)
at
>org.apache.turbine.modules.PageLoader.exec(PageLoader.java:115) at
>Turbine.doGet(Compiled Code) at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:499) at
>javax.servlet.http.HttpServlet.service(HttpServlet.java:588) at
>org.apache.jserv.JServConnection.processRequest(Compiled Code) at
>org.apache.jserv.JServConnection.run(Compiled Code) at
>java.lang.Thread.run(Compiled Code)
>
>Everything seems to be running well with apache and jserv. I'm using
todays
>snapshot's for both turbine and jyve. I noticed that a null pointer
>exception was spewed previously in the following code of file
>src/java/org/apache/jyve/screens/MainMenu.java (lines 100 & 101):
>
>String first_name =(String)data.user.getPerm(TurbineUserPeer.FIRST_NAME);
>String last_name = (String)data.user.getPerm(TurbineUserPeer.LAST_NAME);
>
>I changed this to the following just to see if it'll handle null names:
>
> String first_name = null ;
> String last_name = null ;
>
> if(data !=null &&
> data.user !=null) {
> // build some nice welcome text
> first_name
>=(String)data.user.getPerm(TurbineUserPeer.FIRST_NAME);
> last_name =
>(String)data.user.getPerm(TurbineUserPeer.LAST_NAME);
> }
>
I suspect that the images may not be loading propery to construct the
screen. There was only one image in the daily snapshot in the
./docs/jyve-app/images directory. I happened to make this directory the root
of the images in the TurbineResources file. Any ideas on where I might get
these images or if I'm wrong which is probably the case how can I fix this
problem. I'm really anxious to see jyve up and running.
Thanks all,
Alex O. Karasulu <<jserv.properties>> <<zone.properties>>
<<TurbineResources.properties>> <<jserv.conf>>
jserv.properties
zone.properties
TurbineResources.properties
jserv.conf