[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[News.eclipse.test-and-performance] Re: "IllegalArgumentException:Argument cannot be null" at startup

You know... I run into a similar problem on Windows XP if I pass the -vmargs -Xm512M also. Drop that out of your statement to start. I've never gotten eclipse to run when I pass that from the commandline.

Vic Hanson


cj wrote:
Hello,

sorry for the post to several groups, but we are hitting the wall trying to
figure out why this exception is being thrown and thus preventing Eclipse
3.0 from starting up. Can anyone help?

We are trying to run Eclipse 3.0 on Solaris while connecting to it from
Windows XP pro using Reflection.
We are calling it with:

<eclipse_dir>$ ./eclipse -vm <java_1.4.2_dir>/bin/java -vmargs -Xm512M

The splash screen comes up, then there is a dialog box indicating that there
was an error and that the details have been saved into a log file in the
./configuration directory. Here is the contents of such file:

!SESSION Aug 12, 2004
18:10:16.784 ---------------------------------------------
eclipse.buildId=I200406251208
java.version=1.4.2_05
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=solaris, ARCH=sparc, WS=motif, NL=en

!ENTRY org.eclipse.osgi Aug 12, 2004 18:10:16.787
!MESSAGE Application error
!STACK 1
java.lang.IllegalArgumentException: Argument cannot be null
        at org.eclipse.swt.SWT.error(SWT.java:2677)
        at org.eclipse.swt.SWT.error(SWT.java:2616)
        at org.eclipse.swt.SWT.error(SWT.java:2587)
        at org.eclipse.swt.graphics.Font.<init>(Font.java:106)
        at
org.eclipse.jface.resource.FontRegistry.calculateDefaultFont(FontRegistry.java:412)
        at
org.eclipse.jface.resource.FontRegistry.defaultFontRecord(FontRegistry.java:430)
        at
org.eclipse.jface.resource.FontRegistry.getFontRecord(FontRegistry.java:519)
        at
org.eclipse.jface.resource.FontRegistry.get(FontRegistry.java:472)
        at
org.eclipse.jface.resource.JFaceResources.getDialogFont(JFaceResources.java:182)
        at
org.eclipse.jface.dialogs.Dialog.initializeDialogUnits(Dialog.java:778)
        at
org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:93)
        at org.eclipse.jface.window.Window.create(Window.java:348)
        at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:925)
        at org.eclipse.jface.window.Window.open(Window.java:637)
        at
org.eclipse.ui.internal.ide.ChooseWorkspaceDialog.prompt(ChooseWorkspaceDialog.java:65)
        at
org.eclipse.ui.internal.ide.IDEApplication.promptForWorkspace(IDEApplication.java:314)
        at
org.eclipse.ui.internal.ide.IDEApplication.checkInstanceLocation(IDEApplication.java:219)
        at
org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:83)
        at
org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:335)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:273)
        at
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:129)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at org.eclipse.core.launcher.Main.basicRun(Main.java:183)
        at org.eclipse.core.launcher.Main.run(Main.java:644)
        at org.eclipse.core.launcher.Main.main(Main.java:628)