Forums

Welcome Guest 

Show/Hide Header

Welcome Guest, posting in this forum requires registration.






Please note that we - the Docear team - will not answer support questions. If you need help, please read the manual, read the FAQ, or discuss here in the forum with other Docear users.

When reporting bugs, or asking questions, please be as specific as possible. Name your operating system (e.g. Windows 7, 64 Bit), your JAVA version (e.g. Java 6, 32 Bit), whether you are using the latest Docear version, and provide step-by-step instructions that allow to reproduce the bug or problem you are reporting. Feel free to upload screenshots.

Due to spammers and the new European GDPR initiative, we decided to deactivate user registrations. This means, only users with an existing account will be able to post in the forum. We are sorry for this but see no other way.
Pages: [1]
Author Topic: Linux - Make Docear portable
giangian
Newbie
Posts: 1
Post Linux - Make Docear portable
on: February 24, 2017, 19:48

Hi,
I am trying to have Docear on my dropbox and run it from windows and linux. I am using the "All OS (all other operating systems supporting Java 1.6 or higher)" download.
The problem is the user folder. I found this guide:http://www.docear.org/support/user-manual/ section "Change the settings path / Make Docear portable". I basically add also the suggested line to the docear.sh file, but when I run I get the following error:
java.lang.NullPointerException
at org.freeplane.main.application.UserPropertiesUpdater.copyUserFilesFromPreviousVersionTo(UserPropertiesUpdater.java:75)
at org.freeplane.main.application.UserPropertiesUpdater.importOldProperties(UserPropertiesUpdater.java:60)
at org.freeplane.main.application.FreeplaneGUIStarter.<init>(FreeplaneGUIStarter.java:116)
at org.freeplane.main.osgi.ActivatorImpl.createStarter(ActivatorImpl.java:248)
at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:167)
at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:79)
at org.freeplane.main.osgi.Activator.start(Activator.java:36)
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:374)
at org.knopflerfish.framework.PermissionOps.callStart0(PermissionOps.java:215)
at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:321)
at org.knopflerfish.framework.StartLevelImpl.increaseStartLevel(StartLevelImpl.java:285)
at org.knopflerfish.framework.StartLevelImpl$1.run(StartLevelImpl.java:217)
at org.knopflerfish.framework.StartLevelImpl.run(StartLevelImpl.java:178)
at java.lang.Thread.run(Thread.java:745)
## DEBUG: errors - FrameworkErrorEvent bundle #1
## DEBUG: errors - FrameworkErrorEvent throwable:
org.osgi.framework.BundleException: BundleActivator start failed
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:419)
at org.knopflerfish.framework.PermissionOps.callStart0(PermissionOps.java:215)
at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:321)
at org.knopflerfish.framework.StartLevelImpl.increaseStartLevel(StartLevelImpl.java:285)
at org.knopflerfish.framework.StartLevelImpl$1.run(StartLevelImpl.java:217)
at org.knopflerfish.framework.StartLevelImpl.run(StartLevelImpl.java:178)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.NullPointerException
at org.freeplane.main.application.UserPropertiesUpdater.copyUserFilesFromPreviousVersionTo(UserPropertiesUpdater.java:75)
at org.freeplane.main.application.UserPropertiesUpdater.importOldProperties(UserPropertiesUpdater.java:60)
at org.freeplane.main.application.FreeplaneGUIStarter.<init>(FreeplaneGUIStarter.java:116)
at org.freeplane.main.osgi.ActivatorImpl.createStarter(ActivatorImpl.java:248)
at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:167)
at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:79)
at org.freeplane.main.osgi.Activator.start(Activator.java:36)
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:374)
... 6 more
Nested bundle exception:
java.lang.NullPointerException
at org.freeplane.main.application.UserPropertiesUpdater.copyUserFilesFromPreviousVersionTo(UserPropertiesUpdater.java:75)
at org.freeplane.main.application.UserPropertiesUpdater.importOldProperties(UserPropertiesUpdater.java:60)
at org.freeplane.main.application.FreeplaneGUIStarter.<init>(FreeplaneGUIStarter.java:116)
at org.freeplane.main.osgi.ActivatorImpl.createStarter(ActivatorImpl.java:248)
at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:167)
at org.freeplane.main.osgi.ActivatorImpl.start(ActivatorImpl.java:79)
at org.freeplane.main.osgi.Activator.start(Activator.java:36)
at org.knopflerfish.framework.BundleImpl.start0(BundleImpl.java:374)
at org.knopflerfish.framework.PermissionOps.callStart0(PermissionOps.java:215)
at org.knopflerfish.framework.BundleImpl.start(BundleImpl.java:321)
at org.knopflerfish.framework.StartLevelImpl.increaseStartLevel(StartLevelImpl.java:285)
at org.knopflerfish.framework.StartLevelImpl$1.run(StartLevelImpl.java:217)
at org.knopflerfish.framework.StartLevelImpl.run(StartLevelImpl.java:178)
at java.lang.Thread.run(Thread.java:745)
Framework launched

Any idea about how to solve this?
Thank you

Thank you for your feedback. Please note that we - the Docear team - currently do not have the time to answer support questions. However, we encourage all Docear users to help each other.

Pages: [1]
Mingle Forum by cartpauj
Version: 1.0.33.2 ; Page loaded in: 0.045 seconds.