Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only.

Join the TIBCO Community
TIBCO Community is a collaborative space for users to share knowledge and support one another in making the best use of TIBCO products and services. There are several TIBCO WebFOCUS resources in the community.

  • From the Home page, select Predict: WebFOCUS to view articles, questions, and trending articles.
  • Select Products from the top navigation bar, scroll, and then select the TIBCO WebFOCUS product page to view product overview, articles, and discussions.
  • Request access to the private WebFOCUS User Group (login required) to network with fellow members.

Former myibi community members should have received an email on 8/3/22 to activate their user accounts to join the community. Check your Spam folder for the email. Please get in touch with us at community@tibco.com for further assistance. Reference the community FAQ to learn more about the community.


Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Null pointer exception in wfapi sample application

Read-Only Read-Only Topic
Go
Search
Notify
Tools
[CLOSED] Null pointer exception in wfapi sample application
 Login/Join
 
Member
posted
I've updated the webfocus_client_root in the web.xml:


webfocus_client_root
C:\ibi\DevStudio76\client\wfc



I'm getting the following error message from the test application when attempting to login. I have no idea what parameter it's having a problem with. Any help would be appreciated.

java.lang.NullPointerException
at com.ibi.common.ApplicationValues.getIBIInitParameter(ApplicationValues.java:176)
at ibi.webfoc.wfutil.WFVariableValidation.init(WFVariableValidation.java:57)
at ibi.webfoc.wfutil.WFVariableValidation.validate(WFVariableValidation.java:96)
at ibi.webfoc.WFRequestWorker.setWFVarsfromQuery(WFRequestWorker.java:1254)
at ibi.webfoc.WFRequestWorker.preInitializeContext(WFRequestWorker.java:505)
at ibi.webfoc.WFRequestWorker.processRequest(WFRequestWorker.java:557)
at ibi.webfoc.WFRequestWorker.processRequest(WFRequestWorker.java:528)
at ibi.webfoc.WFWorkerUtil.processRequest(WFWorkerUtil.java:414)
at ibi.webfoc.WFWorkerUtil.processRequest(WFWorkerUtil.java:332)
at com.ibi.ajs.wfapi.samples.WfApiRequestHandler.execute(WfApiRequestHandler.java:73)
at com.ibi.ajs.wfapi.samples.WfApiRequestHandler.webFocusLogOn(WfApiRequestHandler.java:137)
at com.ibi.ajs.wfapi.LoginAction.execute(LoginAction.java:62)
at com.ibi.ajs.wfapi.ApplController.doRequest(ApplController.java:88)
at com.ibi.ajs.wfapi.ApplController.doPost(ApplController.java:50)
... trimmed ...

Thanks,
Dave

This message has been edited. Last edited by: Kerry,


WebFocus 7.6.11 on Linux for X64 (Intel, AMD) 64 bit - Licensed Cores: 4
HTML, PDF, CSV
 
Posts: 14 | Registered: November 16, 2011Report This Post
Expert
posted Hide Post
Hi Dave,

Suggestions from our technicals: Please check the jar file. The WFAPI.jar file is distributed in the folder:
\install\ibi\WebFOCUS76\samples\webapps\wfapi\WEB-INF\lib\
Try adding it to the classpath. If that doesn’t work, then please open a case for assistance. You may either call at 1-800-736-6130, or access online at InfoResponse.

Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1948 | Location: New York | Registered: November 16, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

Focal Point    Focal Point Forums  Hop To Forum Categories  WebFOCUS/FOCUS Forum on Focal Point     [CLOSED] Null pointer exception in wfapi sample application

Copyright © 1996-2020 Information Builders