Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » scout » Unhandled event loop exception - nlsProject can not be null!(java.lang.IllegalArgumentException: nlsProject can not be null!)
Unhandled event loop exception - nlsProject can not be null! [message #991279] Tue, 18 December 2012 05:28 Go to next message
Kristopher Born is currently offline Kristopher Born
Messages: 3
Registered: December 2012
Junior Member
Hello Community, its me again.

i Have a "Big" Problem with my Scout Framework.

On Operations like "New Page...", "New Form...", "New Menu..." and some more i get a 'Unhandled event loop exception' based on a 'java.lang.IllegalArgumentException: nlsProject can not be null!'

Has anyone a Tip how to fix that?


The Full Details are:

eclipse.buildId=M20120208-0800
java.version=1.7.0_05
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -showlocation -showlocation
Command-line arguments:  -os win32 -ws win32 -arch x86 -showlocation -data 
-------------------------------------

Error
Tue Dec 18 11:11:40 CET 2012
Unhandled event loop exception

java.lang.IllegalArgumentException: nlsProject can not be null!
	at org.eclipse.scout.sdk.ui.fields.FieldToolkit.createNlsProposalTextField(FieldToolkit.java:66)
	at org.eclipse.scout.sdk.ui.fields.FieldToolkit.createNlsProposalTextField(FieldToolkit.java:61)
	at org.eclipse.scout.sdk.ui.wizard.page.PageNewAttributesWizardPage.createContent(PageNewAttributesWizardPage.java:93)
	at org.eclipse.scout.sdk.ui.wizard.AbstractScoutWizardPage.createControl(AbstractScoutWizardPage.java:68)
	at org.eclipse.jface.wizard.Wizard.createPageControls(Wizard.java:174)
	at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:736)
	at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:608)
	at org.eclipse.jface.window.Window.create(Window.java:431)
	at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
	at org.eclipse.jface.window.Window.open(Window.java:790)
	at org.eclipse.scout.sdk.ui.action.AbstractWizardAction.execute(AbstractWizardAction.java:45)
	at org.eclipse.scout.sdk.ui.action.AbstractScoutHandler.execute(AbstractScoutHandler.java:150)
	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.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 org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
	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(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:601)
	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)


Kind regards
Kris
Re: Unhandled event loop exception - nlsProject can not be null! [message #991291 is a reply to message #991279] Tue, 18 December 2012 06:41 Go to previous message
Jeremie Bresson is currently offline Jeremie Bresson
Messages: 529
Registered: October 2011
Senior Member
NLS is the support for internationalization.

Have you started a new project, or are you updating an old one to a new Scout version?

I recommend you to check the classes / files mentioned in the Juno migration guide for TextProvider and bug 361816.

Even if you do not come from an older version (like Indigo), check that you have not recently modified these files.
Previous Topic:Jax Webservice LogHandler
Next Topic:TCP KeepAlive in Scout Client
Goto Forum:
  


Current Time: Thu Apr 17 11:47:41 EDT 2014

Powered by FUDForum. Page generated in 0.01407 seconds