Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mac java application instability



I have a Java/Swing application which suffers from some erratic problems on
the Mac. The same application, with no changes, runs perfectly stably on both
Windows and Linux, so I assume it's a Mac-specific issue.

The only general observation I can make is that the errors are erratic. I use
a shell-script to start the app, and usually it starts up fine. However,
every now and then (and this seems to happen after the machine has been on
for a couple of hours) the script will return an error. I have scripts to run
with both 1.3 and 1.4, and the errors are different, and listed below.

The puzzling thing is that these errors only happen sometimes, not each time.
Once they appear, then they appear each time. If I reboot the machine, then
the scripts start working once again.

If anyone has any advice or suggestions it'll be most gratefully accepted.

------ Error with 1.4 ------------
sh run1.4
Exception in thread "main" java.lang.ExceptionInInitializerError
at javax.crypto.SecretKeyFactory.getInstance(DashoA6275)
at com.intellisys.launch.RA151.loadClass(Unknown Source)
at com.intellisys.launch.RA151.main(Unknown Source)
Caused by: java.lang.SecurityException: Cannot set up certs for trusted CAs
at javax.crypto.SunJCE_b.<clinit>(DashoA6275)
... 3 more
Caused by: java.lang.SecurityException: Signer restraint check failed!
at javax.crypto.SunJCE_b.i(DashoA6275)
at javax.crypto.SunJCE_b.h(DashoA6275)
at javax.crypto.SunJCE_v.run(DashoA6275)
at java.security.AccessController.doPrivileged(Native Method)
... 4 more
-------------------------------------

------- Error with 1.3 -----------
sh run1.3
JVM:1.3.1_03-69
Exception in thread "main" java.lang.reflect.InvocationTargetException:
java.lang.NoClassDefFoundError: jdbm/recman/PhysicalRowIdManager
at jdbm.recman.RecordManager.<init>(RecordManager.java:100)
at jdbm.JDBMRecordManager.<init>(JDBMRecordManager.java:103)

-----------------------------------------
Shiva C.
_______________________________________________
java-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/java-dev
Be sure to read the FAQ http://developer.apple.com/java/faq/ before posting
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.