bug #3276


NPE for "Move Elements" context menu option

Added by Patrick Plitzner over 11 years ago. Updated over 5 years ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
Found in Version:


  1. Add a description to a taxon

  2. Add a specimen to that description

  3. Expand the specimen

  4. Open the context menu of its child object via right click

  5. Select "Move Elements"

  6. Press "Cancel" in the upcoming dialog window

An NullPointerException will occur at DescriptionServiceImpl.moveDescriptionElementsToDescription().

I attached the error log.


move_elements_error_log.log (9.82 KB) move_elements_error_log.log Patrick Plitzner, 01/21/2013 04:32 PM
move_elements.png (22.6 KB) move_elements.png Patrick Plitzner, 01/21/2013 04:33 PM
picture930-1.png (27.1 KB) picture930-1.png Patrick Plitzner, 10/05/2018 09:17 AM

Related issues

Related to EDIT - bug #7746: NPE when deleting volatile DescriptionBaseClosedKatja Luther

Actions #1

Updated by Patrick Plitzner over 11 years ago

  • Category changed from cdmlib to taxeditor
  • Target version set to TaxEditor Next Major Release
Actions #2

Updated by Andreas Müller about 8 years ago

  • Assignee changed from Andreas Müller to k.luther -
  • Target version changed from TaxEditor Next Major Release to Unassigned CDM tickets

Is this still an open issue?

Actions #3

Updated by Andreas Müller over 5 years ago

  • Description updated (diff)
  • Priority changed from New to Highest
  • Target version changed from Unassigned CDM tickets to Release 5.4
Actions #4

Updated by Katja Luther over 5 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 50
Actions #5

Updated by Katja Luther over 5 years ago

  • Assignee changed from Katja Luther to Patrick Plitzner

please review

Actions #6

Updated by Patrick Plitzner over 5 years ago

I could not reproduce this exception how described above but there is another one.

Now there is also the context menu option to move the factual data when right-clicked on an element


By the way, the tooltips for both options seem to be swapped.

steps to reproduce:

  1. Open context menu for description element
  2. Select "Move Factual Data to Other Taxon"
  3. Select any other taxon and click ok
!ENTRY org.eclipse.ui 4 0 2018-10-05 09:14:09.583
!MESSAGE This is an unexpected error.
Please contact EDIT Support ( with the error trace below (click on the 'Details' button).
java.lang.Exception: login : admin
editor version : 5.4.0.qualifier
server : localhost (localhost-dev)
schema version :
os : Linux 4.15.0-36-generic amd64
java : 1.8.0_121
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
    at org.eclipse.swt.SWT.error(
    at org.eclipse.swt.SWT.error(
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
    at org.eclipse.swt.widgets.Display.runAsyncMessages(
    at org.eclipse.swt.widgets.Display.readAndDispatch(
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(
    at org.eclipse.ui.internal.Workbench$
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(
    at eu.etaxonomy.taxeditor.Application.start(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(
    at java.lang.reflect.Method.invoke(
    at org.eclipse.equinox.launcher.Main.invokeFramework(
    at org.eclipse.equinox.launcher.Main.basicRun(
    at org.eclipse.equinox.launcher.Main.main(
Caused by: java.lang.NullPointerException
    at eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionToOtherTaxonOperation.execute(
    at eu.etaxonomy.taxeditor.model.AbstractUtility.lambda$3(
    at org.eclipse.ui.internal.UILockListener.doPendingWork(
    at org.eclipse.ui.internal.UISynchronizer$
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(
    ... 24 more
Actions #7

Updated by Katja Luther over 5 years ago

The NPE I could not reproduce. The menu entry for move factual data is displayed only for descritions, now.
Why the tooltip was swapped (only in english, in german I could not reproduce), I don't know because there is no tooltip defined for these menu items.

Actions #8

Updated by Patrick Plitzner over 5 years ago

  • Status changed from Feedback to Closed
  • % Done changed from 50 to 100

works fine

Actions #9

Updated by Andreas Müller over 5 years ago

  • Private changed from Yes to No
Actions #10

Updated by Katja Luther over 5 years ago

  • Related to bug #7746: NPE when deleting volatile DescriptionBase added

Also available in: Atom PDF