cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Translate the entire conversation x

Error message: java.lang.NullPointerException" in Windchill Enterprise Systems Integration

KP_12912900
2-Explorer

Error message: java.lang.NullPointerException" in Windchill Enterprise Systems Integration

I am using Windchill PDMLink Release 12.1 and Datecode with CPS 12.1.0.2

Error message: java.lang.NullPointerException" in Windchill Enterprise Systems Integration

Here are the errors that I faced
Error message: java.lang.NullPointerException" in Windchill Enterprise Systems Integration
9 REPLIES 9
Fadel
23-Emerald I
(To:KP_12912900)

Can you attach the stack trace from the Method server log , we can't do much with 

 java.lang.NullPointerException" in Windchill Enterprise Systems Integration 

Fede
KP_12912900
2-Explorer
(To:Fadel)

I have attached the log, it is info engine task issue, it is not getting invoked. the payload is not generating

Hi @KP_12912900,

Where exactly are you encountering this error?

Could you please attach some screenshots along with the Method Server logs?

KP_12912900
2-Explorer
(To:TDT)

attached log

Your custom class is throwing a NullPointerException.

You will need to review and correct the logic.

ext.intel.integration.renderer.ECMPartRenderer.adjustPartElement(ECMPartRenderer.java:165)

KP_12912900
2-Explorer
(To:TDT)

It is because of the task file not invoking. custom code was not the issue earlier.

Fadel
23-Emerald I
(To:KP_12912900)

the NPE  is coming from your custom code 

 

ESIResponseGenerator.generateResponse: com.ptc.windchill.esi.rnd.ESIRendererException: java.lang.NullPointerException
Nested exception is: java.lang.NullPointerException
at ext.intel.integration.renderer.ECMPartRenderer.adjustPartElement(ECMPartRenderer.java:165)
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.mapPartElement(ESIWTPartRenderer.java:878)
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.addPartToElement(ESIWTPartRenderer.java:1069)
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.buildGroups(ESIWTPartRenderer.java:507)
at com.ptc.windchill.esi.rnd.BasicESIRenderer.render(BasicESIRenderer.java:1155)
at com.ptc.windchill.esi.esipart.ESIWTPartRenderer.getPart(ESIWTPartRenderer.java:704)
at com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer.buildDetail(ESIWTChangeOrder2Renderer.java:961)
at com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer.buildGroups(ESIWTChangeOrder2Renderer.java:590)
at com.ptc.windchill.esi.rnd.BasicESIRenderer.render(BasicESIRenderer.java:1155)
at com.ptc.windchill.esi.ecn.ESIWTChangeOrder2Renderer.getECN(ESIWTChangeOrder2Renderer.java:1386)
at com.ptc.windchill.esi.svc.StandardESIService.getECN(StandardESIService.java:2453)
at com.ptc.windchill.esi.txn.ESIResponseGenerator.getECN(ESIResponseGenerator.java:1018)
at com.ptc.windchill.esi.txn.ESIResponseGenerator.generateResponse(ESIResponseGenerator.java:618)
at com.ptc.windchill.esi.tgt.delegate.DefaultESITargetProcessor.doOperation(DefaultESITargetProcessor.java:203)
at com.ptc.windchill.esi.txn.ESIResponseGenerator.run(ESIResponseGenerator.java:1663)
at wt.session.SessionThread.run(SessionThread.java:225)

 

Fede
KP_12912900
2-Explorer
(To:Fadel)

It is because of the task file not invoking. custom code was not the issue earlier.

Fadel
23-Emerald I
(To:KP_12912900)

if you feel this no more working with no change , raise a customization support case to review code 

Fede
Announcements
Top Tags