on 12-14-2009 5:07 AM
Hi,
We are calling a remote enabled function module from a Java Application using JCO . Export parameters are correctly mapped
but still the null pointer exception is being thrown. The ABAP function module when checked in R/3 is working fine and do not
send null values. We have checked that the FM is remote enabled. What could be the possible reasons when an ABAP function module may throw null pointer exception.
Any help would be appreciated. Thanks in advance!
Regards,
Anupama
The FM was not Remote enabled and therefore null pointer exception was thrown
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please provide extracts from the exception stack trace.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The trace files say :-
#1.5 #0013725245390071000016AE000027E800047A70D2F4F5EF#1260524900682#com.sap.portal.prt.runtime#sap.com/irj#com.sap.portal.prt.runtime#appnz3_qtr#21196##SKNXDSAP02AS.nab_DL0_2819450#appnz3_qtr#4da38fb0e63a11deb900001372524539#SAPEngine_Application_Thread[impl:3]_11##0#0#Error##Java###08:48_11/12/09_0024_2819450
[EXCEPTION]
#1#java.lang.NullPointerException
at com.thenational.isi.manageleave.DataBean.getAbsenceTypeDataFromSAP(DataBean.java:269)
at com.thenational.isi.manageleave.DataBean.<init>(DataBean.java:145)
at com.thenational.isi.manageleave.Applyforleave.doInitialization(Applyforleave.java:61)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:108)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.