Hi I had been working without issue in my local and I went formspider the error mentioned in An Error ocurred browser. Please contact your system administrator. In the tomcat window appears. java.lang.NullPointerException What can it be? |
Hi Carlos, The NullPointerExceptions generally tell us that Formspider Middletier isn't able to get a connection from Oracle Database. There may be several reasons for that:
To solve this connection problem: #1. Stop Tomcat. #2. Make sure that there are similar lines in your web.xml like those below.
Please keep in mind this param-value of your web.xml. #3. If there is a context.xml file inside Tomcat/webapps/fs-1.3.0/META-INF/ directory, make sure that there are similar lines in this context.xml like those below.
Please fill database url, port, sid and formspider schema name and password with yours; and make sure that name parameter is the same as the param-value that you have kept in mind from #2. #4. If there is not a context.xml file inside Tomcat/webapps/fs-1.3.0/META-INF/ directory, make sure that there are similar lines in the context.xml inside Tomcat/conf/ directory like those below.
Please fill database url, port, sid and formspider schema name and password with yours; and make sure that name parameter is the same as the param-value that you have kept in mind from #2. #5. After you are sure about the above, and still getting NullPointerException. You should replace your ojdbc dirver JAR file with another.
I hope this helps, Best Regards, Hi In local installation. The strange thing happened to me on 2 different local installations.
(18 Jul '13, 08:44)
Carlos Mayorga
|
Hi Indeed the problem was presented by changes in the ip of the computer, which caused disconnect to database. Thank you very much for the cooperation. It's good to hear you've found the cause of your problem.
(18 Jul '13, 15:22)
asdr ♦
|
Hi Carlos,
Is this happening in Formspider Online (Cloud) or in your local installation?