Notice: Comments you submit will be routed for moderation. If you have an account, please log in first.

Ticket #36 (closed Bug: Fixed)

Opened 8 years ago

Last modified 42 years ago

exiting while updating collection

Reported by: masiar Owned by: bflorat
Priority: 8, high Milestone:
Component: Core Version: R 0.1
Keywords: Cc:

Description

When I exit while Jajuk is updating the collection, the 
program won't restart. This is what I get in the error Log:

2004/04/22 08:31:49 [ERROR] (005) Fehler beim 
Analysieren der Kollektionsdatei
org.jajuk.util.error.JajukException: nullnull
	at org.jajuk.base.Collection.load(Unknown Source)
	at org.jajuk.Main.main(Unknown Source)

Translation:

(005) Error while analyzing collection file

Attachments

Change History

Changed 8 years ago by bflorat

Logged In: YES 
user_id=363565

What do u mean by 'exit' ? a system shutdown ? a logout ?
Which Jajuk version do u use ? which OS ?
What is your collection.xml file size ? The collection is
written ( commited ) on disk when closing Jajuk or when a
Control-C or a logout or system shutdown. Normaly, commiting
the collection takes only few secs ( 2 ou 3 at home ) so
system has the time to do it before the system realy
shutdowns ...

Changed 8 years ago by bflorat

Logged In: YES 
user_id=363565

Ok, I think I understood what you meant and I reporduced it
: the bug occurs when you are refreshing a device and you
exit from Jajuk. I think the better thing to do in this case
to avoid this bug is simply not to commit (write to disk)
the collection when an exit occurs during a refresh, it
should be very light to modify.

Changed 8 years ago by masiar

Logged In: YES 
user_id=994549

You are right, that is what I meant. It appears when closing 
the program.

Changed 8 years ago by bflorat

  • status changed from assigned to closed

Add/Change #36 (exiting while updating collection)

Author



Action
as closed
Next status will be 'reopened'
 
Note: See TracTickets for help on using tickets.