facebook

java.lang.UnsupportedOperationExcepti

  1. MyEclipse Archived
  2.  > 
  3. Application Servers and Deployment
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #337906 Reply

    Charles
    Member

    I am currently running MyEclipse Bing Edition v10.7.1) and everytime I do I clean and build, I get this error:

    Errors running builder ‘DeploymentBuilder’ on project ‘XXXXX’.

    Trace Stack

    java.lang.UnsupportedOperationException
    at com.genuitec.eclipse.j2eedt.core.internal.project.WTPEarProject.hasValidState(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.earProjectBuildAll(Unknown Source)
    at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.buildAll(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.resources.Workspace.buildInternal(Workspace.java:513)
    at org.eclipse.core.internal.resources.Workspace.build(Workspace.java:422)
    at org.eclipse.ui.actions.GlobalBuildAction$1.run(GlobalBuildAction.java:180)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    Session Data:

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

    #337938 Reply

    support-swapna
    Moderator

    fieldica,

    Sorry that you are seeing this issue.

    Can you answer some more questions for us?

    1. Is the project developed in MyEclipse or imported from elsewhere ? If it is imported from any other IDE, did you enhance it to work with MyEclipse Bling ?

    2. Can you please switch to a new workspace, create a simple EAR project and check if you see the issue there too?

    3. Also share the details of the server and its version on which the project is deployed.

    #338297 Reply

    Charles
    Member

    Please see my respone to your questions below:

    1. Is the project developed in MyEclipse or imported from elsewhere ? If it is imported from any other IDE, did you enhance it to work with MyEclipse Bling ?

    It was migrated from Eclipse but the migration was perfomed by another developer that is no longer with the company so I do not know if the project had to enhanced as part of the migration. However, this application was migrated over a year ago and did not have this issue until recently.

    2. Can you please switch to a new workspace, create a simple EAR project and check if you see the issue there too?

    I was able to create a simple EAR project and did not have this issue.

    3. Also share the details of the server and its version on which the project is deployed.

    The server is Oracel WebLogic 10.3.5.

    Thanks,
    Charles

    #338305 Reply

    support-swapna
    Moderator

    Charles,

    Sorry that you are seeing this issue.

    It looks like an error with WTP project. The project might be missing MyEclipse Web nature or other metadata.

    1.Can you please try to import the older version of the project into a new workspace and see how it works ? Something might have changed in the metadata.

    2. I suggest you move to our latest version MyEclipse 2013 or recreate the project from scratch on MyEclipse 10.7.1.

    Let us know how it works for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: java.lang.UnsupportedOperationExcepti

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