Article - CS134765
Error "java.lang.NumberFormatException: For input string: "A"" is returned when creating some objects in Windchill PDMlink
Modified: 25-Feb-2025
Applies To
- Windchill PDMLink 10.1 to 12.0
- Windchill Bulk Migrator 4.0
- Windchill PDMLink 10.1 to 12.1
Description
- Check Out or Add to Workspace failed for some Family Tables
- Failed to create Document after configuring series to integer
- WBM load fails for some objects
- In wt.properties, the following property was set:
- wt.series.HarvardSeries.level.1=wt.series.IntegerSeries
- Following error was reported in Method Server logs:
-
wt.util.WTRuntimeException: java.lang.NumberFormatException: For input string: "A"; nested exception is: java.lang.NumberFormatException: For input string: "A" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48) at java.lang.Integer.parseInt(Integer.java:449) at java.lang.Integer.valueOf(Integer.java:554) at wt.series.IntegerSeries.getIntegerValue(IntegerSeries.java:333) at wt.series.IntegerSeries.equals(IntegerSeries.java:270) at wt.series.HarvardSeries.lessThan(HarvardSeries.java:397) at wt.epm.familytable.EPMFamilyTableHelper.shouldReplace(EPMFamilyTableHelper.java:647) at wt.epm.familytable.EPMFamilyTableHelper.getLatestFamilyTable(EPMFamilyTableHelper.java:624) ...
- In case of WBM:
Nested exception is: wt.util.WTRuntimeException: java.lang.NumberFormatException: For input string: "A"; nested exception is: java.lang.NumberFormatException: For input string: "A" at java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.lang.Integer.parseInt(Integer.java:492) at java.lang.Integer.valueOf(Integer.java:582) at wt.series.IntegerSeries.getIntegerValue(IntegerSeries.java:333) at wt.series.IntegerSeries.equals(IntegerSeries.java:270) at wt.series.HarvardSeries.equals(HarvardSeries.java:349) at wt.series.SeriesSortCache$2.compare(SeriesSortCache.java:245) at wt.series.SeriesSortCache$2.compare(SeriesSortCache.java:243) at java.util.TreeMap.getEntryUsingComparator(TreeMap.java:369) at java.util.TreeMap.getEntry(TreeMap.java:340) at java.util.TreeMap.containsKey(TreeMap.java:227) at java.util.Collections$SynchronizedMap.containsKey(Collections.java:2031) at wt.series.SeriesSortCache.assignSortId(SeriesSortCache.java:267) at wt.series.SeriesSortCache.ensureSortIdFor(SeriesSortCache.java:281) ...
- Error while creating a Document
com.ptc.windchill.enterprise.doc.forms.CreateDocFormProcessor <username>- wt.util.WTRuntimeException: java.lang.NumberFormatException: For input string: "B"; nested exception is: java.lang.NumberFormatException: For input string: "B" wt.util.WTException: wt.util.WTRuntimeException: java.lang.NumberFormatException: For input string: "B"; nested exception is: java.lang.NumberFormatException: For input string: "B" Nested exception is: wt.util.WTRuntimeException: java.lang.NumberFormatException: For input string: "B"; nested exception is: java.lang.NumberFormatException: For input string: "B" at java.base/java.lang.NumberFormatException.forInputString(NumberFormatException.java:65) at java.base/java.lang.Integer.parseInt(Integer.java:652) at java.base/java.lang.Integer.valueOf(Integer.java:983) at wt.series.IntegerSeries.getIntegerValue(IntegerSeries.java:333) at wt.series.IntegerSeries.equals(IntegerSeries.java:270) at wt.series.HarvardSeries.equals(HarvardSeries.java:338) at wt.series.SeriesSortCache$2.compare(SeriesSortCache.java:246) at wt.series.SeriesSortCache$2.compare(SeriesSortCache.java:244) at java.base/java.util.TreeMap.getEntryUsingComparator(TreeMap.java:374) at java.base/java.util.TreeMap.getEntry(TreeMap.java:343) at java.base/java.util.TreeMap.containsKey(TreeMap.java:231) at java.base/java.util.Collections$SynchronizedMap.containsKey(Collections.java:2588) at wt.series.SeriesSortCache.assignSortId(SeriesSortCache.java:268) at wt.series.SeriesSortCache.ensureSortIdFor(SeriesSortCache.java:282) at wt.series.StandardSeriesService$2.notifyVetoableMultiObjectEvent(StandardSeriesService.java:439) at wt.events.StandardKeyedEventBranch.intDispatchEvent(StandardKeyedEventBranch.java:306) at wt.events.StandardKeyedEventBranch.dispatchVetoableEvent(StandardKeyedEventBranch.java:255) at wt.events.StandardKeyedEventDispatcher.intDispatchEvent(StandardKeyedEventDispatcher.java:304) at wt.events.StandardKeyedEventDispatcher.dispatchVetoableEvent(StandardKeyedEventDispatcher.java:228) at wt.services.StandardManagerService.intDispatchVetoableEvent(StandardManagerService.java:410) at wt.services.StandardManagerService.dispatchVetoableEvent(StandardManagerService.java:303) at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2972) at wt.fc.StandardPersistenceManager.dispatchVetoableEvent(StandardPersistenceManager.java:2952) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:1429) at wt.fc.StandardPersistenceManager.store(StandardPersistenceManager.java:534) at jdk.internal.reflect.GeneratedMethodAccessor632.invoke(Unknown Source) at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.base/java.lang.reflect.Method.invoke(Method.java:566)
-
This is a printer-friendly version of Article 134765 and may be out of date. For the latest version click CS134765