Focal Point
htmlform with WFServlet

This topic can be found at:
https://forums.informationbuilders.com/eve/forums/a/tpc/f/7971057331/m/5921004012

January 30, 2007, 11:41 AM
CHERI
htmlform with WFServlet
We are using WF 5.23, before upgrading to 7 I need to make sure all our programs are using the WFServlet call.
I am tring to run focexec AAA via
http://servername/ibi_apps/WFServlet?IBIF_ex=AAA
focexec AAA contains -HTMLFORM formname
the call should execute focexec AAA which should execute the html page named formname.
I getting the following -
Error. The server encountered an unexpected condition which prevented it from fulfilling the request.


java.lang.NullPointerException
at ibi.webfoc.wfapi.WFReport.(WFReport.java:449)
at ibi.webfoc.wfapi.WFPresentation.(WFPresentation.java:194)
at ibi.webfoc.wfapi.WFSession.getPresentation(WFSession.java:182)
at ibi.webfoc.WFServlet.processRequest(WFServlet.java:540)
at ibi.webfoc.WFServlet.doGet(WFServlet.java:357)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at ibi.srv.util.IBIHttpServlet.service(IBIHttpServlet.java:87)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at ibi.srv.util.IBIHttpServlet.service(IBIHttpServlet.java:96)
at com.newatlanta.servletexec.ServletExec.CallServletService(ServletExec.java:1679)
at com.newatlanta.servletexec.SERequestDispatcher.forwardServlet(SERequestDispatcher.java:274)
at com.newatlanta.servletexec.SERequestDispatcher.forward(SERequestDispatcher.java:191)
at com.newatlanta.servletexec.ApplicationInfo.processApplRequest(ApplicationInfo.java:1390)
at com.newatlanta.servletexec.ServerHostInfo.processApplRequest(ServerHostInfo.java:1243)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1235)
at com.newatlanta.servletexec.ServletExec.ProcessRequest(ServletExec.java:1113)

has anyone encounter this before ?
January 30, 2007, 11:49 AM
TexasStingray
It's hard to say what is causing the problem but if it runs in 5.23 and not 7.16 which is the latest 7.1 version then there could be a coding error that go tightened up. As version get higher and higher there are generally enhancements made to the core language to improve performance and clean up code. you might try breaking up the program into steps and debug it step by step.

Hope this helps




Scott

Cheri
new atlanta isn't part of 7 , its not the current fashion, tomcat is.
you have to buy new atlanta with a separate license from new atlanta directly.
rumor has it that the old new atlanta (your 5 version) will work
but tomcat is what folks are using now, if you dont want to shell out a thousand bucks for a new atlanta license.
Did you know that already, and you do in fact have a new new atlanta?




In Focus since 1979///7706m/5 ;wintel 2008/64;OAM security; Oracle db, ///MRE/BID
we haven't upgraded to 7 yet. We are still on 5.23 this error is occurring on 5.23. We normally use the cgi-bin call but I've been told we need to start using WFServlet. So I'm starting to switch everything to WFServlet and am encountering this error.
Hi Cheri,
Do you have 7x available yet on a test server? That would be a much better test. The java.lang.NullPointerException could be anything.
Regards,
Rich


WebFOCUS 8202 Win 2012
Test - WebFOCUS 8203 on Win 2012
No, the problem is once we install 7 on our development server we need to test ASAP and move to our production server. Since I understand that cgi-bin is no longer supported with 7 we need to change all the cgi-bin calls to WFServlet before installing 7. We have a few hundred reports and won't have the time to change them all before installing 7 on our production server. I know WFServlet is supported in 5.23 (which we are currently using) because some of our call use WFServle just not all of them, we have a mixture. The problem I'm having is when I call a focexec that calls a html page.
Hi Cheri and all,

For your reference: in release 7.1, CGI is supported for self-service apps. GUI tools will not support CGI (Managed Reporting, ReportCaster).
In release 7.6 CGI is NOT installed out of the box.

Hope this helps. Smiler

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.