ArrayIndexOutOfBoundsException on startup with current CVS HEAD [message #527579] |
Thu, 15 April 2010 12:36  |
Eclipse User |
|
|
|
Hi,
i just updated to the lastest CVS HEAD and when i start the application it fails to start with an exception.
There are many exceptions in the stderr but the exception that seems to cause all this comes from the FontRegistry:
java.lang.RuntimeException: Could not create the session singleton instance of 'org.eclipse.jface.resource.JFaceResources$ImageRegistryStor e' because an Exception was thrown by the constructor:
null.
at org.eclipse.rwt.SessionSingletonBase.getInstanceInternal(Ses sionSingletonBase.java:189)
at org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:91)
at org.eclipse.jface.resource.JFaceResources$ImageRegistryStore .getInstance(JFaceResources.java:178)
at org.eclipse.jface.resource.JFaceResources.getImageRegistry(J FaceResources.java:578)
at org.eclipse.ui.internal.progress.ProgressInfoItem.init(Progr essInfoItem.java:126)
at org.eclipse.ui.internal.progress.ProgressManager$ProgressMan agerProvider.getInstance(ProgressManager.java:76)
at org.eclipse.ui.internal.progress.ProgressManager.getInstance (ProgressManager.java:155)
at org.eclipse.ui.internal.progress.ProgressManager.shutdownPro gressManager(ProgressManager.java:167)
at org.eclipse.ui.internal.WorkbenchPlugin.reset(WorkbenchPlugi n.java:350)
at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:27 61)
at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:8 70)
at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:7 81)
at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1047 )
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1045)
at org.eclipse.ui.internal.Workbench.close(Workbench.java:1007)
at org.eclipse.ui.internal.Workbench$ShutdownHandler.handleEven t(Workbench.java:131)
at org.eclipse.swt.widgets.Display.sendDisposeEvent(Display.jav a:703)
at org.eclipse.swt.widgets.Display.release(Display.java:687)
at org.eclipse.swt.graphics.Device.dispose(Device.java:274)
at de.ineos.veranstaltung.Admin.start(Admin.java:32)
at org.eclipse.rap.ui.internal.application.EntrypointApplicatio nWrapper.createUI(EntrypointApplicationWrapper.java:27)
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:253)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:117)
at java.lang.Thread.run(Unknown Source)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at org.eclipse.rwt.SessionSingletonBase.getInstanceInternal(Ses sionSingletonBase.java:154)
... 26 more
Caused by: java.lang.ExceptionInInitializerError
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
at org.eclipse.jface.resource.JFaceResources$ImageRegistryStore .initializeDefaultImages(JFaceResources.java:218)
at org.eclipse.jface.resource.JFaceResources$ImageRegistryStore . <init>(JFaceResources.java:174)
... 31 more
Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
at org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:905)
at org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:372)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:291)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:312)
at org.eclipse.jface.resource.JFaceResources$FontRegistryStore. getFontRegistry(JFaceResources.java:149)
at org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:511)
at org.eclipse.jface.resource.JFaceResources.getDialogFont(JFac eResources.java:442)
at org.eclipse.jface.layout.LayoutConstants.initializeConstants (LayoutConstants.java:37)
at org.eclipse.jface.layout.LayoutConstants.getSpacing(LayoutCo nstants.java:67)
at org.eclipse.jface.layout.GridLayoutFactory.fillDefaults(Grid LayoutFactory.java:128)
at org.eclipse.jface.dialogs.PopupDialog.<clinit>(PopupDialog.java:291)
... 35 more
java.lang.ArrayIndexOutOfBoundsException: 1
at org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:905)
at org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:372)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:291)
at org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:312)
at org.eclipse.jface.resource.JFaceResources$FontRegistryStore. getFontRegistry(JFaceResources.java:149)
at org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:511)
at org.eclipse.jface.window.Window.createShell(Window.java:510)
at org.eclipse.jface.window.Window.create(Window.java:432)
at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1071)
at org.eclipse.jface.window.Window.open(Window.java:793)
at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java: 356)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog. java:420)
at org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog. java:385)
at de.ineos.veranstaltung.util.HelperUtil.displayError(HelperUt il.java:65)
at de.ineos.veranstaltung.AdminWorkbenchAdvisor.eventLoopExcept ion(AdminWorkbenchAdvisor.java:59)
at org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:62)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2362)
at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 06)
at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:424)
at org.eclipse.rap.ui.internal.RealmAdapterHook.runWithDefault( RealmAdapterHook.java:48)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:427)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
at de.ineos.veranstaltung.Admin.start(Admin.java:22)
at org.eclipse.rap.ui.internal.application.EntrypointApplicatio nWrapper.createUI(EntrypointApplicationWrapper.java:27)
at org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:253)
at org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:117)
at java.lang.Thread.run(Unknown Source)
at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)
It runs OK with the M6 target-platform. I did not change anything in my code. I also deactivated the custom theme i'm using,
without success. That's quite unfortunate, since i was going to deploy a new version of my application tomorrow morning, to
leverage all the new bugfixes and stuff :). But it seems that i have to stick with the M6 target. Really sad :/.
Someone has an idea what could be the problem, or is someone also experiencing this error??
|
|
|
|
|
Re: ArrayIndexOutOfBoundsException on startup with current CVS HEAD [message #527611 is a reply to message #527602] |
Thu, 15 April 2010 14:06  |
Eclipse User |
|
|
|
Yes, it works again!! Thank your very much!!
All i can say is: "bad equal sign, bad!!!!!! where have you been all the time?!??!" :D
Am 15.04.2010 19:49, schrieb Ralf Sternberg:
> Turned out to be a bug in JFace:
> 309357: [JFace] IndexOutOfBounds in FontRegistry
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=309357
>
> It is fixed in our CVS. I'm sorry for the inconvenience. Thanks for
> finding the problem minutes after the change!
>
No problem. Thank you for fixing it almost as fast :).
Greetings,
-ben
> Best regards, Ralf
>
> Ralf Sternberg wrote:
>> Hi Benjamin,
>>
>> this has been introduced with the solution to bug 280773, I'll fix it
>> right away.
>>
>> Ralf
>>
>> Benjamin Wolff wrote:
>>> Hi,
>>>
>>> i just updated to the lastest CVS HEAD and when i start the application
>>> it fails to start with an exception.
>>> There are many exceptions in the stderr but the exception that seems to
>>> cause all this comes from the FontRegistry:
>>>
>>>
>>> java.lang.RuntimeException: Could not create the session singleton
>>> instance of
>>> 'org.eclipse.jface.resource.JFaceResources$ImageRegistryStor e' because
>>> an Exception was thrown by the constructor:
>>> null.
>>> at
>>> org.eclipse.rwt.SessionSingletonBase.getInstanceInternal(Ses sionSingletonBase.java:189)
>>>
>>> at
>>> org.eclipse.rwt.SessionSingletonBase.getInstance(SessionSing letonBase.java:91)
>>>
>>> at
>>> org.eclipse.jface.resource.JFaceResources$ImageRegistryStore .getInstance(JFaceResources.java:178)
>>>
>>> at
>>> org.eclipse.jface.resource.JFaceResources.getImageRegistry(J FaceResources.java:578)
>>>
>>> at
>>> org.eclipse.ui.internal.progress.ProgressInfoItem.init(Progr essInfoItem.java:126)
>>>
>>> at
>>> org.eclipse.ui.internal.progress.ProgressManager$ProgressMan agerProvider.getInstance(ProgressManager.java:76)
>>>
>>> at
>>> org.eclipse.ui.internal.progress.ProgressManager.getInstance (ProgressManager.java:155)
>>>
>>> at
>>> org.eclipse.ui.internal.progress.ProgressManager.shutdownPro gressManager(ProgressManager.java:167)
>>>
>>> at
>>> org.eclipse.ui.internal.WorkbenchPlugin.reset(WorkbenchPlugi n.java:350)
>>> at org.eclipse.ui.internal.Workbench.shutdown(Workbench.java:27 61)
>>> at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:8 70)
>>> at org.eclipse.ui.internal.Workbench.access$12(Workbench.java:7 81)
>>> at org.eclipse.ui.internal.Workbench$21.run(Workbench.java:1047 )
>>> at
>>> org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator .java:66)
>>> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1045)
>>> at org.eclipse.ui.internal.Workbench.close(Workbench.java:1007)
>>> at
>>> org.eclipse.ui.internal.Workbench$ShutdownHandler.handleEven t(Workbench.java:131)
>>>
>>> at org.eclipse.swt.widgets.Display.sendDisposeEvent(Display.jav a:703)
>>> at org.eclipse.swt.widgets.Display.release(Display.java:687)
>>> at org.eclipse.swt.graphics.Device.dispose(Device.java:274)
>>> at de.ineos.veranstaltung.Admin.start(Admin.java:32)
>>> at
>>> org.eclipse.rap.ui.internal.application.EntrypointApplicatio nWrapper.createUI(EntrypointApplicationWrapper.java:27)
>>>
>>> at
>>> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>>>
>>> at
>>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:253)
>>>
>>> at
>>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:117)
>>>
>>> at java.lang.Thread.run(Unknown Source)
>>> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)
>>> Caused by: java.lang.reflect.InvocationTargetException
>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Nativ e
>>> Method)
>>> at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknow n
>>> Source)
>>> at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Un known
>>> Source)
>>> at java.lang.reflect.Constructor.newInstance(Unknown Source)
>>> at
>>> org.eclipse.rwt.SessionSingletonBase.getInstanceInternal(Ses sionSingletonBase.java:154)
>>>
>>> ... 26 more
>>> Caused by: java.lang.ExceptionInInitializerError
>>> at java.lang.Class.forName0(Native Method)
>>> at java.lang.Class.forName(Unknown Source)
>>> at
>>> org.eclipse.jface.resource.JFaceResources$ImageRegistryStore .initializeDefaultImages(JFaceResources.java:218)
>>>
>>> at
>>> org.eclipse.jface.resource.JFaceResources$ImageRegistryStore . <init>(JFaceResources.java:174)
>>>
>>> ... 31 more
>>> Caused by: java.lang.ArrayIndexOutOfBoundsException: 1
>>> at
>>> org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:905)
>>>
>>> at
>>> org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:372)
>>>
>>> at
>>> org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:291)
>>> at
>>> org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:312)
>>> at
>>> org.eclipse.jface.resource.JFaceResources$FontRegistryStore. getFontRegistry(JFaceResources.java:149)
>>>
>>> at
>>> org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:511)
>>>
>>> at
>>> org.eclipse.jface.resource.JFaceResources.getDialogFont(JFac eResources.java:442)
>>>
>>> at
>>> org.eclipse.jface.layout.LayoutConstants.initializeConstants (LayoutConstants.java:37)
>>>
>>> at
>>> org.eclipse.jface.layout.LayoutConstants.getSpacing(LayoutCo nstants.java:67)
>>>
>>> at
>>> org.eclipse.jface.layout.GridLayoutFactory.fillDefaults(Grid LayoutFactory.java:128)
>>>
>>> at org.eclipse.jface.dialogs.PopupDialog.<clinit>(PopupDialog.java:291)
>>> ... 35 more
>>> java.lang.ArrayIndexOutOfBoundsException: 1
>>> at
>>> org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:905)
>>>
>>> at
>>> org.eclipse.jface.resource.FontRegistry.readResourceBundle(F ontRegistry.java:372)
>>>
>>> at
>>> org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:291)
>>> at
>>> org.eclipse.jface.resource.FontRegistry.<init>(FontRegistry.java:312)
>>> at
>>> org.eclipse.jface.resource.JFaceResources$FontRegistryStore. getFontRegistry(JFaceResources.java:149)
>>>
>>> at
>>> org.eclipse.jface.resource.JFaceResources.getFontRegistry(JF aceResources.java:511)
>>>
>>> at org.eclipse.jface.window.Window.createShell(Window.java:510)
>>> at org.eclipse.jface.window.Window.create(Window.java:432)
>>> at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1071)
>>> at org.eclipse.jface.window.Window.open(Window.java:793)
>>> at org.eclipse.jface.dialogs.ErrorDialog.open(ErrorDialog.java: 356)
>>> at
>>> org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog. java:420)
>>> at
>>> org.eclipse.jface.dialogs.ErrorDialog.openError(ErrorDialog. java:385)
>>> at
>>> de.ineos.veranstaltung.util.HelperUtil.displayError(HelperUt il.java:65)
>>> at
>>> de.ineos.veranstaltung.AdminWorkbenchAdvisor.eventLoopExcept ion(AdminWorkbenchAdvisor.java:59)
>>>
>>> at
>>> org.eclipse.ui.internal.ExceptionHandler.handleException(Exc eptionHandler.java:62)
>>>
>>> at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2362)
>>> at org.eclipse.ui.internal.Workbench.access$5(Workbench.java:22 06)
>>> at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:424)
>>> at
>>> org.eclipse.rap.ui.internal.RealmAdapterHook.runWithDefault( RealmAdapterHook.java:48)
>>>
>>> at
>>> org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Work bench.java:427)
>>> at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.j ava:157)
>>> at de.ineos.veranstaltung.Admin.start(Admin.java:22)
>>> at
>>> org.eclipse.rap.ui.internal.application.EntrypointApplicatio nWrapper.createUI(EntrypointApplicationWrapper.java:27)
>>>
>>> at
>>> org.eclipse.rwt.internal.lifecycle.EntryPointManager.createU I(EntryPointManager.java:92)
>>>
>>> at
>>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle.createUI(RWT LifeCycle.java:253)
>>>
>>> at
>>> org.eclipse.rwt.internal.lifecycle.RWTLifeCycle$UIThreadCont roller.run(RWTLifeCycle.java:117)
>>>
>>> at java.lang.Thread.run(Unknown Source)
>>> at org.eclipse.rwt.internal.lifecycle.UIThread.run(UIThread.jav a:80)
>>>
>>>
>>>
>>>
>>> It runs OK with the M6 target-platform. I did not change anything in my
>>> code. I also deactivated the custom theme i'm using,
>>> without success. That's quite unfortunate, since i was going to deploy a
>>> new version of my application tomorrow morning, to
>>> leverage all the new bugfixes and stuff :). But it seems that i have to
>>> stick with the M6 target. Really sad :/.
>>>
>>> Someone has an idea what could be the problem, or is someone also
>>> experiencing this error??
>>>
|
|
|
Powered by
FUDForum. Page generated in 0.73135 seconds