Project

General

Profile

bug #6433

NPE in PartialElement

Added by Andreas Müller almost 2 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
02/27/2017
Due date:
% Done:

100%

Severity:
normal
Found in Version:

Description

Ein “roter” Fehler, der aber übergangen wird – ich habe beim Monat zuerst f eingegeben, Fehler weggedrückt und dann 2 – Wieder Fehler (s.u.), dann Tag eingegeben und abgespeichert. der Monat wird in der Ausgabe jetzt als xx angezeigt. Das konnte ich dann (unter Fehlerwiederholung) korrigieren.
Herzlichen Gruß
Walter

login : w.berendsohn
editor version : 4.5.1
server : api.cybertaxonomy.org (cybertaxonomy.org) / caryo_nepenthaceae
schema version : 4.1.0.0.201607300000
os : Windows 7 6.1 amd64
java : 1.8.0_121
java.lang.NullPointerException
                at eu.etaxonomy.taxeditor.ui.element.PartialElement.handleEvent(PartialElement.java:123)
                at eu.etaxonomy.taxeditor.ui.element.PartialElement.propertyChange(PartialElement.java:110)
                at eu.etaxonomy.taxeditor.ui.element.AbstractCdmFormElement.firePropertyChangeEvent(AbstractCdmFormElement.java:235)
                at eu.etaxonomy.taxeditor.ui.element.TextWithLabelElement.modifyText(TextWithLabelElement.java:186)
                at eu.etaxonomy.taxeditor.ui.element.NumberWithLabelElement.modifyText(NumberWithLabelElement.java:118)
                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1058)
                at org.eclipse.swt.widgets.Text.wmCommandChild(Text.java:2610)
                at org.eclipse.swt.widgets.Control.WM_COMMAND(Control.java:4669)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4531)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
                at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
                at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
                at org.eclipse.swt.widgets.Text.callWindowProc(Text.java:255)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4623)
                at org.eclipse.swt.widgets.Text.windowProc(Text.java:2254)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4972)
                at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
                at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
                at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
                at org.eclipse.jface.window.Window.open(Window.java:801)
                at eu.etaxonomy.taxeditor.ui.dialog.selection.AbstractFilteredCdmResourceSelectionDialog$3.widgetSelected(AbstractFilteredCdmResourceSelectionDialog.java:487)
                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1077)
                at org.eclipse.swt.widgets.Widget.sendSelectionEvent(Widget.java:1094)
                at org.eclipse.swt.widgets.Link.wmNotifyChild(Link.java:1071)
                at org.eclipse.swt.widgets.Control.wmNotify(Control.java:5534)
                at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1896)
                at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:5086)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4584)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
                at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method)
                at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2425)
                at org.eclipse.swt.widgets.Link.callWindowProc(Link.java:172)
                at org.eclipse.swt.widgets.Widget.wmLButtonUp(Widget.java:2057)
                at org.eclipse.swt.widgets.Control.WM_LBUTTONUP(Control.java:4912)
                at org.eclipse.swt.widgets.Link.WM_LBUTTONUP(Link.java:909)
                at org.eclipse.swt.widgets.Control.windowProc(Control.java:4565)
                at org.eclipse.swt.widgets.Display.windowProc(Display.java:4985)
                at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
                at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2531)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3752)
                at org.eclipse.jface.window.Window.runEventLoop(Window.java:825)
                at org.eclipse.jface.window.Window.open(Window.java:801)
                at eu.etaxonomy.taxeditor.ui.dialog.selection.AbstractFilteredCdmResourceSelectionDialog.getSelectionFromDialog(AbstractFilteredCdmResourceSelectionDialog.java:146)
                at eu.etaxonomy.taxeditor.ui.dialog.selection.DerivedUnitSelectionDialog.select(DerivedUnitSelectionDialog.java:47)
                at eu.etaxonomy.taxeditor.ui.dialog.selection.SelectionDialogFactory.getSelectionFromDialog(SelectionDialogFactory.java:119)
                at eu.etaxonomy.taxeditor.ui.selection.EntitySelectionElement.widgetSelected(EntitySelectionElement.java:199)
                at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:240)
                at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
                at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
                at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
                at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
                at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
                at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
                at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
                at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
                at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
                at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
                at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
                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:110)
                at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
                at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
                at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
                at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
                at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
                at java.lang.reflect.Method.invoke(Unknown Source)
                at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
                at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
                at org.eclipse.equinox.launcher.Main.run(Main.java:1410)

Associated revisions

Revision b0174081 (diff)
Added by Andreas Müller almost 2 years ago

fix #6433 fix NPE in PartialElement

History

#1 Updated by Andreas Müller almost 2 years ago

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

#2 Updated by Andreas Müller almost 2 years ago

  • Assignee changed from Andreas Müller to Patrick Plitzner

please review

#3 Updated by Patrick Plitzner almost 2 years ago

  • Status changed from Resolved to Closed
  • Assignee changed from Patrick Plitzner to Andreas Müller
  • % Done changed from 50 to 100

works fine

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)