Menu

#2355 freeplane-1.5.9-rc-pre08 hangs at splash screen

Next Release
new
nobody
None
normal
major
Always
none
1.5.9-rc-pre08
Ubuntu 15.10
Linux
2016-06-13
2016-06-04
F. Young
No

Error message:

at 2016-06-04 16:54:29 CMT, hash d05e980703cf38d7faef6c475ae73e6f
previous report : no reports sent before
freeplane_version = 1.5.9 rc; freeplane_xml_version = freeplane 1.5.9
git revision = 8618f7a12806ba1e937e391836e5f33f34be539f Dimitry Polivaev 2016-05-29 21:29:59 +0200
java_version = 1.8.0_91; os_name = Linux; os_version = 4.2.0-36-generic
Exception in thread "AWT-EventQueue-1"
java.lang.NullPointerException
at org.freeplane.view.swing.ui.UserInputListenerFactory.updateMenus(UserInputListenerFactory.java:446)
at org.freeplane.features.mode.ModeController.updateMenus(ModeController.java:384)
at org.freeplane.main.application.FreeplaneGUIStarter.buildMenus(FreeplaneGUIStarter.java:314)
at org.freeplane.main.application.FreeplaneGUIStarter.buildMenus(FreeplaneGUIStarter.java:306)
at org.freeplane.main.osgi.ActivatorImpl$2.run(ActivatorImpl.java:239)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:697)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

freeplane-1.5.9-rc-pre05 works.

Related

Old Bug Tickets replaced by GitHub Issues: #2355

Discussion

  • Dimitry Polivaev

    What is the full path of your freeplane installation directory ?
    Does it contain file resources/xml/mindmapmodemenu.xml ?

     

    Last edit: Dimitry Polivaev 2016-06-04
    • F. Young

      F. Young - 2016-06-05

      Dmitry,

      I've installed freeplane in /usr/local; I symlink
      /usr/local/freeplane-1.5.9-rc-pre08 to /usr/local/freeplane

      I do have mindmapmodemenu.xml .
      -rw-r--r-- 1 root root 6478 May 29 21:31
      /usr/local/freeplane-1.5.9-rc-pre08/resources/xml/browsemodemenu.xml
      -rw-r--r-- 1 root root 4552 May 29 21:31
      /usr/local/freeplane-1.5.9-rc-pre08/resources/xml/filemodemenu.xml
      -rw-r--r-- 1 root root 24103 May 29 21:31
      /usr/local/freeplane-1.5.9-rc-pre08/resources/xml/mindmapmodemenu.xml
      -rw-r--r-- 1 root root 11683 May 29 21:31
      /usr/local/freeplane-1.5.9-rc-pre08/resources/xml/preferences.xml
      -rw-r--r-- 1 root root 6857 May 29 21:31
      /usr/local/freeplane-1.5.9-rc-pre08/resources/xml/stylemodemenu.xml

      I should mention that 1.5.9-rc-pre08 works fine under Ubuntu 14.04.

      I must thank you for your work. I've been using Freeplane in both work and
      on some home projects.
      Freeplane keeps me organized.

      Thanks and Regards,
      Brad

       

      Last edit: Dimitry Polivaev 2016-06-05
  • Dimitry Polivaev

    I think that the NPE means that the mindmapmodemenu.xml can not be read. I could not see this bug on my computers (ubuntu 16.04) and therefore I have no idea how I could help.

    You could extract Freeplane in your home directory and try to run it without any symbolic links.
    You could write a post in forum and ask whether anybody else has seen this problem so that we could investigate it together.

    Regards,
    Dimitry

     
    • F. Young

      F. Young - 2016-06-05

      Dmitry,
      Thanks!
      I will give pre-08 another try this afternoon. I should mention that
      whatever I'd done, between installing pre-08 and reverting to pre-05, did
      some violence to ~/.config/freeplane/1.5.x, and I had to do some
      reconfiguration, which was not a big deal. I'll remember to make a backup
      of that directory before switching versions.
      I'll let you know how things go.

      Thanks and Regards,
      Brad

       

      Last edit: Dimitry Polivaev 2016-06-06
      • F. Young

        F. Young - 2016-06-05

        Dmitry,
        If I permit file/read operations, pre-08 will always crash.The Indexfile
        plugin is likely innocent.

        Thanks and Regards,

        Brad

         

        Last edit: Dimitry Polivaev 2016-06-06
    • F. Young

      F. Young - 2016-06-05

      Dmitry,
      I have tried running freeplane from my home directory. The error is still
      present.
      I moved ~/.config/freeplane/1.5.x aside, and freeplane worked.
      I added some plugins, and freeplane once again failed.
      I have the following plugins in 1.5.x/addons
      ./indexfile
      ./packAndGo
      ./insertInlineImage
      ./wikdNode
      ./userIcons
      I will try them one-by one, and see what may be causing the problem.

      Thanks,
      Brad

       

      Last edit: Dimitry Polivaev 2016-06-06
    • F. Young

      F. Young - 2016-06-05

      Dmitry,
      The problem definitely and repeatedly occurs with the Indexfile addon.
      I've not yet tried other plugins.
      Again, Indexfile works fine with pre-05.

      Thanks,
      Brad

       

      Last edit: Dimitry Polivaev 2016-06-06
  • Dimitry Polivaev

    I have enabled file read permissions. I could not see the problem. Sorry.
    And actually scripting permissions should be only active when script is executed, not before that.
    Hopefully after we release somebody tells us how to reproduce the bug you reported.

     
  • F. Young

    F. Young - 2016-06-10

    In pre-08 and pre-09, if I move aside ~/.config/freeplane/1.5.x, I can open an existing map once, but every subsequent attempt fails.

    Thanks,
    Brad

     
  • Dimitry Polivaev

    Could you try to rename or delete step by step

    • auto.properties file
    • addons folder
    • scripts folder

    trying to start freeplane after each step

    and send me the file or the directory (zipped) which blocks freeplane start if it is present?

    Regards,
    Dimitry

     
    • F. Young

      F. Young - 2016-06-13

      Dmitry,
      If I turn off the splashscreen in freeplane.sh, I can open new and
      existing files repeatedly, and things seem to work normally.

      # enable this in order to turn off the splash screen:
      JAVA_OPTS="-Dorg.freeplane.nosplash=true $JAVA_OPTS"

      Thanks and Regards,
      Brad

      On Sun, Jun 12, 2016 at 7:22 AM, Dimitry Polivaev dpolivaev@users.sf.net
      wrote:

      Could you try to rename or delete step by step

      • auto.properties file
      • addons folder
      • scripts folder

      trying to start freeplane after each step

      and send me the file or the directory (zipped) which blocks freeplane
      start if it is present?

      Regards,
      Dimitry


      Status: new
      Group: Next Release
      Created: Sat Jun 04, 2016 05:55 PM UTC by F. Young
      Last Updated: Fri Jun 10, 2016 09:30 PM UTC
      Owner: nobody

      Error message:

      at 2016-06-04 16:54:29 CMT, hash d05e980703cf38d7faef6c475ae73e6f
      previous report : no reports sent before
      freeplane_version = 1.5.9 rc; freeplane_xml_version = freeplane 1.5.9
      git revision = 8618f7a12806ba1e937e391836e5f33f34be539f Dimitry Polivaev
      2016-05-29 21:29:59 +0200
      java_version = 1.8.0_91; os_name = Linux; os_version = 4.2.0-36-generic
      Exception in thread "AWT-EventQueue-1"
      java.lang.NullPointerException
      at
      org.freeplane.view.swing.ui.UserInputListenerFactory.updateMenus(UserInputListenerFactory.java:446)
      at
      org.freeplane.features.mode.ModeController.updateMenus(ModeController.java:384)
      at
      org.freeplane.main.application.FreeplaneGUIStarter.buildMenus(FreeplaneGUIStarter.java:314)
      at
      org.freeplane.main.application.FreeplaneGUIStarter.buildMenus(FreeplaneGUIStarter.java:306)
      at org.freeplane.main.osgi.ActivatorImpl$2.run(ActivatorImpl.java:239)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      at java.awt.EventQueue.access$500(EventQueue.java:97)
      at java.awt.EventQueue$3.run(EventQueue.java:709)
      at java.awt.EventQueue$3.run(EventQueue.java:703)
      at java.security.AccessController.doPrivileged(Native Method)
      at
      java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:697)
      at
      java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      at
      java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      at
      java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

      freeplane-1.5.9-rc-pre05 works.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/freeplane/bugs/2355/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Old Bug Tickets replaced by GitHub Issues: #2355

  • F. Young

    F. Young - 2016-06-13

    Turning off the splash screen in freeplane.sh resolves this issue.
    Uncomment the line:

    JAVA_OPTS="-Dorg.freeplane.nosplash=true $JAVA_OPTS"

     
  • Dimitry Polivaev

    It does not make sense for me because showing splash can not create the exception you posted earlier.

    Can this issue be closed?

     
    • F. Young

      F. Young - 2016-06-13

      Dmitry,
      On an Ubuntu 14.04 system, Freeplane freeplane-1.5.9-rc-pre{09,09,10}
      work regardless of the splash screen setting.
      On an Ubuntu 15.10 system, enabling the splash screen reliably causes
      freeplane to throw is errors and hang.
      It seems possible that the issue may have more to do with the 15.10
      system, it's graphics hardware and vendor drivers.
      Disabling the screen is, to me, a perfectly acceptable work-around for
      this issue; this issue can be closed.
      I appreciate your work on Freeeplane and your assistance on this issue.

      Thanks and Regards,
      Brad

      On Mon, Jun 13, 2016 at 9:32 AM, Dimitry Polivaev dpolivaev@users.sf.net
      wrote:

      It does not make sense for me because showing splash can not create the
      exception you posted earlier.

      Can this issue be closed?

      Status: new
      Group: Next Release
      Created: Sat Jun 04, 2016 05:55 PM UTC by F. Young
      Last Updated: Mon Jun 13, 2016 12:53 PM UTC
      Owner: nobody

      Error message:

      at 2016-06-04 16:54:29 CMT, hash d05e980703cf38d7faef6c475ae73e6f
      previous report : no reports sent before
      freeplane_version = 1.5.9 rc; freeplane_xml_version = freeplane 1.5.9
      git revision = 8618f7a12806ba1e937e391836e5f33f34be539f Dimitry Polivaev
      2016-05-29 21:29:59 +0200
      java_version = 1.8.0_91; os_name = Linux; os_version = 4.2.0-36-generic
      Exception in thread "AWT-EventQueue-1"
      java.lang.NullPointerException
      at
      org.freeplane.view.swing.ui.UserInputListenerFactory.updateMenus(UserInputListenerFactory.java:446)
      at
      org.freeplane.features.mode.ModeController.updateMenus(ModeController.java:384)
      at
      org.freeplane.main.application.FreeplaneGUIStarter.buildMenus(FreeplaneGUIStarter.java:314)
      at
      org.freeplane.main.application.FreeplaneGUIStarter.buildMenus(FreeplaneGUIStarter.java:306)
      at org.freeplane.main.osgi.ActivatorImpl$2.run(ActivatorImpl.java:239)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:756)
      at java.awt.EventQueue.access$500(EventQueue.java:97)
      at java.awt.EventQueue$3.run(EventQueue.java:709)
      at java.awt.EventQueue$3.run(EventQueue.java:703)
      at java.security.AccessController.doPrivileged(Native Method)
      at
      java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:76)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:726)
      at org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:697)
      at
      java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:201)
      at
      java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
      at
      java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)

      freeplane-1.5.9-rc-pre05 works.

      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/freeplane/bugs/2355/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Old Bug Tickets replaced by GitHub Issues: #2355