java.lang.string cannot be cast to java.lang.Integer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
java.lang.string cannot be cast to java.lang.Integer
Hello, when loading New Document, it gives the error shown in the picture.
I changed the attribute of the document. I made All Attribute data types string. I keep getting the same error. Would you support?
The template is in excel format. All attributes have been inserted..
Thanks
Best Regards
Selim AKCELIK
Solved! Go to Solution.
- Labels:
-
Document Mgmt
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Selim,
This might be happening due to post-upgrade issues.
try reload the doc preferences on windchill shell by using the command below:
windchill wt.load.LoadFromFile -d <windchill_path>\Windchill\loadFiles\preference.documents.xml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello @HelesicPetr
Metin means text
There is no string or anything like that.
Do you have any other solution
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I think it might be so.
I'm still getting the same error.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
In Excel, something that looks like an integer can be stored in String (text) format or it can be stored in the default integer format.
I think that Windchill needs to receive integer format in this situation. Just a guess.
Just temporarily, please select 'English' localization in Windchill and Excel so we can answer the question better.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
I don't know what's best
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
As Petr says, text is the same as string. Your Windchill import is probably expecting string, and your Excel integers probably need to be in a string format before import to Windchill.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hello Selim,
This might be happening due to post-upgrade issues.
try reload the doc preferences on windchill shell by using the command below:
windchill wt.load.LoadFromFile -d <windchill_path>\Windchill\loadFiles\preference.documents.xml
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
