Article - CS354249
wbmldr -help command throws error exception occurred while fetching the database type in Windchill Bulk Migrator
Modified: 10-Jan-2024
Applies To
- Windchill Bulk Migrator 10.2 to 12.0
Description
- wbmldr -help command throws error exception occured while fetching the database type
- log reports following error:
Registering class com.ptc.wbm.wbmldr.core.db.DSHandler against com.ptc.wbm.wbmld r .....
07/10/2021 07:49:40 INFO db.DSHandler - Connecting to DB :vmd10135iaswc01.carcgl.com:1521:WCHILL6G AS WBMSTAGE
07/10/2021 07:49:40 INFO db.DSHandler - Query: SELECT DBtype FROM WBMDBType
07/10/2021 07:49:42 ERROR db.DSHandler - An exception occured while fetching the database type.
java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:236)
at com.ptc.wbm.worm.core.Datastore.valueOf(Datastore.java:10)
at com.ptc.wbm.wbmldr.core.db.DSHandler.getDatastore(DSHandler.java:118)
at com.ptc.wbm.wbmldr.core.WormHandler.initialize(WormHandler.java:141)
at com.ptc.wbm.wbmldr.core.WormHandler.getInstance(WormHandler.java:81)
07/10/2021 07:49:40 INFO db.DSHandler - Connecting to DB :vmd10135iaswc01.carcgl.com:1521:WCHILL6G AS WBMSTAGE
07/10/2021 07:49:40 INFO db.DSHandler - Query: SELECT DBtype FROM WBMDBType
07/10/2021 07:49:42 ERROR db.DSHandler - An exception occured while fetching the database type.
java.lang.NullPointerException: Name is null
at java.lang.Enum.valueOf(Enum.java:236)
at com.ptc.wbm.worm.core.Datastore.valueOf(Datastore.java:10)
at com.ptc.wbm.wbmldr.core.db.DSHandler.getDatastore(DSHandler.java:118)
at com.ptc.wbm.wbmldr.core.WormHandler.initialize(WormHandler.java:141)
at com.ptc.wbm.wbmldr.core.WormHandler.getInstance(WormHandler.java:81)
This is a printer-friendly version of Article 354249 and may be out of date. For the latest version click CS354249