Skip to main content
Oct 18, 2024 2:25 PM UTC
Question

Export in STEP Format from Windchill

I am using Windchill PDMLink Release 11.1 and Datecode with CPS M020 CPS30

Dear Support Assistant Team!

I tried to make this sample code work: https://support.ptc.com/help/windchill/r13.0.0.0/en/index.html#page/Windchill_Help_Center/customization/WCCG_PLMServices_STEPPLMExportImport.html, but at the end I am not able to use it. I tried to export into STEP FORMAT AP242 with implementation method both 21 and 28 for OptionSets, Parts, CAD object, but all of them failed with "Problem in export/import process. Nested exception is: java.lang.NullPointerException". Can you help us to make this code work?
Thank you in advance!
Kind regards,
Martin Herbert

Here are the errors that I faced
Problem in export/import process. Nested exception is: java.lang.NullPointerException

    2 replies

    Oct 19, 2024 12:58 PM UTC

    Article - "NullPointerException thrown for every export action in Windchill PDMLink 12.0.2": https://www.ptc.com/en/support/article/CS351780 

    Nov 6, 2024 7:26 PM UTC

    Martin,

     

    If you are still facing this issue, can you please provide your custom source code and Windchill Method Server log snippet containing the NullPointerException with the stack trace?