Export in STEP Format from Windchill
Oct 18, 2024
10:25 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 18, 2024
10:25 AM
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
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 2
Oct 19, 2024
08:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Oct 19, 2024
08:58 AM
Article - "NullPointerException thrown for every export action in Windchill PDMLink 12.0.2": https://www.ptc.com/en/support/article/CS351780
Nov 06, 2024
02:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Nov 06, 2024
02:26 PM
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?
