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

Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X

Windchill M030 stopped suddenly to publish anything to our MES system

schauhan
5-Regular Member

Windchill M030 stopped suddenly to publish anything to our MES system

Please help me as Windchill M030 has stopped suddenly to publish anything to our MES system.

It is not able to create XML file for part/plan/etc we publish from Windchill.

There is error available at method server after publish but i can't get it understand that what's the problem with Windchill happened.

error is:

 

2018-03-28 11:57:55,200 INFO  [WfUserWorkQueue.PoolQueueThread-2] wt.system.out Administrator - ESI release  : ESI ( 600 ) : Continues to publish "SPART_032801, SPART_032801, A.1 (Manufacturing)".
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.out  - Debug: Start Custom CodeDebug: Generate ResponseDebug: Writing IeCollection to file: nullERROR: PublishToSolumina method failed: null
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - java.lang.NullPointerException
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at java.io.FileOutputStream.<init>(FileOutputStream.java:203)
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at java.io.FileOutputStream.<init>(FileOutputStream.java:101)
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at com.infoengine.compiledTasks.file.C$3a$5cptc$5cWindchill$5cWindchill$5ctasks.com.ptc.windchill.esi.export.exporttosolumina$2exml.invoke(exporttosolumina$2exml.java:145)
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at com.infoengine.SAK.Task.invoke(Task.java:1806)
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at com.infoengine.SAK.Task.invoke(Task.java:1714)
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at com.ptc.windchill.esi.txn.ESIResponseSender.run(ESIResponseSender.java:149)
2018-03-28 11:57:56,042 INFO  [SessionThread-4] wt.system.err  - 	at wt.session.SessionThread.run(SessionThread.java:225)
2018-03-28 11:57:56,089 ERROR [SessionThread-4] tasks.com.ptc.windchill.esi.export.ExportToFile  - Error while executing the Write-To-File webject.
(com.infoengine.util.IEResource/9) com.infoengine.exception.fatal.IEInternalServiceException: Error trying to invoke webject: "Write-To-File".  Nested exception is: 
java.lang.NullPointerException
	at com.infoengine.procunit.webject.WebjectProcessor.invokeWebject(WebjectProcessor.java:661)
	at com.infoengine.procunit.webject.WebjectProcessor.processTask(WebjectProcessor.java:210)
	at com.infoengine.SAK.Webject.invoke(Webject.java:491)
	at com.infoengine.SAK.ExternalWebject.invoke(ExternalWebject.java:119)
	at com.infoengine.compiledTasks.file.C$3a$5cptc$5cWindchill$5cWindchill$5ctasks.com.ptc.windchill.esi.export.exporttosolumina$2exml.invoke(exporttosolumina$2exml.java:236)
	at com.infoengine.SAK.Task.invoke(Task.java:1806)
	at com.infoengine.SAK.Task.invoke(Task.java:1714)
	at com.ptc.windchill.esi.txn.ESIResponseSender.run(ESIResponseSender.java:149)
	at wt.session.SessionThread.run(SessionThread.java:225)
Caused by: java.lang.NullPointerException
	at com.ptc.windchill.esi.lite.tgt.webject.WriteToFile.writeToFile(WriteToFile.java:140)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:498)
	at com.infoengine.procunit.webject.WebjectProcessor.invokeWebject(WebjectProcessor.java:573)

 

Also come to know that .SAV file is not being created in C:\PTC directory but previously it was successfully created after publishing anything.

Please help me as soon as possible as it stopped us to work further.

2 REPLIES 2
BenLoosli
23-Emerald II
(To:schauhan)

What version of WIndchill??

10.0, 10,1, 10,2 and 11.0 all have m030 builds!

 

Has something changed on your publishing machine?

Is the proeworker being launched? I have been having a problem for 6 months where the proeworker will not be launched from the server when a job is submitted and then failing to publish the file. If I log on to the publishing machine and manually start proeworker, I can publish all day long with out any issues. PTC has had 3 calls opened on this issue and we cannot find why the XML code will not launch the proeworker. This started last fall out of the blue, no changes to the Windchill servers or the publishing machine, not even OS patches. It has me and PTC confused, so I just closed the calls and live with manually starting proeworker daily.

 

schauhan
5-Regular Member
(To:BenLoosli)

I am using 11.0 M030 Windchill version. The main problem is Windchill stopped to publish anything. 

Normally Windchill is creating SAV object file and also creates publish.txt file inside Downloads folder which covers all information like which transactions got successful and which are not. And my PLM JAR file reads this SAV object file and creates XML to publish.

But here with my Windchill 11.0 M030, SAV object file is created but publish.txt file is not created.

Also my PLM Connector JAR can't read those JAR SAV object created by Windchill. Means something goes wrong with it but don't know what it is.

 

Announcements


Top Tags