Menu

#49 ClassCastException during store()

v1.0 (example)
open
nobody
None
5
2014-08-22
2014-08-22
Bill in MA
No

I'm running on proprietary hardware where the Java version is stuck at 1.4.2. That's why I'm using ini4j-0.5.2-jdk14.jar.

When calling ini.store() I'm getting the following stack trace:

Exception in thread "main" java.lang.ClassCastException: java.lang.String
at org.ini4j.BasicProfile.store(BasicProfile.java:206)
at org.ini4j.Ini.store(Ini.java:139)
at org.ini4j.Ini.store(Ini.java:134)
at org.ini4j.Ini.store(Ini.java:146)
at Cay.writeCayInfo(Cay.java:250)
at Cay.setMacLabel(Cay.java:400)
at Pinpad.processRequest(Pinpad.java:260)
at POSCommon.processPOSRequest(POSCommon.java:263)
at POS2VFP.main(POS2VFP.java:59)

I haven't looked at Ini.java to see what could be going on. I searched tickets for ClassCastException but found no match.

Any thoughts?

Thanks,
Bill

Discussion


Log in to post a comment.