Project

General

Profile

bug #7499

NPE when trying to open a taxon which belongs to 2 taxon nodes and cancel

Added by Andreas Müller 6 months ago. Updated 6 months ago.

Status:
Closed
Priority:
New
Category:
taxeditor
Target version:
Start date:
06/19/2018
Due date:
% Done:

50%

Severity:
normal
Found in Version:

Description

login : admin
editor version : 5.1.0.201806191201
server : test.e-taxonomy.eu (edit-test) / euromed
schema version : 5.0.0.0.20180514
os : Windows Server 2012 R2 6.3 amd64
java : 1.8.0_121
java.lang.NullPointerException
    at eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInputE4.setInputForMultipleNodes(TaxonEditorInputE4.java:189)
    at eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInputE4.setInputForMultipleTaxa(TaxonEditorInputE4.java:209)
    at eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInputE4.initForTaxonBase(TaxonEditorInputE4.java:148)
    at eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInputE4.<init>(TaxonEditorInputE4.java:103)
    at eu.etaxonomy.taxeditor.editor.e4.TaxonEditorInputE4.NewInstanceFromTaxonBase(TaxonEditorInputE4.java:222)
    at eu.etaxonomy.taxeditor.editor.EditorUtil.openTaxonBaseE4(EditorUtil.java:120)
    at eu.etaxonomy.taxeditor.navigation.NavigationUtil.openEditor(NavigationUtil.java:114)
    at eu.etaxonomy.taxeditor.navigation.NavigationUtil.openEditor(NavigationUtil.java:89)
    at eu.etaxonomy.taxeditor.navigation.search.e4.SearchResultViewE4$1.doubleClick(SearchResultViewE4.java:153)
    at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:833)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:173)
    at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:830)
    at org.eclipse.jface.viewers.StructuredViewer.handleDoubleSelect(StructuredViewer.java:1151)
    at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1264)
    at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:252)
    at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:249)
    at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:311)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4418)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1079)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4236)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3824)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$4.run(PartRenderingEngine.java:1121)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1022)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:150)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:693)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:610)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
    at eu.etaxonomy.taxeditor.Application.start(Application.java:24)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
    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:673)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)

Related issues

Related to Edit - bug #7500: Can't open both related accepted taxa of reused MAN Closed 06/19/2018

Associated revisions

Revision 2ac7f4b6 (diff)
Added by Andreas Müller 6 months ago

fix #7499 fix NPE for cancel of taxon node selection

History

#1 Updated by Andreas Müller 6 months ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50

#2 Updated by Andreas Müller 6 months ago

  • Assignee changed from Andreas Müller to Katja Luther

please review

#3 Updated by Katja Luther 6 months ago

  • Status changed from Resolved to Closed
  • Assignee changed from Katja Luther to Andreas Müller

works as expected

#4 Updated by Andreas Müller 6 months ago

  • Related to bug #7500: Can't open both related accepted taxa of reused MAN added

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)