bug #3276
closedNPE for "Move Elements" context menu option
100%
Description
Add a description to a taxon
Add a specimen to that description
Expand the specimen
Open the context menu of its child object via right click
Select "Move Elements"
Press "Cancel" in the upcoming dialog window
An NullPointerException will occur at DescriptionServiceImpl.moveDescriptionElementsToDescription().
I attached the error log.
Files
Related issues
Updated by Patrick Plitzner about 11 years ago
- Category changed from cdmlib to taxeditor
- Target version set to TaxEditor Next Major Release
Updated by Andreas Müller almost 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?
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
Updated by Katja Luther over 5 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 50
Applied in changeset taxeditor|90f49fe41d5816b7fce308a5200a950550758e1e.
Updated by Katja Luther over 5 years ago
- Assignee changed from Katja Luther to Patrick Plitzner
please review
Updated by Patrick Plitzner over 5 years ago
- File picture930-1.png picture930-1.png added
- Status changed from Resolved to Feedback
- Assignee changed from Patrick Plitzner to Katja Luther
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:
- Open context menu for description element
- Select "Move Factual Data to Other Taxon"
- 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 (EditSupport@bgbm.org) with the error trace below (click on the 'Details' button). !STACK 0 java.lang.Exception: login : admin editor version : 5.4.0.qualifier server : localhost (localhost-dev) schema version : 5.0.0.0.20180514 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(SWT.java:4533) at org.eclipse.swt.SWT.error(SWT.java:4448) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:185) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4536) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:4154) 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) at org.eclipse.equinox.launcher.Main.main(Main.java:1492) Caused by: java.lang.NullPointerException at eu.etaxonomy.taxeditor.editor.view.descriptive.operation.MoveDescriptionToOtherTaxonOperation.execute(MoveDescriptionToOtherTaxonOperation.java:79) at eu.etaxonomy.taxeditor.model.AbstractUtility.lambda$3(AbstractUtility.java:141) at org.eclipse.ui.internal.UILockListener.doPendingWork(UILockListener.java:162) at org.eclipse.ui.internal.UISynchronizer$3.run(UISynchronizer.java:154) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182) ... 24 more
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.
Updated by Patrick Plitzner over 5 years ago
- Status changed from Feedback to Closed
- % Done changed from 50 to 100
works fine
Updated by Katja Luther about 5 years ago
- Related to bug #7746: NPE when deleting volatile DescriptionBase added