Sujet n°261 -
Can't open my old project
- par SadPuppy le 16/01/2024 01:49
Greetings,
I used to be around some years back but my account seems to be goneso I am back with a new account but same nickname, SadPuppy.
I haven't opened my old project for years, so I upgraded from an old 5.02version or such to the new 5.61 the other day.
However, when trying to open my book project I get an exception which Iwill include below. I tried to use the online form to report it but I don't thinkI was logged in so it didn't send, so I am now writing in the forum.
Thanks in advance for your help!
Best regards,
SadPuppy (Sven-Erik)
App.openFile(C:\! oStorybook Projects\Big Book)Exception Message:
Cannot open connectionStack Trace:
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:140)
org.hibernate.exception.SQLStateConverter.c onvert(SQLStateConverter.java:128)
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:66)
org.hibernate.exception.JDBCExce ptionHelper.convert(JDBCExceptionHelper.java:52)
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:449)
org.hibernate.jdbc. ConnectionManager.getConnection(ConnectionManager.java:167)
org.hibernate.jdbc.JDBCContext.connection(JDBCContext.java:160)
org.hibernate.transactio n.JDBCTransaction.begin(JDBCTransaction.java:81)
org.hibernate.impl.SessionImpl.beginTransaction(SessionImpl.java:1473)
sun.reflect.NativeMethodAcce ssorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
java.lang.reflect.Method.invoke(Unknown Source)
org.hibernate.context.ThreadLocalSessionContext$TransactionProtectionWrapper.invoke(ThreadLocalSessionContext.java:345)
com.sun.proxy. 36;Proxy0.beginTransaction(Unknown Source)
storybook.model.AbstractModel.beginTransaction(AbstractModel.java:50)
storybook.model.book.Book.getNbChapters(Book.java:816)
storybook.ui.S tatusBarPanel.refreshStat(StatusBarPanel.java:169)
storybook.ui.StatusBarPanel.initUi(StatusBarPanel.java:108)
storybook.ui.panel.AbstractPanel.init All(AbstractPanel.java:89)
storybook.ui.StatusBarPanel.(StatusBarPanel.java:63)
storybook.ui.MainFrame.initUi(MainFrame.java:279)
storybook.ui.Main Frame.(MainFrame.java:177)
storybook.App.lambda$openFile$2(App.java:692)
java.awt.event.InvocationEvent.dispatch(Unknown Source)
java.awt.EventQueue.dispatchEventImpl(Unknown Source)
java.awt.EventQueue.access$500(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.awt.EventQueue$3.run(Unknown Source)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown Source)
java.awt.EventQueue.dispatchEvent(Unknown Source)
java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.pumpEvents(Unknown Source)
java.awt.EventDispatchThread.run(Unknown Source)
Please report this exception to the development team.
Réponse n° 3
- par favdb le 16/01/2024 14:14
Hi, welcome back.
Yes, due to an error, I deleted all the registered accounts. My apologies.
In principle, the file structure hasn't really changed between version 5.02 and 5.61. So, instead of making any assumptions, the best way would be to send me your file so that I can detect what's wrong with it, and possibly make the necessary corrections.
Réponse n° 4
- par SadPuppy le 16/01/2024 19:17
Aha ok, mistakes happen =)
Where do I send the file? Which email?
Réponse n° 5
- par favdb le 18/01/2024 13:53
You cans use the contact address (admin@ostorybook.eu)
Réponse n° 6
- par SadPuppy le 19/01/2024 17:11
I have sent the file now, together with a few observations of what I thinkare bugs.
Best regards,
SadPuppy
Réponse n° 7
- par favdb le 19/01/2024 19:30
File received. This is a very old file, from an early version 5. I've converted it for the current version 5 (5.61). Note that I'm currently working on the future version 6.
Réponse n° 8
- par favdb le 19/01/2024 19:41
IMPORTANT: after my mail I detected a bug with your file. Please update your version of oStorybook with the last one I uploaded right now.