<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Map Options / NullPointerException]]></title><description><![CDATA[<p dir="auto">In Version 4.0.2227 I have a problem with map properties / options:<br />
When I want to change some of the "Map Options" (for example "Show status frame", "Show status background" or "Calculate map options based on contained object status") the changes are not applied  and I get the following error (nxmc log):</p>
<p dir="auto">!ENTRY org.eclipse.jface 4 0 2022-07-05 08:51:48.048<br />
!MESSAGE java.lang.NullPointerException<br />
!STACK 0<br />
java.lang.NullPointerException<br />
    at org.netxms.ui.eclipse.networkmaps.propertypages.MapOptions.applyChanges(MapOptions.java:258)<br />
    at org.netxms.ui.eclipse.networkmaps.propertypages.MapOptions.performOk(MapOptions.java:324)<br />
    at org.eclipse.jface.preference.PreferenceDialog$7.run(PreferenceDialog.java:905)<br />
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:45)<br />
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:174)<br />
    at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:889)<br />
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:461)<br />
    at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:233)<br />
    at org.eclipse.jface.dialogs.Dialog.lambda$0(Dialog.java:619)<br />
    at org.eclipse.swt.events.SelectionListener$1.widgetSelected(SelectionListener.java:84)<br />
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)<br />
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)<br />
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243)<br />
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063)<br />
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060)<br />
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632)<br />
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:823)<br />
    at org.eclipse.jface.window.Window.open(Window.java:799)<br />
    at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:153)<br />
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:474)<br />
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:580)<br />
    at org.eclipse.jface.action.ActionContributionItem.lambda$4(ActionContributionItem.java:414)<br />
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)<br />
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4243)<br />
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1063)<br />
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4060)<br />
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3632)<br />
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)<br />
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)<br />
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)<br />
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)<br />
    at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:644)<br />
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:338)<br />
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:551)<br />
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:156)<br />
    at org.netxms.ui.eclipse.console.Application.start(Application.java:37)<br />
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:203)<br />
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)<br />
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)<br />
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401)<br />
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)<br />
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br />
    at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)<br />
    at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)<br />
    at java.base/java.lang.reflect.Method.invoke(Unknown Source)<br />
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:659)<br />
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:596)<br />
    at org.eclipse.equinox.launcher.Main.run(Main.java:1467)</p>
<p dir="auto">On a testserver I have upgraded to version 4.1.283 - the problem persists.<br />
Is this a bug or must I change something to edit map options ?</p>
<p dir="auto">Thanks in advance,<br />
Thomas</p>
]]></description><link>https://forum.netxms.org/topic/7458/map-options-nullpointerexception</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 08:35:32 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/7458.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 05 Jul 2022 07:07:05 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Map Options / NullPointerException on Thu, 07 Jul 2022 09:03:24 GMT]]></title><description><![CDATA[<p dir="auto">Perfect - Thank you for the quick solution !</p>
<p dir="auto">Best regards,<br />
Thomas</p>
]]></description><link>https://forum.netxms.org/post/31636</link><guid isPermaLink="true">https://forum.netxms.org/post/31636</guid><dc:creator><![CDATA[arn0664]]></dc:creator><pubDate>Thu, 07 Jul 2022 09:03:24 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Wed, 06 Jul 2022 16:29:34 GMT]]></title><description><![CDATA[<p dir="auto">We plan it for this week.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/31635</link><guid isPermaLink="true">https://forum.netxms.org/post/31635</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 06 Jul 2022 16:29:34 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Wed, 06 Jul 2022 07:38:54 GMT]]></title><description><![CDATA[<p dir="auto">Thank you very much !</p>
<p dir="auto">What is the scheduled date for the patch release ?</p>
<p dir="auto">Best regards</p>
<p dir="auto">Thomas</p>
]]></description><link>https://forum.netxms.org/post/31633</link><guid isPermaLink="true">https://forum.netxms.org/post/31633</guid><dc:creator><![CDATA[arn0664]]></dc:creator><pubDate>Wed, 06 Jul 2022 07:38:54 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Wed, 06 Jul 2022 06:29:26 GMT]]></title><description><![CDATA[<p dir="auto">Just fixed it, next patch release will contain the fix.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/31631</link><guid isPermaLink="true">https://forum.netxms.org/post/31631</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Wed, 06 Jul 2022 06:29:26 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Tue, 05 Jul 2022 11:01:30 GMT]]></title><description><![CDATA[<p dir="auto">Now I found a way to edit some map options of a custom map:</p>
<p dir="auto">When I right-click in the map I can  edit options like "Show status icon" and "Show status frame" like the first picture and these seetings persist.<br />
The advanced option "calculate map status based on contained object status" is not editable in this menu - only in the "Map Properties".<br />
When I edit this option there the settings are not changed (second picture).</p>
<p dir="auto">It seems that in "Map Properties" some options are not really editable - is there another way to edit the option "calculate map status based on contained object status" ?</p>
<p dir="auto">Thomas</p>
<hr />
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005728-right_click.jpg" alt="right_click.jpg" class="img-markdown  img-fluid" width="720" height="668" /></p>
<p dir="auto"><img src="/assets/uploads/files/smf/0000000005729-map_properties.jpg" alt="map_properties.jpg" class="img-markdown  img-fluid" width="854" height="582" /></p>
]]></description><link>https://forum.netxms.org/post/31628</link><guid isPermaLink="true">https://forum.netxms.org/post/31628</guid><dc:creator><![CDATA[arn0664]]></dc:creator><pubDate>Tue, 05 Jul 2022 11:01:30 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Tue, 05 Jul 2022 10:10:17 GMT]]></title><description><![CDATA[<p dir="auto">I upgraded the testserver to version 4.1.333 but unfortunately the problem persists.</p>
<p dir="auto">I noticed that the problem only exists when I create the map as "custom map". When I create the map as another type, all works fine.<br />
Is there something wrong with a custom map ?</p>
<p dir="auto">Best regards</p>
<p dir="auto">Thomas</p>
]]></description><link>https://forum.netxms.org/post/31627</link><guid isPermaLink="true">https://forum.netxms.org/post/31627</guid><dc:creator><![CDATA[arn0664]]></dc:creator><pubDate>Tue, 05 Jul 2022 10:10:17 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Tue, 05 Jul 2022 08:55:39 GMT]]></title><description><![CDATA[<p dir="auto">Thank you !<br />
I will upgrade my testserver to 4.1.333 for testing.</p>
]]></description><link>https://forum.netxms.org/post/31626</link><guid isPermaLink="true">https://forum.netxms.org/post/31626</guid><dc:creator><![CDATA[arn0664]]></dc:creator><pubDate>Tue, 05 Jul 2022 08:55:39 GMT</pubDate></item><item><title><![CDATA[Reply to Map Options / NullPointerException on Tue, 05 Jul 2022 08:37:54 GMT]]></title><description><![CDATA[<p dir="auto">I don't have an answer for you but I can say that this doesn't happen to me with 4.1.333.</p>
]]></description><link>https://forum.netxms.org/post/31625</link><guid isPermaLink="true">https://forum.netxms.org/post/31625</guid><dc:creator><![CDATA[troffasky]]></dc:creator><pubDate>Tue, 05 Jul 2022 08:37:54 GMT</pubDate></item></channel></rss>