| [news.eclipse.platform.rcp] Re: nullpointer on the first start of product |
I found out, that the exception is thrown in the initialization of a of a Swing component.
Frame frame = (Frame) SWT_AWT.new_Frame(comp);
why it makes no problems on linux and windows, but on MAC?
Within SWT_AWT (org.eclipse.swt.carbon.macosx.ppc_3.1.0.jar)
public static Frame new_Frame (final Composite parent) {
if (parent == null) SWT.error (SWT.ERROR_NULL_ARGUMENT);
if ((parent.getStyle () & SWT.EMBEDDED) == 0) {
SWT.error (SWT.ERROR_INVALID_ARGUMENT);
}
SWT.error (SWT.ERROR_NOT_IMPLEMENTED);
return null;
}
Ricky