Project

General

Profile

Actions

bug #6372

closed

NPE when using ShowView - Datasource

Added by Andreas Müller about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
Highest
Category:
taxeditor
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Severity:
normal
Found in Version:

Description

Hallo,
bei der Suche nach der Update-Einstellung habe ich Window-ShowView-Datasource gewählt und u.a. Fehler bekommen.
Herzlichen Gruß
Walter

login : 
editor version : 4.4.1
server :  / 
schema version : 
os : Windows 7 6.1 amd64
java : 1.8.0_111
java.lang.NullPointerException
                at eu.etaxonomy.taxeditor.datasource.CdmDataSourceRepository.getAll(CdmDataSourceRepository.java:93)
                at eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart.refresh(CdmDataSourceViewPart.java:234)
                at eu.etaxonomy.taxeditor.view.datasource.CdmDataSourceViewPart.createPartControl(CdmDataSourceViewPart.java:203)
                at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375)
                at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229)
                at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
                at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2245)
                at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1145)
                at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3921)
                at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
                at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3918)
                at org.eclipse.ui.handlers.ShowViewHandler.openView(ShowViewHandler.java:162)
                at org.eclipse.ui.handlers.ShowViewHandler.execute(ShowViewHandler.java:76)
                at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:293)
                at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476)
                at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
                at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169)
                at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:241)
                at org.eclipse.ui.menus.CommandContributionItem.handleWidgetSelection(CommandContributionItem.java:829)
                at org.eclipse.ui.menus.CommandContributionItem.access$19(CommandContributionItem.java:815)
                at org.eclipse.ui.menus.CommandContributionItem$5.handleEvent(CommandContributionItem.java:805)
                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)
Actions #1

Updated by Andreas Müller about 7 years ago

  • Description updated (diff)
Actions #2

Updated by Andreas Müller about 7 years ago

  • Found in Version changed from Release 4.5 to Release 4.4
Actions #3

Updated by Andreas Müller about 7 years ago

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

Updated by Andreas Müller about 7 years ago

  • Assignee changed from Katja Luther to Patrick Plitzner
  • Priority changed from New to Highest
  • Target version changed from Unassigned CDM tickets to Release 4.6
Actions #5

Updated by Patrick Plitzner about 7 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!
Tested it with a corrupted datasources file

Actions #6

Updated by Andreas Müller about 7 years ago

  • Private changed from Yes to No
Actions

Also available in: Atom PDF