Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Java 7 update 55 Mac broken(Another problem in CViewEmbeddedFrame)
Java 7 update 55 Mac broken [message #1297678] Tue, 15 April 2014 21:13
Dylan McReynolds is currently offline Dylan McReynoldsFriend
Messages: 30
Registered: July 2009
Member
I applied the patch to my 3.6.2 application that was delivered for Java 7 on Mac as part of the fix for Java 7 breaking AWT_SWT in bug 374199. (https://bugs.eclipse.org/bugs/show_bug.cgi?id=374199 )

Today they released Java 7 update 55. This causes my application to not startup. It worked with update 51 and several previous releases. Something in the constructor of CViewEmbeddedFrame is now throwing a nullpointer. Anyone have any magical suggestions?

Thanks,
Dylan

A java.lang.reflect.InvocationTargetException object with a message of:
java.lang.reflect.InvocationTargetException
was generated in the following call stack:
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.eclipse.swt.awt.SWT_AWT.new_Frame(SWT_AWT.java:159)
at com.lspeed.workbench.AstoriaNavigatorWindowAdvisor.prepareModalFrame(AstoriaNavigatorWindowAdvisor.java:544)
at com.lspeed.workbench.AstoriaNavigatorWindowAdvisor.createWindowContents(AstoriaNavigatorWindowAdvisor.java:409)
at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:1016)
at org.eclipse.jface.window.Window.create(Window.java:431)
at org.eclipse.ui.internal.Workbench$22.runWithException(Workbench.java:1208)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3286)
at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803)
at org.eclipse.ui.internal.Workbench$31.runWithException(Workbench.java:1567)
at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
at org.eclipse.swt.widgets.Synchronizer.syncExec(Synchronizer.java:179)
at org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:150)
at org.eclipse.swt.widgets.Display.syncExec(Display.java:4240)
at org.eclipse.ui.internal.StartupThreading.runWithoutExceptions(StartupThreading.java:94)
at org.eclipse.ui.internal.Workbench.init(Workbench.java:1562)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2567)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at com.lspeed.workbench.AstoriaNavigatorApp$3.run(AstoriaNavigatorApp.java:79)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3593)
at org.eclipse.swt.widgets.Display.observerProc(Display.java:3234)
Caused by: java.lang.NullPointerException
at java.awt.Window.addToWindowList(Window.java:2795)
at java.awt.Window.init(Window.java:481)
at java.awt.Window.<init>(Window.java:536)
at java.awt.Frame.<init>(Frame.java:420)
at java.awt.Frame.<init>(Frame.java:385)
at sun.awt.EmbeddedFrame.<init>(EmbeddedFrame.java:97)
at sun.awt.EmbeddedFrame.<init>(EmbeddedFrame.java:94)
at sun.awt.EmbeddedFrame.<init>(EmbeddedFrame.java:82)
at sun.lwawt.macosx.CViewEmbeddedFrame.<init>(CViewEmbeddedFrame.java:43)

Previous Topic:SWT 4.3 browser displays IE 11 incorrectly
Next Topic:Diffrent SWT browser IE versions during runtime
Goto Forum:
  


Current Time: Fri Nov 28 17:31:35 GMT 2014

Powered by FUDForum. Page generated in 0.02878 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software