facebook

Mac: Standard EJB XDoclet config probs [Closed]

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

    In trying to add the Standard EJB XDoclet to a project configuration (as per the help file), I go to the properties page of my project, select “MyEclipse-XDoclet” in the left-hand nav and I get the following error:

    “The currently displayed page contains invalid values.”

    If I click on another properties set in the left-hand nav and click again on “MyEclipse-XDoclet”, I get no error message, but only a single field that can’t be right-clicked (as per docs).

    I can cancel out of properties, come back into it, and the error message will display again on the first (and only the first) click on “MyEclipse-XDoclet.”

    Any ideas?

    Cheers,

    Eric Courtney

    Mac OSX 10.2.8
    Eclipse Version: 3.0.0
    Build id: 200310101454 (fresh install)
    No other external plugins
    8 plugins are org.eclipse.pde.*
    MyEclipse 3.6.3
    JDK 1.4.1_01 for environment and app server
    JBoss 4.0.0DR2

    #199444 Reply

    Scott Anderson
    Participant

    Eric,

    I just tried replicating this on my Mac but couldn’t. XDoclet appears to work correctly in my installation.

    If I click on another properties set in the left-hand nav and click again on “MyEclipse-XDoclet”, I get no error message, but only a single field that can’t be right-clicked

    What “single field” do you get? What does it say?

    Can you open up a terminal window and have a look at the Eclipse log file? It’s localted at <workspace_dir>/.metadata/.log. Notice that it is a ‘.’ file so you’ll need ls -a to see it. I would imagine that there should be an error or two in there that should lead us down the right path.

    One other thing, did you follow the Eclipse installation procedures *exactly*? When downloading from eclipse.org they mention that you must use Safari, not IE, and that you must have a very current version of StuffIt installed. Can you please see if you did all those things properly? If there’s any doubt, I’d suggest doing an uninstall/reinstall of Eclipse and MyEclipse.

    –Scott
    MyEclipse Support

    #199449 Reply

    The single field is unidentified. It’s empty and you can’t put anything in it (although it does seem to accept focus).

    Install procedures followed exactly (as far as I know <wink>). Safari, latest stuffit, etc.

    .log in relevant part lists:
    !ENTRY org.eclipse.ui 4 4 Oct 24, 2003 10:51:57.785
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Oct 24, 2003 10:51:57.788
    !MESSAGE Device is disposed
    !STACK 0
    org.eclipse.swt.SWTException: Device is disposed
    at org.eclipse.swt.SWT.error(SWT.java:2369)
    at org.eclipse.swt.SWT.error(SWT.java:2299)
    at org.eclipse.swt.widgets.Display.error(Display.java:796)
    at org.eclipse.swt.widgets.Display.checkDevice(Display.java:501)
    at org.eclipse.swt.widgets.Display.getShells(Display.java:1273)
    at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:86)
    at org.eclipse.jface.preference.PreferenceDialog$8.widgetSelected(PreferenceDialog.java:456)
    at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:198)
    at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:193)
    at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:334)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:102)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2078)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1908)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:583)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:164)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)
    at org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1040)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2193)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1890)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2347)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:299)
    at org.eclipse.core.launcher.Main.run(Main.java:765)
    at org.eclipse.core.launcher.Main.main(Main.java:599)
    !ENTRY org.eclipse.ui 4 4 Oct 24, 2003 10:51:57.806
    !MESSAGE Unhandled exception caught in event loop.
    !ENTRY org.eclipse.ui 4 0 Oct 24, 2003 10:51:57.808
    !MESSAGE Device is disposed
    !STACK 0
    org.eclipse.swt.SWTException: Device is disposed
    at org.eclipse.swt.SWT.error(SWT.java:2369)
    at org.eclipse.swt.SWT.error(SWT.java:2299)
    at org.eclipse.swt.widgets.Display.error(Display.java:796)
    at org.eclipse.swt.widgets.Display.checkDevice(Display.java:501)
    at org.eclipse.swt.widgets.Display.update(Display.java:2772)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:589)
    at org.eclipse.jface.window.Window.open(Window.java:563)
    at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:164)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:842)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:541)
    at org.eclipse.jface.action.ActionContributionItem.access$4(ActionContributionItem.java:494)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:466)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82)
    at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1040)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2193)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1890)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2347)
    at org.eclipse.ui.internal.Workbench.run(Workbench.java:2330)
    at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
    at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
    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:299)
    at org.eclipse.core.launcher.Main.run(Main.java:765)
    at org.eclipse.core.launcher.Main.main(Main.java:599)

    #199450 Reply

    Just on a lark, I reinstalled again. Now it works without a hitch. Whew! I think something may have gotten fouled up when I went from 3.6.2 to 3.6.3.

    Thanks,

    Eric

    #199455 Reply

    Scott Anderson
    Participant

    Eric,

    I was going to recommend a reinstallation. Once SWT starts having problems, there isn’t much you can do. 🙂

    Glad to hear you’re up and running.

    –Scott
    MyEclipse Support

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: Mac: Standard EJB XDoclet config probs [Closed]

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