Project

General

Profile

bug #6813

Updated by Andreas Müller almost 7 years ago

Looks like this is a "null" problem again  

 Code in TaxonNodeSelectionDialog 93ff: 

 ~~~ java 
		 for(Classification tree : classifications){ 
			 classificationSelectionCombo.add(tree.getName().getText(), classifications.indexOf(tree)); 

		 } 
 ~~~ 

 The database was a copy from production_rl_animalia 

 This is a critical issue because it is core functionality. 


 ~~~ ... 
 login : admin 
 editor version : 4.8.2 
 server : 160.45.63.231 (edit-WS II) / roteliste_animalia_demo_02 
 schema version : 4.7.0.0.201710040000 
 os : Windows Server 2012 R2 6.3 amd64 
 java : 1.8.0_121 
 org.eclipse.e4.core.di.InjectionException: java.lang.IllegalArgumentException: Argument cannot be null 
	 at org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:65) 
	 at org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:282) 
	 at org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:264) 
	 at org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132) 
	 at org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:152) 
	 at org.eclipse.core.commands.Command.executeWithChecks(Command.java:494) 
	 at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:488) 
	 at org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:210) 
	 at org.eclipse.e4.ui.workbench.renderers.swt.HandledContributionItem.executeItem(HandledContributionItem.java:433) 
	 at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem.handleWidgetSelection(AbstractContributionItem.java:454) 
	 at org.eclipse.e4.ui.workbench.renderers.swt.AbstractContributionItem$3.handleEvent(AbstractContributionItem.java:482) 
	 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) 
 Caused by: java.lang.IllegalArgumentException: Argument cannot be null 
	 at org.eclipse.swt.SWT.error(SWT.java:4514) 
	 at org.eclipse.swt.SWT.error(SWT.java:4448) 
	 at org.eclipse.swt.SWT.error(SWT.java:4419) 
	 at org.eclipse.swt.widgets.Widget.error(Widget.java:482) 
	 at org.eclipse.swt.widgets.Combo.add(Combo.java:198) 
	 at eu.etaxonomy.taxeditor.ui.dialog.selection.TaxonNodeSelectionDialog.createClassificationSelectionCombo(TaxonNodeSelectionDialog.java:94) 
	 at eu.etaxonomy.taxeditor.ui.dialog.selection.TaxonNodeSelectionDialog.createExtendedContentArea(TaxonNodeSelectionDialog.java:72) 
	 at eu.etaxonomy.taxeditor.ui.dialog.selection.CdmFilteredItemsSelectionDialog.createDialogArea(CdmFilteredItemsSelectionDialog.java:815) 
	 at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:767) 
	 at org.eclipse.jface.window.Window.create(Window.java:426) 
	 at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1095) 
	 at org.eclipse.ui.dialogs.SelectionStatusDialog.create(SelectionStatusDialog.java:146) 
	 at eu.etaxonomy.taxeditor.ui.dialog.selection.CdmFilteredItemsSelectionDialog.create(CdmFilteredItemsSelectionDialog.java:366) 
	 at org.eclipse.jface.window.Window.open(Window.java:783) 
	 at eu.etaxonomy.taxeditor.ui.dialog.selection.AbstractFilteredCdmResourceSelectionDialog.getSelectionFromDialog(AbstractFilteredCdmResourceSelectionDialog.java:146) 
	 at eu.etaxonomy.taxeditor.ui.dialog.selection.TaxonNodeSelectionDialog.select(TaxonNodeSelectionDialog.java:45) 
	 at eu.etaxonomy.taxeditor.navigation.navigator.handler.RemotingChangeAcceptedTaxonToSynonymHandler.prepareOperation(RemotingChangeAcceptedTaxonToSynonymHandler.java:106) 
	 at eu.etaxonomy.taxeditor.operation.RemotingCdmHandler.execute(RemotingCdmHandler.java:41) 
	 at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:295) 
	 at org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90) 
	 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.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:55) 
	 ... 36 more 
 ~~~ ...

Back