cancel
Showing results for 
Search instead for 
Did you mean: 

java.lang.NullPointerException

Former Member
0 Kudos

Greetings, everyone...

We are configured SAP to send IDocs to BC. And have also completed routing rule settings in BC to accept the inbound IDoc.

However, when we send the IDoc to BC using tRFC, the following Java error is posted:

00000 2008-08-11 15:38:31 CEST

000001 Log level set to 4

000002 Registered SAP package trace with core trace

000003 Loading native libraries

000004 JCO version: 2.1.0 (2003-04-24) sapjcorfc 2.1.0 (2003-04-24)

000005 jRFCLibrary info: 2.1.0 (2003-04-24)(C:sapbc47ServerpackagesSAPcodelibssapjcorfc.dll)

000006 RfcLibrary version: 620,0,846

000007 SAP Listener started: SAPBC at 172.28.xxx.16(sapgw01)

000008 Starting Listener for SAPBC on 172.28.xxx.16(sapgw01)

000009 Accepting requests for SAPBC on 172.28.xxx.16(sapgw01)

00000A Inbound tRfc: Check 0A0A0B1C107448A042755A1A

00000B Error in SAP Listener: com.sap.mw.jco.JCO$Exception: (123) JCO_ERROR_FUNCTION_NOT_FOUND: Server repository could not create function template 'ä¥Âu201Eä½Âu0192å½Âu2030ä¹Âu201Aä½Âu2022ä¹Âu201Eå½Â�Ã¥Â�Âu2122ä¹Âu0192ä¡Âu2019'

caused by: com.sap.mw.jco.JCO$AbapException: (126) FU_NOT_FOUND: FU_NOT_FOUND

00000C Error in SAP Listener: com.sap.mw.jco.JCO$Exception: (120) JCO_ERROR_EXTENSION: JCO.Server could not create server function 'ä¥Âu201Eä½Âu0192å½Âu2030ä¹Âu201Aä½Âu2022ä¹Âu201Eå½Â�Ã¥Â�Âu2122ä¹Âu0192ä¡Âu2019'

00000D Inbound tRfc: Rollback 0A0A0B1C107448A042755A1A

00000E Listener SAPBC on 172.28.xxx.16 is currently dead or stopped

And in SM58 we get Java.lang.NullPointerExceptions. I'm fresh out of ideas. Any help would be greatly appreciated.

Best Regards,

FK

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Can you check if you RFC destination in SM59 is working. If it is working check if there is any log on BC. If there is no log, it could happen that the port to which the idoc is being sent is incorrect, cross check for the same.

Former Member
0 Kudos

Hello,

Thank you for your reply. RFC destination is working. I find out these trace files :

rfc02928_00324.trc:

        • Trace file opened at 20080811 202133 Westeuropäische, SAP-REL 620,0,846 RFC-VER 3 569712 MT-SL

<* RfcClose

<* RfcDispatch : returns 6:RFC_CLOSED

*> RfcAcceptExt: -g"172.28.xx.16" -x"sapgw01" -a"SAPBC" -t

*> RfcRegisterProgram ...

Server Program ID = SAPBC

Host name of Gateway = 172.28.xx.16

Service of Gateway = 3301

RFC-Trace = ON

SNC Own Name =

SNC Library Name =

RFC Handle = 15

<* RfcRegisterProgram ended successfully

-

-


dev_rfc.trc:

        • ERROR file opened at 20080811 202133 Westeuropäische, SAP-REL 620,0,846 RFC-VER 3 569712 MT-SL

T:2616 <* RfcDispatch : returns 1:RFC_FAILURE

<* RfcAcceptExt ended successfully *>

In SM58 we get nullPointerException see screenshot

Former Member
0 Kudos

It was Unicode problem on sap bc listener!

Answers (0)