アーティクル - CS408937
Windchill Rest Services で文字列値を持つ製造数量で AffectedObjects エンドポイントを使用すると、「入力文字列 XX,XXX」というエラーが発生する
修正日: 15-Jan-2024
適用対象
- Windchill PDMLink 12.1
説明
- 文字列値を持つ製造数量で AffectedObjects エンドポイントを使用すると、エラー「入力文字列 XX,XXX」が発生する
- 製造数量に 100,000 などの文字列値がある場合。 AffectedObjects エンドポイントが次のエラーを返します:
「コード」: null、
"message": "入力文字列の場合: \"100,000\""
&rtsamp;
- MethodServer ログにエラーが記録されました
エラー [ajp-nio-127.0.0.1-8010-exec-8] com.ptc.odata.windchill.entity.processor.EntityAttributeProcessor <user> - エンティティ OR:com.ptc.qualitymanagement.capa.RelevantRequestDataProductLink を処理できませんでした。 ManufaturedQuantity の処理中に失敗しました
エラー [ajp-nio-127.0.0.1-8010-exec-8] com.ptc.odata.windchill.entity.processor.EntityAttributeProcessor <user> - オブジェクトのエンティティを作成できません java.lang.NumberFormatException: 入力文字列の場合: " 100,000"
java.base/jdk.internal.math.FloatingDecimal.readJavaFormatString(FloatingDecimal.java:2054) で
java.base/jdk.internal.math.FloatingDecimal.parseDouble(FloatingDecimal.java:110) で
java.base/java.lang.Double.parseDouble(Double.java:543) で
java.base/java.lang.Double.valueOf(Double.java:506) で
com.ptc.odata.windchill.entity.property.capa.AffectedObjectManufacturedQuantityPropertyDelegate.getProperty(AffectedObjectManufacturedQuantityPropertyDelegate.java:45) で
com.ptc.odata.windchill.entity.property.capa.AffectedObjectManufacturedQuantityPropertyDelegate.getProperty(AffectedObjectManufacturedQuantityPropertyDelegate.java:29) で
最新バージョンはこちらを参照ください CS408937