8 Replies Latest reply on Aug 23, 2007 7:41 AM by davidbalazic

    JBossTools and Eclipse 3.3.0 , does it work at all ?

    davidbalazic Newbie

      Hi!

      I am trying to set up JBoss Tools (2.0.0beta3) with Eclipse SDK 3.3.0 the entire day with no success. I get exceptions/errors and the functionality I want is missing.

      I used Eclipse 3.1.2 with JBossIDE before.

      I want :
      - "Deployment" item in the context menu of EAR files (just simple file copy)
      - "JBoss Remote" in the debug configuration type

      What components do I need ?
      I installed everything (version 2.0.0.beta3) from http://download.jboss.org/jbosstools/updates/development , but no success :-(

        • 1. Re: JBossTools and Eclipse 3.3.0 , does it work at all ?
          Max Rydahl Andersen Master

          what exceptions/errors ?

          are you just JDK 5 ? if not then eclipse 3.3/WTP won't work.

          • 2. Re: JBossTools and Eclipse 3.3.0 , does it work at all ?
            davidbalazic Newbie

            I have jdk1.5.0_09.

            There are a lot of errors. See below.

            Are two functions I mentiond supported at all in JBossTools ?

            For example when click in Preferences JBoss Tools / JBoss Servers / View I get a dialog "Could Not Accept Changes" "The currently displayed page contains invalid values."

            The log entry is :

            !ENTRY org.eclipse.osgi 2 1 2007-08-22 14:36:59.850
            !MESSAGE NLS unused message: JBoss in: org.jboss.ide.eclipse.as.ui.Messages

            !ENTRY org.eclipse.osgi 2 1 2007-08-22 14:36:59.850
            !MESSAGE NLS unused message: The in: org.jboss.ide.eclipse.as.ui.Messages

            !ENTRY org.eclipse.jface 4 2 2007-08-22 14:36:59.960
            !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
            !STACK 0
            java.lang.NullPointerException
            at org.jboss.ide.eclipse.as.ui.views.server.extensions.ServerViewProvider.setEnabled(ServerViewProvider.java:105)
            at org.jboss.ide.eclipse.as.ui.views.server.extensions.ServerViewProvider.(ServerViewProvider.java:40)
            at org.jboss.ide.eclipse.as.ui.ExtensionManager.loadAllServerViewProviders(ExtensionManager.java:64)
            at org.jboss.ide.eclipse.as.ui.ExtensionManager.getAllServerViewProviders(ExtensionManager.java:47)
            at org.jboss.ide.eclipse.as.ui.JBossServerUIPlugin.getAllServerViewProviders(JBossServerUIPlugin.java:119)
            at org.jboss.ide.eclipse.as.ui.preferencepages.ViewPreferencePage.addEnablementComposite(ViewPreferencePage.java:205)
            at org.jboss.ide.eclipse.as.ui.preferencepages.ViewPreferencePage.createContents(ViewPreferencePage.java:137)
            at org.eclipse.jface.preference.PreferencePage.createControl(PreferencePage.java:233)
            at org.eclipse.jface.preference.PreferenceDialog.createPageControl(PreferenceDialog.java:1456)
            at org.eclipse.jface.preference.PreferenceDialog$13.run(PreferenceDialog.java:1213)
            at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
            at org.eclipse.core.runtime.Platform.run(Platform.java:857)
            at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
            at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
            at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDialog.java:1207)
            at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.showPage(FilteredPreferenceDialog.java:433)
            at org.eclipse.jface.preference.PreferenceDialog$9.selectionChanged(PreferenceDialog.java:698)
            at org.eclipse.jface.viewers.StructuredViewer$3.run(StructuredViewer.java:842)
            at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
            at org.eclipse.core.runtime.Platform.run(Platform.java:857)
            at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
            at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
            at org.eclipse.jface.viewers.StructuredViewer.firePostSelectionChanged(StructuredViewer.java:840)
            at org.eclipse.jface.viewers.StructuredViewer.handlePostSelect(StructuredViewer.java:1153)
            at org.eclipse.jface.viewers.StructuredViewer$5.widgetSelected(StructuredViewer.java:1178)
            at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrategy.java:250)
            at org.eclipse.jface.util.OpenStrategy.access$4(OpenStrategy.java:244)
            at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:418)
            at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
            at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
            at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3659)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3296)
            at org.eclipse.jface.window.Window.runEventLoop(Window.java:820)
            at org.eclipse.jface.window.Window.open(Window.java:796)
            at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65)
            at org.eclipse.jface.action.Action.runWithEvent(Action.java:498)
            at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:545)
            at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:490)
            at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:402)
            at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
            at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938)
            at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3682)
            at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3293)
            at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389)
            at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353)
            at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219)
            at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466)
            at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289)
            at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461)
            at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
            at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106)
            at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106)
            at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363)
            at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176)
            at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
            at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:504)
            at org.eclipse.equinox.launcher.Main.basicRun(Main.java:443)
            at org.eclipse.equinox.launcher.Main.run(Main.java:1169)

            • 3. Re: JBossTools and Eclipse 3.3.0 , does it work at all ?
              Max Rydahl Andersen Master

              yes they should be. They might though have changed names.

              run eclipse with -clean -debug and let us know what the startup errors are.

              • 5. Re: JBossTools and Eclipse 3.3.0 , does it work at all ?
                Max Rydahl Andersen Master

                so the log reveals you do not have the full wtp installed (datatools are missing) and that you for some reason are triggering NPE's in archive implementation ;(

                Please report it in jira and attach the log there.

                thanks

                • 6. Re: JBossTools and Eclipse 3.3.0 , does it work at all ?
                  davidbalazic Newbie

                  OK, I installed Eclipse freshly (unzipped eclipse-SDK-3.3-win32.zip , md5sum c7f5df655e5bd22190f31168b4f37c64), went straight to the update/install , added http://download.jboss.org/jbosstools/updates/development as new remote site, checked it and also the two other sites ("Europa Discovery Site" and "The Eclipse Project Updates") and clicked Finish.

                  The in the search results dialog I checked "JBossTools 2.0.0.beta3".
                  Immediatelly the error message "JBossTools (2.0.0.beta3) requires feature "org.eclipse.emf". popped up. I clicked on the "Select Required" button, but nothing happened. I selected the "JBossTools 2.0.0.beta3" item and clicked "Select Required" again, but nothing happened either.

                  Shouldn't this automatically select all dependencies for install ?

                  I manually checked some EMF related items, but the error was still there. As some of the items I checked also had unresolved dependencies, I clicked "Select Required" again, and not it resolved all problems. I Unchecked all except "JBossTools 2.0.0.beta3" and tried to figure out the minimum set of features required. To make it short, after I while it happened, that I had ONLY had "JBossTools 2.0.0.beta3" selected, clicked "Select Required" and now it worked and selected only 6 other features.
                  But not datatools.

                  I install them.

                  No errors, but I have no Deployment or Debug item.

                  I then install "JBossIDE JBossAS Adapter Feature". OK now I have additional items in the Preferences. JBoss Tools / JBoss Servers / View. Which causes an exception.
                  I then installed all datatools features, but it is the same. The error is same as described in the third post (posted at Wed Aug 22, 2007 08:40 AM)

                  Summary :
                  - problems with dependency resolving. Eclipse or JBossTools packaging bug ?
                  - features description URL should be changed to something meaningful from http://www.jboss.com/products/jbosside which just says "site moved"

                  • 7. Re: JBossTools and Eclipse 3.3.0 , does it work at all ?
                    Max Rydahl Andersen Master

                    Ok - please report this in jira.

                    Then go download the eclipse wtp all in one download and then go to our updatesite.