|
From: Rinalldo Y. <ry...@cs...> - 2004-10-28 02:36:41
|
On Wed, 27 Oct 2004, Christoph Froehlich wrote:
> Hi Rinalldo
>
> I'm pretty sure that the reason for this is the potential asynchronious
> behavior of the Preferences implementation.
>
> I guess you are still running TMNav-Applet with the -f option? And
> removed the call to System.exit(int);
>
> If so, please try to add a call to sync in TMNav.clearSessionData():
> After that the try - block should look roughly like this:
> try {
> String path = tmnavRootNode.absolutePath();
> tmnavRootNode.removeNode();
> tmnavRootNode.sync(); // new call to sync
> System.out.println("Removed Session Data from path " +
> ...
using this method causes TMNav to crash even on the first attempt to run
it (the message is still the same)
>
> If this does not help, try to add the sync call also to
> TMNav.closeInstance(int), just after the line:
> session.storeSession();
>
> (For the latter case you need to access tmnavRootNode just as in
> clearSessionData().)
>
using this method still causes TMNav fail to load the second time.
> Hope that helps
> c
>
any ideas ?
|