Folks,
I got
the attached exception recently after I upgraded orion from 1.5.2 to
1.5.4. Furthermore, this is a _random_ error, I could not reproduce
it. I could not figure out the pattern to generate this error. Once
I got this exception for a particular action (I'm using struts as well), I would
get the same exception no matter what I do (e.g. logout and relogon) until I
restarted the orion server. I already tried to switch back to 1.5.2,
however, I still got the same exception, it might imply this is not an upgrade
problem. It might not even the orion's problem, may be struts?? Any
thoughts? Please advise.
I got
another interesting scenario as follows regarding development
mode:
For setting
up my production environment, I disabled the development mode of orion.
However, whenever I do a search (via a searching screen to specify all required
parameters and displays the result in another page), it only works for the
"first" time (after the server is started up). And, if I do the search
again, it would return only one record (until I restart the server
again) ?? (I already turned on spy, the sql statement is correct).
Once I enable the development mode again, I'm fine.
P.S.
FYI, besides
the orion server upgrade, I changed my deployment structure as
follows:
<!--
orion
directory with orion's jar only
-->
[orion-dir]/1.5.4
/1.5.2
<!--
application
directory which includes lib, config, applications, application-deployment, lib,
log, persistence, etc.
-->
[app-dir]/config
/applications/my.ear
/applicaton-deployment
...
Thanks in
advance!
Chris
500 Internal Server Error
java.lang.NullPointerException
at com.evermind[Orion/1.5.4 (build 10585)].util.ByteString.<init>(.:88)
at com.evermind[Orion/1.5.4 (build 10585)]._cp.getRequestDispatcher(.:906)
at org.apache.struts.action.ActionServlet.processActionForward(ActionServlet.java:1757)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1595)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:491)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:195)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:309)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:336)
at com.evermind[Orion/1.5.4 (build 10585)]._deb._lnc(.:514)
at com.evermind[Orion/1.5.4 (build 10585)]._deb._wmb(.:170)
at com.evermind[Orion/1.5.4 (build 10585)]._co._wbb(.:581)
at com.evermind[Orion/1.5.4 (build 10585)]._co._fs(.:189)
at com.evermind[Orion/1.5.4 (build 10585)]._bt.run(.! :62)