Skip to Content

B1IF Error ( of a null object loaded from local variable 'str')

B1IF suddenly started to fail, I get an error in 1 step, I have re installed and the error remains. Any idea how to solve?

***

#7803 --- 2019-10-19T23:59:30, millis=1571540370495

LevelSEVERELoggercom.sap.b1i.xcelleratorClass/Methodcom.sap.b1i.bizprocessor.BizProcException, dumpBPExThread

com.sap.b1i.bizprocessor.BizProcException: BPE001 Nested exception: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception:
java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'
	at com.sap.b1i.bizprocessor.AtomScheduler.process(AtomScheduler.java:189)
	at com.sap.b1i.bizprocessor.IncludeAtom.process(IncludeAtom.java:200)
	at com.sap.b1i.bizprocessor.IncludeAtom.processOuter(IncludeAtom.java:171)
	at com.sap.b1i.bizprocessor.BizProcessor.process(BizProcessor.java:452)
	at com.sap.b1i.xcellerator.IPOStepInstance.executeTransaction(IPOStepInstance.java:1094)
	at com.sap.b1i.xcellerator.IPOWorkResource.execute(IPOWorkResource.java:425)
	at com.sap.b1i.xcellerator.IPOStepInstance.executeInner(IPOStepInstance.java:683)
	at com.sap.b1i.xcellerator.IPOStepInstance.executeOuter(IPOStepInstance.java:518)
	at com.sap.b1i.xcellerator.Xcellerator.trigger(Xcellerator.java:1422)
	at com.sap.b1i.xcellerator.SingleAdapterPool.trigger(SingleAdapterPool.java:546)
	at com.sap.b1i.xcellerator.XclScheduler$JobRunner$JobThread.run(XclScheduler.java:295)
Caused by: com.sap.b1i.xcellerator.XcelleratorException: XCE001 Nested exception:
java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'
	at com.sap.b1i.xcellerator.IPOStepInstance.performSecIO(IPOStepInstance.java:952)
	at com.sap.b1i.xcellerator.IPOStepInstance.performSecIO(IPOStepInstance.java:975)
	at com.sap.b1i.xcellerator.XsPort.call(XsPort.java:72)
	at com.sap.b1i.bizprocessor.CallAtomClassInstance.execute(CallAtomClassInstance.java:70)
	at com.sap.b1i.bizprocessor.CallAtom.process(CallAtom.java:152)
	at com.sap.b1i.bizprocessor.AtomStatusToken.process(AtomStatusToken.java:433)
	at com.sap.b1i.bizprocessor.AtomScheduler.run(AtomScheduler.java:791)
	at com.sap.b1i.bizprocessor.BPThreadPool$BPRunnable.run(BPThreadPool.java:51)
	at com.sap.b1i.bizprocessor.QedWorkerThreadPool$QedWorkerThread$BeforeAfterThread.run(QedWorkerThreadPool.java:243)
	at com.sap.b1i.bizprocessor.QedWorkerThreadPool$QedWorkerThread.start(QedWorkerThreadPool.java:310)
	at com.sap.b1i.bizprocessor.BPThreadPool.createBPThread(BPThreadPool.java:77)
	at com.sap.b1i.bizprocessor.AtomScheduler.process(AtomScheduler.java:232)
	at com.sap.b1i.bizprocessor.IncludeAtom.process(IncludeAtom.java:200)
	at com.sap.b1i.bizprocessor.AtomStatusToken.process(AtomStatusToken.java:427)
	at com.sap.b1i.bizprocessor.AtomScheduler.run(AtomScheduler.java:791)
	at com.sap.b1i.bizprocessor.BPThreadPool$BPRunnable.run(BPThreadPool.java:51)
	at com.sap.b1i.bizprocessor.QedWorkerThreadPool$QedWorkerThread$BeforeAfterThread.run(QedWorkerThreadPool.java:243)
	at com.sap.b1i.bizprocessor.QedWorkerThreadPool$QedWorkerThread.start(QedWorkerThreadPool.java:310)
	at com.sap.b1i.bizprocessor.BPThreadPool.createBPThread(BPThreadPool.java:77)
	at com.sap.b1i.bizprocessor.AtomScheduler.process(AtomScheduler.java:232)
	at com.sap.b1i.bizprocessor.IncludeAtom.process(IncludeAtom.java:200)
	at com.sap.b1i.bizprocessor.AtomStatusToken.process(AtomStatusToken.java:427)
	at com.sap.b1i.bizprocessor.AtomScheduler.run(AtomScheduler.java:791)
	at com.sap.b1i.bizprocessor.BPThreadPool$BPRunnable.run(BPThreadPool.java:51)
	at com.sap.b1i.bizprocessor.QedWorkerThreadPool$QedWorkerThread$BeforeAfterThread.run(QedWorkerThreadPool.java:243)
	at com.sap.b1i.bizprocessor.QedWorkerThreadPool$QedWorkerThread.start(QedWorkerThreadPool.java:310)
	at com.sap.b1i.bizprocessor.BPThreadPool.createBPThread(BPThreadPool.java:77)
	at com.sap.b1i.bizprocessor.AtomScheduler.process(AtomScheduler.java:232)
	... 10 more
Caused by: java.lang.NullPointerException: while trying to invoke the method java.lang.String.length() of a null object loaded from local variable 'str'
	at java.util.StringTokenizer.<init>(StringTokenizer.java:199)
	at java.util.StringTokenizer.<init>(StringTokenizer.java:221)
	at com.sap.b1i.bizprocessor.PLTConvPool.getConvByMimeType(PLTConvPool.java:277)
	at com.sap.b1i.xcl_htta.HTTAAdapter.handleError(HTTAAdapter.java:1166)
	at com.sap.b1i.xcl_htta.HTTAAdapter.call(HTTAAdapter.java:1070)
	at com.sap.b1i.xcellerator.IPOStepInstance.handleIO(IPOStepInstance.java:1721)
	at com.sap.b1i.xcellerator.IPOStepInstance.performSecIO(IPOStepInstance.java:948)
	... 37 more

*****
Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • Posted on Oct 21, 2019 at 06:37 AM

    Hi,

    You process has a variable called str somewhere, probably in a query, or there may be a column or xml tag missing from a file. This causes that variable to be NULL (i.e. nothing) for the rest of the process. Apparently a next step is that the process tries to measure the length of the variable, and crashes because you cannot measure the length of nothing (technically speaking).

    You need to either change the process so that you also check that the variable is not nothing, or you need to check why the variable is NULL.

    Regards,

    Johan

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Oct 21, 2019 at 01:00 PM

    Hello

    I do not have variables or functions with that name, the error looks for it in the SAP portal and says:

    Solution This issue has been forwarded to Development for furthur investigation.

    I will review the XML but I think there will be no other to do the Step of 0.

    Slds BF

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.