アーティクル - CS274920
Windchill PDMLink: さまざまな Windchill ファイル システム (WFS) 操作により、メソッド サーバーのログにエラー「StringIndexOutOfBoundsException: 文字列インデックスが範囲外です: -1」が出力されます。
修正日: 22-Aug-2025
適用対象
- Windchill PDMLink 10.2 to 12.0
- Windchill ProjectLink 10.2 to 11.1
- Windchill PDM Essentials 10.1 to 11.1
- Solidworks
- Windchill Workgroup Manager
- Windchill File System (WFS)
- Inventor
説明
- MethodServer ログに記録されるエラー StringIndexOutOfBoundsException: 文字列インデックスが範囲外です: -1 の機能上の影響は何ですか?
- ファイル > ソフトウェアから開く インターフェースを介してツールボックスコンポーネントを含む Solidworks / Inventor アセンブリを取得するとエラーが発生しますが、取得は成功します。
- メソッドサーバーコンソールに以下が記録されます:
エラー [ajp-bio-127.0.0.1-8012-exec-7] com.ptc.windchill.uwgm.proesrv.StandardRequestDispatcher <ユーザー> - StandardRequestDispatcher.dispatchRequest :: ランタイムエラー
java.lang.StringIndexOutOfBoundsException: 文字列インデックスが範囲外です: -1
java.lang.String.substring(String.java:1927) で
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateFolder(FolderRequestCacheAdapter.java:203) で
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateFolder(FolderRequestCacheAdapter.java:98) で
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateRequestData(FolderRequestCacheAdapter.java:92) で
com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter.validate(RequestCacheAdapter.java:61) で
com.ptc.windchill.uwgm.proesrv.request.GetFolderContentRequestCache.validate(GetFolderContentRequestCache.java:74) で
java.lang.StringIndexOutOfBoundsException: 文字列インデックスが範囲外です: -1
java.lang.String.substring(String.java:1927) で
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateFolder(FolderRequestCacheAdapter.java:203) で
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateFolder(FolderRequestCacheAdapter.java:98) で
com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateRequestData(FolderRequestCacheAdapter.java:92) で
com.ptc.windchill.uwgm.proesrv.cache.RequestCacheAdapter.validate(RequestCacheAdapter.java:61) で
com.ptc.windchill.uwgm.proesrv.request.GetFolderContentRequestCache.validate(GetFolderContentRequestCache.java:74) で
- Inventor で次のエラーが発生しました:
エラー [ajp-nio-127.0.0.1-8010-exec-8] com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter user01 - FolderRequestCacheAdapter.validateFolder :: フォルダー検証中に例外が発生しました: com.ptc.windchill.uwgm.common.conflict.UwgmErrorException: 無効なフォルダー パス: "/Produits/Product 01/REN_TESTALEX.newVer.ipt"。 com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.throwException(FolderRequestCacheAdapter.java:353) com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateFolder(FolderRequestCacheAdapter.java:222) com.ptc.windchill.uwgm.proesrv.cache.FolderRequestCacheAdapter.validateFolder(FolderRequestCacheAdapter.java:98)
最新バージョンはこちらを参照ください CS274920