facebook

Deployment problem with web project in MyEclipse 10

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

    fcurrabm
    Member

    Hi team,

    Similar to this issue, I’m experiencing this error on recently installed MyEclipse 10.6.

    The error message while building all the projects in my workspace is:

    Errors occurred during the build.
    Errors running builder ‘DeploymentBuilder’ on project ‘xxxWeb’.
    java.lang.NullPointerException

    The error message from workspace log is:

    
    !ENTRY org.eclipse.core.resources 4 75 2012-10-05 14:14:34.844
    !MESSAGE Errors occurred during the build.
    !SUBENTRY 1 com.genuitec.eclipse.ast.deploy.core 4 75 2012-10-05 14:14:34.844
    !MESSAGE Errors running builder 'DeploymentBuilder' on project 'xxxWeb'.
    !STACK 0
    java.lang.NullPointerException
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getModulePreferences(ModuleManager.java:435)
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.loadModuleIds(ModuleManager.java:307)
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.loadModules(ModuleManager.java:276)
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getModules(ModuleManager.java:84)
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getModules(ModuleManager.java:70)
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.initializeModules(ModuleManager.java:58)
        at com.genuitec.eclipse.core.librarymgmt.ModuleManager.getModuleForLibraryId(ModuleManager.java:164)
        at com.genuitec.eclipse.ast.deploy.core.packaging.WarPackager.deployUserLibsOnClasspath(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.packaging.DefaultPackagerStrategy.deployUserLibsOnClasspath(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.packaging.PackageUtils.deployUserLibsOnClasspath(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.WebDeployment.?(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.WebDeployment.doProjectTypeSpecificPostResyncAll(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.Deployment.resyncAll(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.Deployment.resyncAll(Unknown Source)
        at com.genuitec.eclipse.ast.deploy.core.DeploymentBuilder.webProjectBuildAll(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.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)
    

    Finally installation details as follow:

    
    *** Date: 
    Friday, 5 October 2012 14:16:01 o'clock BST
    
    *** System properties:
    OS=WindowsXP
    OS version=5.1.0
    OS arch=x86
    Profile arch=x86
    Window system=win32
    Java version=1.6.0_13
    VM Args=-Xmx512m
    -XX:MaxPermSize=256m
    -XX:ReservedCodeCacheSize=64m
    -Dosgi.nls.warnings=ignore
    -Djava.class.path=C:\PROGRA~1\Genuitec\MYECLI~2\../Common/plugins/OR02A7~1.JAR
    
    
    
    *** Subscription information
    Product Id: E3MB (MyEclipse Blue Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20130210
    Number of users: 2
    
    *** Eclipse details:
    MyEclipse Blue Edition
    
    Version: 10.6 Blue
    Build id: 10.6-Blue-20120727
    
    
    Blueprint: MyEclipse Blue Edition 10
    
    com.genuitec.myeclipse.blue.feature - 10.6.0.me201207261914
    com.genuitec.myeclipse.jboss - 10.6.0.me201207261914
    com.genuitec.myeclipse.pulse - 10.6.0.me201207261914
    org.eclipse.emf - 2.7.0.v20110606-0949
    org.eclipse.gef - 3.7.0.v20110425-2050-777D-81B2Bz0685C3A6E34272
    org.eclipse.graphiti.feature - 0.8.0.v20110607-1252
    org.eclipse.jst.common.fproj.enablement.jdt - 3.3.0.me201207261914
    org.eclipse.jst.enterprise_ui.feature - 3.3.0.me201207261914
    org.eclipse.jst.server_adapters.ext.feature - 3.3.0.me201207261914
    org.eclipse.jst.server_adapters.feature - 3.2.100.me201207261914
    org.eclipse.jst.server_ui.feature - 3.3.0.me201207261914
    org.eclipse.jst.ws.axis2tools.feature - 1.1.200.me201207261914
    org.eclipse.sapphire.platform - 0.3.0.201106221325
    org.eclipse.wst.common.fproj - 3.3.0.me201207261914
    org.eclipse.wst.server_adapters.feature - 3.2.100.me201207261914
    org.eclipse.xsd - 2.7.0.v20110606-0949
    
    
    org.eclipse.cvs - 1.3.100.v20110520-0800-7B78FHl9VF7BD7KBM4GP9C
    org.eclipse.draw2d - 3.7.0.v20110425-2050-46-7w3122153603161
    org.eclipse.equinox.p2.core.feature - 1.0.1.v20110906-1605-8290FZ9FVKHVRKtmx3fpNuo02129
    org.eclipse.equinox.p2.extras.feature - 1.0.1.v20110906-1605-7A4FD4DiVOMap8cHSc6vPuny4gqO
    org.eclipse.equinox.p2.rcp.feature - 1.0.1.v20110906-1605-782EqBqNKGVkiV-PUsgz-uny4gqO
    org.eclipse.equinox.p2.user.ui - 2.1.2.R37x_v20110815-1155-6-Bk8pYWZz0qUTX5I15GZWwbXkrl
    org.eclipse.help - 1.3.0.v20110530-0844-7i7uFFmFFl8nvqbDpEqTvx
    org.eclipse.jdt - 3.7.2.v20120120-1414-7z8gFcuFMP7BW5XTz0jLTnz0l9B1
    org.eclipse.pde - 3.7.2.v20120120-1420-7b7rFUOFEx2Xnqafnpz0E--0
    org.eclipse.platform - 3.7.2.v20120207-1839-9gF7UHPDFxGjd-PqDr2jX_4yKaumkoHTz04_q-q
    org.eclipse.rcp - 3.7.2.v20120120-1424-9DB5FmnFq5JCf1UA38R-kz0S0272
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\Program Files\Genuitec\MyEclipse Blue Edition 10\myeclipse-blue.exe
    -name
    Myeclipse-blue
    --launcher.library
    C:\Program Files\Genuitec\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\Program Files\Genuitec\MyEclipse Blue Edition 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -install
    C:\Program Files\Genuitec\MyEclipse Blue Edition 10
    -configuration
    C:\Program Files\Genuitec\MyEclipse Blue Edition 10\configuration
    -vm
    C:\Program Files\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_1.6.0.013\jre\bin\client\jvm.dll
    

    Java Build Path looks ok, and I deploy to an external JBoss 5. Any ideas?

    Thanks

    #330943 Reply

    support-swapna
    Moderator

    fcurrabm,

    Sorry that you are seeing this issue.

    Can you please answer some more questions for us ?

    1. Can you tell us what kind of projects are these? Have you added any capabilities to your web projects?

    2. Were you prompted to upgrade the projects when working with them on MyEclipse 10.6 – and did you choose to upgrade or cancel the operation?

    3. Can you send us the .project file and all the files in the .settings folder of the project to help us investigate further- you can mail them to support@genuitec.com ATTN Swapna with a link to this thread.

    4. Can you try creating a brand new web project (just use the defaults) and deploy that – does that work without errors?

    Let us know how it works for you.

    #330946 Reply

    fcurrabm
    Member

    Hi swapna,

    Thanks for your reply. Answers below

    1) Is a web project, capabilities are: Web, Javascript, Java Server Faces and ICEFaces; as stated in Project properties -> MyEclipse tab

    2) I wasn’t prompted to upgrade the projects as far as I remember. Actually I had this problem in my previous MyEclipse 9 and based on previous post mentioned I tried the latest version looking for a fix. But issue was not fixed.

    3) Email sent.

    4) Worked fine. Deployment is not really the issue, is compiling. Web project fails to compile, i.e. click in “Project” -> “Clean…” -> “Clean projects selected below…”; then fails with the null exception.

    I’ll try to replace the Web project with a previous version from our CVS repository. Just trying to identify if was a particular change that triggered this issue.

    #330959 Reply

    fcurrabm
    Member

    I think I’m close to the solution.

    The web .classpath was modified recently and these entries were added:

        <classpathentry kind="con" path="melibrary.com.genuitec.eclipse.icefaces.MYECLIPSE_ICEfaces_Core_JSF2_200"/>
        <classpathentry kind="con" path="melibrary.com.genuitec.eclipse.icefaces.MYECLIPSE_ICEfaces_Ice_JSF2_200"/>
        <classpathentry kind="con" path="melibrary.com.genuitec.eclipse.icefaces.MYECLIPSE_ICEfaces_Push_JSF2_200"/>
        <classpathentry kind="con" path="melibrary.com.genuitec.eclipse.icefaces.MYECLIPSE_ICEfaces_Ace_JSF2_200"/>
    

    The error disappear when I remove those entries from the classpath.

    I compared the add-ons and software installed on my version 10.6 with a colleague’s ME 10.0, and I noticed that mine doesn’t include the software ‘ICEFaces Support for MyEclipse’.

    I’m guessing that’s the reason why it fails and also why didn’t worked on my previous ME 9.

    My problem now is I can’t find it to install it.

    I’m searching the MyEclipse Configuration Center, under ‘Software’ tab and ‘Pulse Catalog’, but can’t see the ICEFaces Support software anywhere. Has it been removed? Or should I search it under a different name?

    #330960 Reply

    fcurrabm
    Member

    Problem solved.

    Didn’t realised the ‘ICEFaces Support for MyEclipse’ was in the Dashboard! Added and now Web project compiles smoothly as before.

    Thanks team.

    #330990 Reply

    support-swapna
    Moderator

    fcurrabm,

    Glad that you figured it out and resolved the issue.
    Do let us know if you see any issues.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Deployment problem with web project in MyEclipse 10

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