I did a new install of my system and no I have some problems to access my mytourbook database again. Can someone recommend a procedure to solve this? I still have all the files but at start-up the application terminates.
Thanx
Raimund
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
!ENTRY org.eclipse.ui 4 0 2016-12-08 22:25:29.925
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.processAdditions(TrimBarManager2.java:339)
at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.build(TrimBarManager2.java:330)
at org.eclipse.ui.internal.menus.TrimBarManager2.update(TrimBarManager2.java:109)
at org.eclipse.ui.internal.WorkbenchWindow.updateLayoutDataForContents(WorkbenchWindow.java:3872)
at org.eclipse.ui.internal.WorkbenchWindow.setLayoutDataForContents(WorkbenchWindow.java:3885)
at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1157)
at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:623)
at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:300)
at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1043)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1216)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3537)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1600)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3537)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2609)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at net.tourbook.application.Application.start(Application.java:36)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
22:25:29.284 Number of processors: 8
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
If I remove .mytourbook the application starts. But then I have a brand new install, the application does not have any old tours or settings. How can I then reimport my old data?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I did a new install of my system and no I have some problems to access my mytourbook database again. Can someone recommend a procedure to solve this? I still have all the files but at start-up the application terminates.
Thanx
Raimund
Can you start mytourbook with a console and debug info as described in http://mytourbook.sourceforge.net/mytourbook/index.php/bugs
What is displayed in the log?
Hi,
the output is:
raimund@morpheus:~/Downloads/mytourbook$ ./mytourbook -debug -consolelog
Start VM: /usr/bin/java
-Xmx1024m
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner
-jar /home/raimund/Downloads/mytourbook//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
-os linux
-ws gtk
-arch x86_64
-showsplash
-launcher /home/raimund/Downloads/mytourbook/mytourbook
-name Mytourbook
--launcher.library /home/raimund/Downloads/mytourbook//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.200.v20120913-144807/eclipse_1502.so
-startup /home/raimund/Downloads/mytourbook//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.overrideVmargs
-exitdata 6d000c
-debug
-consolelog
-vm /usr/bin/java
-vmargs
-Xmx1024m
-Dorg.eclipse.swt.browser.XULRunnerPath=/opt/xulrunner
-jar /home/raimund/Downloads/mytourbook//plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
Install location:
file:/home/raimund/Downloads/mytourbook/
Configuration file:
file:/home/raimund/Downloads/mytourbook/configuration/config.ini loaded
Configuration location:
file:/home/raimund/Downloads/mytourbook/configuration/
Framework located:
file:/home/raimund/Downloads/mytourbook/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Framework classpath:
file:/home/raimund/Downloads/mytourbook/plugins/org.eclipse.osgi_3.8.2.v20130124-134944.jar
Splash location:
/home/raimund/Downloads/mytourbook/configuration/org.eclipse.equinox.launcher/net.tourbook_16.11.0.20161121-1345/splash.bmp
(Mytourbook:15790): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
(Mytourbook:15790): Gtk-WARNING **: Unable to locate theme engine in module_path: "adwaita",
Debug options:
file:/home/raimund/Downloads/mytourbook/.options not found
Time to load bundles: 3
Starting application: 1134
!SESSION 2016-12-08 22:25:27.122 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64 -debug -consolelog
!ENTRY org.eclipse.osgi 2 1 2016-12-08 22:25:28.377
!MESSAGE NLS unused message: ICategory_general in: org.eclipse.ui.internal.messages
!ENTRY org.eclipse.osgi 2 1 2016-12-08 22:25:28.377
!MESSAGE NLS unused message: ViewsPreferencePage_Theme in: org.eclipse.ui.internal.messages
!ENTRY net.tourbook.common 4 0 2016-12-08 22:25:28.473
!MESSAGE AppVersion: 16.11.0.20161121-1345
!SESSION 2016-12-08 22:25:27.122 -----------------------------------------------
eclipse.buildId=unknown
java.version=1.8.0_111
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=de_DE
Command-line arguments: -os linux -ws gtk -arch x86_64 -debug -consolelog
!ENTRY org.eclipse.osgi 2 1 2016-12-08 22:25:28.377
!MESSAGE NLS unused message: ICategory_general in: org.eclipse.ui.internal.messages
!ENTRY org.eclipse.osgi 2 1 2016-12-08 22:25:28.377
!MESSAGE NLS unused message: ViewsPreferencePage_Theme in: org.eclipse.ui.internal.messages
!ENTRY net.tourbook.common 4 0 2016-12-08 22:25:28.473
!MESSAGE AppVersion: 16.11.0.20161121-1345
!ENTRY net.tourbook.common 1 0 2016-12-08 22:25:29.595
!MESSAGE Derby command executed: jdbc:derby:tourbook;create=true
!ENTRY net.tourbook.common 1 0 2016-12-08 22:25:29.732
!MESSAGE Derby command executed: jdbc:derby:tourbook
!ENTRY net.tourbook.common 1 0 2016-12-08 22:25:29.771
!MESSAGE Derby command executed: jdbc:derby:tourbook
!ENTRY org.eclipse.ui 4 0 2016-12-08 22:25:29.925
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NullPointerException
at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.processAdditions(TrimBarManager2.java:339)
at org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.build(TrimBarManager2.java:330)
at org.eclipse.ui.internal.menus.TrimBarManager2.update(TrimBarManager2.java:109)
at org.eclipse.ui.internal.WorkbenchWindow.updateLayoutDataForContents(WorkbenchWindow.java:3872)
at org.eclipse.ui.internal.WorkbenchWindow.setLayoutDataForContents(WorkbenchWindow.java:3885)
at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:1157)
at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:623)
at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:300)
at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1043)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1216)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3537)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$33.runWithException(Workbench.java:1600)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:135)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3537)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3189)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2609)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at net.tourbook.application.Application.start(Application.java:36)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:353)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584)
at org.eclipse.equinox.launcher.Main.run(Main.java:1438)
at org.eclipse.equinox.launcher.Main.main(Main.java:1414)
22:25:29.284 Number of processors: 8
have you removed .mytourbook when you did a new install?
Can you try to do a clean install.
The error occures in the eclipse startup without any relation to mytourbook in
org.eclipse.ui.internal.menus.TrimBarManager2$STrimBuilder.processAdditions(TrimBarManager2.java:339)
at
Last edit: Wolfgang ch 2016-12-09
If I remove .mytourbook the application starts. But then I have a brand new install, the application does not have any old tours or settings. How can I then reimport my old data?
You don't need to reimport the old data you just have to copy the old data to the correct location.
In this document http://mytourbook.sourceforge.net/mytourbook/index.php/download-install/cleanup-application you find more info.
Basically you have to cleanup the data directory and then copy these folders .metadata and derby-database from your old data in .mytourbook
Thanx a lot, got it working finally. Would have hated to loose my tours since 2008;-))
Raimund