When trying to open the CSVToBean.java file (OpenCSV 2.3), I get the PrimalScript 2014 has stopped working message.
If I create a new .java file in PrimalScript and paste the code in I get the same error.
However, I can open other .java files from OpenCSV, and I can open the CSVToBean.java file fine in Eclipse and other java IDEs.
I couldn't attach a .java file here, so I've changed the extension to .txt. Oddly enough, if I try to open the .txt file in PrimalScript it opens fine.
Install: PSR14Setup_7.0.53_102614_x64
OS: Win 8.1 Pro 64Bit
Hardware: Lenovo X230 16GB RAM, 256SSD with ~40GB Free.
Scott.
PrimalScript Crashes When Opening Java File
Forum rules
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
DO NOT POST LICENSE NUMBERS, ACTIVATION KEYS OR ANY OTHER LICENSING INFORMATION IN THIS FORUM.
Only the original author and our tech personnel can reply to a topic that is created in this forum. If you find a topic that relates to an issue you are having, please create a new topic and reference the other in your post.
Any code longer than three lines should be added as code using the 'Select Code' dropdown menu or attached as a file.
PrimalScript Crashes When Opening Java File
- Attachments
-
- CsvToBean.txt
- Change extension to .java for testing.
- (3.88 KiB) Downloaded 207 times
Re: PrimalScript Crashes When Opening Java File
I was able to confirm the issue.
[UPDATE] I was able to isolate the cause. The crash is caused by the Template class declaration:
public class CsvToBean<T>
David
[UPDATE] I was able to isolate the cause. The crash is caused by the Template class declaration:
public class CsvToBean<T>
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: PrimalScript Crashes When Opening Java File
If you need to edit the file within PrimalScript while we resolve the issue you can temporarily comment out the <T> from the class definition.
David
David
David
SAPIEN Technologies, Inc.
SAPIEN Technologies, Inc.
Re: PrimalScript Crashes When Opening Java File
Thanks for the quick response.
Glad you were able to find the issue and provide a workaround.
Scott.
Glad you were able to find the issue and provide a workaround.
Scott.