NPE in AddOnProperties.toURL()

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

NPE in AddOnProperties.toURL()

Felix Natter
Administrator
hi Devs,

is this is a bug or do I need to re-install my add-ons (indexfile,
roan)?
(this is on 1.5.x HEAD, built with "gradle clean build")

WARNING: error parsing /home/felix/.config/freeplane/1.5.x/addons/indexfile.script.xml
java.lang.NullPointerException
        at org.freeplane.main.addons.AddOnProperties.toURL(AddOnProperties.java:288)
        at org.freeplane.main.addons.AddOnProperties.setUpdateUrl(AddOnProperties.java:278)
        at org.freeplane.main.addons.AddOnProperties.<init>(AddOnProperties.java:76)
        at org.freeplane.plugin.script.addons.ScriptAddOnProperties.<init>(ScriptAddOnProperties.java:42)
        at org.freeplane.plugin.script.ScriptingRegistration.registerScriptAddOns(ScriptingRegistration.java:246)
        at org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:169)
        at org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:138)
        at org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:25)
        at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:208)
        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:387)
        at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)

Mar 19, 2016 3:55:35 PM org.freeplane.core.util.LogUtils warn
WARNING: error parsing /home/felix/.config/freeplane/1.5.x/addons/roan.script.xml
java.lang.NullPointerException
        at org.freeplane.main.addons.AddOnProperties.toURL(AddOnProperties.java:288)
        at org.freeplane.main.addons.AddOnProperties.setUpdateUrl(AddOnProperties.java:278)
        at org.freeplane.main.addons.AddOnProperties.<init>(AddOnProperties.java:76)
        at org.freeplane.plugin.script.addons.ScriptAddOnProperties.<init>(ScriptAddOnProperties.java:42)
        at org.freeplane.plugin.script.ScriptingRegistration.registerScriptAddOns(ScriptingRegistration.java:246)
        at org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:169)
        at org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:138)
        at org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:25)
        at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:208)
        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:387)
        at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)

Mar 19, 2016 3:55:35 PM org.freeplane.core.util.LogUtils warn
WARNING: error parsing /home/felix/.config/freeplane/1.5.x/addons/devtools.script.xml
java.lang.NullPointerException
        at org.freeplane.main.addons.AddOnProperties.toURL(AddOnProperties.java:288)
        at org.freeplane.main.addons.AddOnProperties.setUpdateUrl(AddOnProperties.java:278)
        at org.freeplane.main.addons.AddOnProperties.<init>(AddOnProperties.java:76)
        at org.freeplane.plugin.script.addons.ScriptAddOnProperties.<init>(ScriptAddOnProperties.java:42)
        at org.freeplane.plugin.script.ScriptingRegistration.registerScriptAddOns(ScriptingRegistration.java:246)
        at org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:169)
        at org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:138)
        at org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:25)
        at org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:208)
        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:387)
        at org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)

Cheers and Best Regards,
--
Felix Natter
Reply | Threaded
Open this post in threaded view
|

Re: NPE in AddOnProperties.toURL()

Volker Börchers
Administrator
Hi Felix,

it's a bug - fixed it now...

Regards,
Volker

Am 19.03.2016 um 15:59 schrieb Felix Natter [via Freeplane Developer]:

> hi Devs,
>
> is this is a bug or do I need to re-install my add-ons (indexfile,
> roan)?
> (this is on 1.5.x HEAD, built with "gradle clean build")
>
> WARNING: error parsing
> /home/felix/.config/freeplane/1.5.x/addons/indexfile.script.xml
> java.lang.NullPointerException
>          at
> org.freeplane.main.addons.AddOnProperties.toURL(AddOnProperties.java:288)
>          at
> org.freeplane.main.addons.AddOnProperties.setUpdateUrl(AddOnProperties.java:278)
>
>          at
> org.freeplane.main.addons.AddOnProperties.<init>(AddOnProperties.java:76)
>          at
> org.freeplane.plugin.script.addons.ScriptAddOnProperties.<init>(ScriptAddOnProperties.java:42)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.registerScriptAddOns(ScriptingRegistration.java:246)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:169)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:138)
>
>          at
> org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:25)
>          at
> org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:208)
>
>          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:387)
>          at
> org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
>
> Mar 19, 2016 3:55:35 PM org.freeplane.core.util.LogUtils warn
> WARNING: error parsing
> /home/felix/.config/freeplane/1.5.x/addons/roan.script.xml
> java.lang.NullPointerException
>          at
> org.freeplane.main.addons.AddOnProperties.toURL(AddOnProperties.java:288)
>          at
> org.freeplane.main.addons.AddOnProperties.setUpdateUrl(AddOnProperties.java:278)
>
>          at
> org.freeplane.main.addons.AddOnProperties.<init>(AddOnProperties.java:76)
>          at
> org.freeplane.plugin.script.addons.ScriptAddOnProperties.<init>(ScriptAddOnProperties.java:42)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.registerScriptAddOns(ScriptingRegistration.java:246)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:169)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:138)
>
>          at
> org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:25)
>          at
> org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:208)
>
>          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:387)
>          at
> org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
>
> Mar 19, 2016 3:55:35 PM org.freeplane.core.util.LogUtils warn
> WARNING: error parsing
> /home/felix/.config/freeplane/1.5.x/addons/devtools.script.xml
> java.lang.NullPointerException
>          at
> org.freeplane.main.addons.AddOnProperties.toURL(AddOnProperties.java:288)
>          at
> org.freeplane.main.addons.AddOnProperties.setUpdateUrl(AddOnProperties.java:278)
>
>          at
> org.freeplane.main.addons.AddOnProperties.<init>(AddOnProperties.java:76)
>          at
> org.freeplane.plugin.script.addons.ScriptAddOnProperties.<init>(ScriptAddOnProperties.java:42)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.registerScriptAddOns(ScriptingRegistration.java:246)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.register(ScriptingRegistration.java:169)
>
>          at
> org.freeplane.plugin.script.ScriptingRegistration.<init>(ScriptingRegistration.java:138)
>
>          at
> org.freeplane.plugin.script.Activator$1.installExtension(Activator.java:25)
>          at
> org.freeplane.main.osgi.ActivatorImpl.startFramework(ActivatorImpl.java:208)
>
>          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:387)
>          at
> org.knopflerfish.framework.BundleThread.run(BundleThread.java:145)
>
> Cheers and Best Regards,
> --
> Felix Natter
>
>
> ------------------------------------------------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
> http://freeplane-developer.996965.n3.nabble.com/NPE-in-AddOnProperties-toURL-tp885.html
>
> To start a new topic under Freeplane Developer, email
> [hidden email]
> To unsubscribe from Freeplane Developer, click here
> <
> NAML
> <
http://freeplane-developer.996965.n3.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml>
>
Reply | Threaded
Open this post in threaded view
|

Re: NPE in AddOnProperties.toURL()

Felix Natter
Administrator
"Volker Börchers [via Freeplane Developer]"
<[hidden email]> writes:

> Hi Felix,

hello Volker,

> it's a bug - fixed it now...

Thanks (I was not sure whether a null input was ok).

Best Regards,
--
Felix Natter