[opencms-dev] Installation Step 5 (/opencms/ocsetup) gives Null Pointer Exception

Manfred Pruntsch manfred.pruntsch at ifcos.com
Wed Aug 21 10:12:00 CEST 2002


Hi Karsten,

be sure to use jdk and not jre...
check it.
Does tomcat work properly? Do you get the example page?

best regards
Manfred



> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org
> [mailto:owner-opencms-dev at www.opencms.org]On Behalf Of Carsten Kaemmerer
> Sent: Tuesday, August 20, 2002 10:16 PM
> To: opencms-dev at opencms.com
> Subject: [opencms-dev] Installation Step 5 (/opencms/ocsetup) gives Null
> Pointer Exception
>
>
> Hi all!
>
> I just tried to install OpenCms with no success.
>
> Used Versions:
> linux (debian woody),
> tomcat4 (4.0.3),
> j2sdk1.4.0 from Sun,
> opencms_4.6.1_major.zip
>
> I followed the instructions in install.html and at step 5 (browse to the
> 'Setup-Wizard'), I called 'http://localhost:8180/opencms/ocsetup'.  (The
> tomcat4 from debian woody seems to listen on port 8180.)
>
> Then I get the following Page with a Trace, caused by a
> 'java.lang.NullPointerException'.
>
> Uups, whats wrong here?
>
> Page Output:
> -----------------------------------------------------------------
> Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error
>
>
>
> type Exception report
>
> message Internal Server Error
>
> description The server encountered an internal error (Internal Server
> Error) that prevented it from fulfilling this request.
>
> exception
>
> java.lang.NullPointerException
> at com.opencms.boot.CmsSetup.getWizardEnabled(CmsSetup.java:1019)
> at org.apache.jsp.index$ocjsp._jspService(index$ocjsp.java:113)
> at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:107)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(Jsp
> Servlet.java:202)
> at
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
> at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(A
> pplicationFilterChain.java:247)
> at
> org.apache.catalina.core.ApplicationFilterChain.access$0(Applicati
> onFilterChain.java:197)
> at
> org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationF
> ilterChain.java:176)
> at java.security.AccessController.doPrivileged(Native Method)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(Applicati
> onFilterChain.java:172)
> at
> org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapp
> erValve.java:243)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContextValve.invoke(StandardConte
> xtValve.java:190)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
> at
> org.apache.catalina.core.StandardHostValve.invoke(StandardHostValv
> e.java:180)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:566)
> at
> org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispat
> cherValve.java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:564)
> at
> org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValv
> e.java:170)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:564)
> at
> org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:564)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.core.StandardEngineValve.invoke(StandardEngine
> Valve.java:174)
> at
> org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipel
> ine.java:566)
> at
> org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.
> java:472)
> at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
> at
> org.apache.catalina.connector.http.HttpProcessor.process(HttpProce
> ssor.java:1012)
> at
> org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor
> .java:1107)
> at java.lang.Thread.run(Thread.java:539)
> -----------------------------------------------------------------
>
> Anybody any idea?
>
> Thanks in advance,
>
> 	Carsten Kaemmerer
>




More information about the opencms-dev mailing list