facebook

Errors running builder ‘DeploymentBuilder’ on project

  1. MyEclipse Archived
  2.  > 
  3. Bugs
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #333127 Reply

    jlaudadio
    Member

    Hello,

    After upgrading from MyEclipse 10.5 to 10.7 (10.7-20121026 to be exact), I’ve been experiencing some errors. My platform is JRE 1.6 on Windows 7 64-bit.

    For unknown reasons, my workspace is becoming corrupted in some way resulting in errors from deploying web applications I have in my workspace. I have several web applications in my workspace but I have experienced this issue with only 1 project in the workspace.

    Errors occur at two places:
    1) Anytime a web project is built, I get errors from the com.genuitic.ast.deploy.core plugin. I am assuming this occurs because MyEclipse is attempting to deploy files whenever the project is built.
    2) Whenever I try to open the “Deploy MyEclipse J2EE Project to Server” dialog I get an error in the org.eclipse.ui plugin whose underlying cause (based on stacktrace) is also a NPE in com.genuitec.eclipse.ast.deploy.core.

    I have found the following workaround to the issue:
    1) Exit MyEclipse
    2) Delete the directory $WORKSPACE_DIR\metadata\.plugins\org.eclipse.core.resources
    3) Start MyEclipse back up
    4) Bring my projects back using the “Import existing projects” feature[/list]

    Once I do this, things will be ok for some time but the errors will inevitably return again. I have not been able to determine exactly what it is that causes the errors to start happening again.

    I would like to note that I attempted to start over with a fresh workspace entirely. I did not “import existing projects” in the fresh workspace, but I bring my projects in as new projects from our SVN repository. This did not solve the problem.

    It’s also relevant that this same workspace was in use with 10.5 and I never had any problems. I recently upgraded to 10.7 and that’s when the problems started.

    Here are the detailed error logs:

    Plugin: com.genuitec.eclipse.ast.deploy.core
    Message: Errors running builder ‘DeploymentBuilder’ on project XXX’.
    Exception Stack Trace
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.Deployment.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ModuleDeployment.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.create(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.init(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.getDefault(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildDelta(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.build(Unknown Source)
    at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
    at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
    at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
    at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
    at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
    at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86_64

    Session Data:
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86_64

    Also, whenever I try to open the J2EE server deployment dialog , the dialog fails to open and the following exception appears in the error log:

    Plugin: org.eclipse.ui
    Message: Unhandled event loop exception
    Exception Stack Trace:
    java.lang.NullPointerException
    at com.genuitec.eclipse.ast.deploy.core.Deployment.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ModuleDeployment.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.WebDeployment.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.Deployment.create(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.loadFromPreferences(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.init(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.<init>(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentManager.getDefault(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.ui.dialog.DeploymentManagerDialog.createDialogArea(Unknown Source)
    at org.eclipse.jface.dialogs.TitleAreaDialog.createContents(TitleAreaDialog.java:155)
    at org.eclipse.jface.window.Window.create(Window.java:431)
    at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1089)
    at org.eclipse.jface.window.Window.open(Window.java:790)
    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.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:229)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:584)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:501)
    at org.eclipse.jface.action.ActionContributionItem$6.handleEvent(ActionContributionItem.java:452)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4165)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3754)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:123)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1386)
    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:597)
    at com.genuitec.pulse.eclipse.launcher.Main.main(Main.java:110)

    Session Data:
    eclipse.buildId=unknown
    java.version=1.6.0_13
    java.vendor=Sun Microsystems Inc.
    BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
    Command-line arguments: -os win32 -ws win32 -arch x86_64

    #333169 Reply

    jlaudadio,

    Sorry that you are seeing this issue. The issue might be due to some corruption in your deployments.

    Can you please try these steps to fix it :

    1. Shut down the workspace.

    2. Delete the file com.genuitec.eclipse.ast.deploy.core.prefs which is located at <workspace dir>/.metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.ast.deploy.core.prefs

    3. Start the IDE.

    Let us know how it works for you.

    #333264 Reply

    jlaudadio
    Member

    Doing that did fix the problem. I will let you know if the errors return again.

    #333281 Reply

    jlaudadio,

    Glad that you got it working.
    Let us know if you see any issues.

    #333372 Reply

    jlaudadio
    Member

    My workspace has become corrupted again. Your workaround does resolve the problem, but what can I do to try track down what keeps corrupting the workspace in the first place?

    #333420 Reply

    jlaudadio,

    Sorry that you are seeing issues.
    I have escalated it to a dev team member. They will get back to you.

    #333458 Reply

    jlaudadio,

    Sorry for the inconvenience caused.

    Please take a look at this thread for detailed information on the issue :
    https://www.genuitec.com/forums/topic/servers-view-issue-in-myeclipse-10-7-0-fixed-in-10-7-1/

Viewing 7 posts - 1 through 7 (of 7 total)
Reply To: Errors running builder ‘DeploymentBuilder’ on project

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