facebook

Strange: !MESSAGE java.lang.NullPointerException

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #207048 Reply

    minusone
    Member

    When trying to add a project deployment for a EAR (I created using MyEclipse) and selecting my server (Jboss 3 — which is enabled and configured correctly), and clicking the “Finish” button, I am thrown this exception:

    
    !ENTRY org.eclipse.core.resources 2 2 May 16, 2004 14:21:01.500
    !MESSAGE EASIE CORE: VMInstall named 'JVM 1.4.1 (MacOS X Default)' could not be found.
    !ENTRY org.eclipse.ui 4 4 May 16, 2004 14:21:01.508
    !MESSAGE Unhandled exception caught in event loop.
    Unhandled exception caught in event loop.
    Reason:
    !ENTRY org.eclipse.ui 4 0 May 16, 2004 14:21:01.888
    !MESSAGE java.lang.NullPointerException
    !STACK 0
    java.lang.NullPointerException
            at com.genuitec.eclipse.easie.jboss.JBossLauncherPlugin.isConfigured(Unknown Source)
            at com.genuitec.eclipse.easie.jboss.A.Ä„(Unknown Source)
            at com.genuitec.eclipse.ast.deploy.core.ui.wizard.NewDeploymentWizard.performFinish(Unknown Source)
            at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:608)
            at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:321)
            at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:423)
            at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1012)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2249)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1965)
            at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
            at org.eclipse.jface.window.Window.open(Window.java:563)
            at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.Ä‚(Unknown Source)
            at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.access$0(Unknown Source)
            at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog$3.handleEvent(Unknown Source)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1012)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2249)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1965)
            at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
            at org.eclipse.jface.window.Window.open(Window.java:563)
            at com.genuitec.eclipse.ast.deploy.core.ui.action.DeploymentMgmtActionDelegate.runWithEvent(Unknown Source)
            at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:241)
            at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456)
            at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403)
            at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397)
            at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
            at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1012)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2249)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1965)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
            at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
            at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
            at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
            at java.lang.reflect.Method.invoke(Native Method)
            at org.eclipse.core.launcher.Main.basicRun(Main.java:291)
            at org.eclipse.core.launcher.Main.run(Main.java:747)
            at org.eclipse.core.launcher.Main.main(Main.java:583)
            at java.lang.reflect.Method.invoke(Native Method)
            at apple.launcher.LaunchRunner.run(LaunchRunner.java:88)
            at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50)
            at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
    java.lang.NullPointerException
    

    I don’t know if its relevant — it looks as though it may be, but Eclipse is running using JVM version: java.version=1.3.1

    I do, however have the latest JVM for Mac OS X (10.3.3):
    java -fullversion: java full version “1.4.2_03-117.1”

    But, Eclipse doesn’t seem to want to run under this version… even changing the Info.plist to: 1.4* just cause the launch of Eclipse to crash.

    Just wondering if I’m doing something wrong.

    #207053

    Scott Anderson
    Participant

    First, for Eclipse 2.1.x you must run it on JDK 1.3.1. Second, have you compared your JBoss configuration with that
    shown in the FAQ here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-19.html

    Please be sure to check the JBoss configuration and also make sure that the JDK page on the configuration is set to point to the workbench default of 1.3.1.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Strange: !MESSAGE java.lang.NullPointerException

You must be logged in to post in the forum log in