facebook

NullPointerException DependencyIndex

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

    Hi,

    after having a lot of problems when working with ME 10.5 32-bit, I installed the 64-bit version.

    Now I get the following error – one of round about 350 of the same type – protocolled in .log:
    !ENTRY org.eclipse.wst.validation 4 0 2012-07-20 11:18:23.183
    !MESSAGE
    !STACK 0
    java.lang.NullPointerException
    at org.eclipse.wst.validation.internal.DependencyIndex.getSet(DependencyIndex.java:102)
    at org.eclipse.wst.validation.internal.DependencyIndex.set(DependencyIndex.java:222)
    at org.eclipse.wst.validation.Validator$V2.validate(Validator.java:1178)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:737)
    at org.eclipse.wst.validation.internal.ValManager$1.visit(ValManager.java:697)
    at org.eclipse.wst.validation.internal.ValManager.accept(ValManager.java:816)
    at org.eclipse.wst.validation.internal.ValManager.validate(ValManager.java:701)
    at org.eclipse.wst.validation.internal.ValidationRunner.execute(ValidationRunner.java:134)
    at org.eclipse.wst.validation.internal.ValidationRunner.validate(ValidationRunner.java:68)
    at org.eclipse.wst.validation.ui.internal.ManualValidationRunner.runInWorkspace(ManualValidationRunner.java:83)
    at org.eclipse.core.internal.resources.InternalWorkspaceJob.run(InternalWorkspaceJob.java:38)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

    What did I do before? I excluded a lot of resources from validation. Actually the exclusion had no effect, maybe as of this error message.

    What can I do to get away from these error messages?
    How can I make ME to really exclude the defined files to exclude?

    Thanks for your help,

    Michael

    #328364 Reply

    support-swapna
    Moderator

    Michael,

    Sorry that you are seeing this issue.

    Can you answer some more questions for us ?

    1. Can you please copy paste the Installation Details from MyEclipse > Installation Summary > Installation Details ?

    2. What sort of project are you trying to validate ?

    3. When is the validation being performed (e.g. manually/automatically) ?

    4. How are you trying to exclude the files from validation ?

    5. There is an issue in Eclipse, where a similar error occurs when the dep.index file size is zero. Can you check if the dep.index file size is zero and delete it if it is zero?

    Here is the bug report for your reference. Please go through it :
    https://bugs.eclipse.org/bugs/show_bug.cgi?id=361077

    Let us know how it works for you.

    #328365 Reply

    Swapna,

    1. Installation details:
    *** Date:
    Freitag, 20. Juli 2012 14:10 Uhr MESZ

    *** System properties:
    OS=WindowsVista
    OS version=6.1.0
    OS arch=amd64
    Profile arch=x86_64
    Window system=win32
    Java version=1.6.0_13
    Workspace=file:/D:/WS/work/workspace 86/
    VM Args=-Xmx9192m
    -XX:MaxPermSize=2048m
    -XX:ReservedCodeCacheSize=128m
    -Dosgi.nls.warnings=ignore
    -Dgwtd.warmup.enabled=false
    -jar
    C:\PRC0FE~1\Genuitec\MYECLI~1\../Common/plugins/ORB7B5~1.JAR

    *** Subscription information
    Product Id: E3MP (MyEclipse Professional Subscription)
    License version: 3.0
    Full Maintenance Included
    Subscription expiration date (YYYYMMDD): 20130611
    Number of users: 11

    *** Eclipse details:
    MyEclipse Enterprise Workbench

    Version: 10.5
    Build id: 10.5-20120615

    Blueprint: MyEclipse 10

    com.genuitec.myeclipse.database – 10.5.0.me201206141911
    com.genuitec.myeclipse.desktop – 10.5.0.me201206141911
    com.genuitec.myeclipse.editor – 10.5.0.me201206141911
    com.genuitec.myeclipse.enterprise.workbench – 10.5.0.me201206141911
    com.genuitec.myeclipse.geronimo – 10.5.0.me201206141911
    com.genuitec.myeclipse.glassfish – 10.5.0.me201206141911
    com.genuitec.myeclipse.icefaces.feature – 10.5.0.me201206141911
    com.genuitec.myeclipse.iedebugger – 10.5.0.me201206141911
    com.genuitec.myeclipse.imageeditor – 10.5.0.me201206141911
    com.genuitec.myeclipse.jboss – 10.5.0.me201206141911
    com.genuitec.myeclipse.jetty – 10.5.0.me201206141911
    com.genuitec.myeclipse.jonas – 10.5.0.me201206141911
    com.genuitec.myeclipse.jrun – 10.5.0.me201206141911
    com.genuitec.myeclipse.jsf – 10.5.0.me201206141911
    com.genuitec.myeclipse.matisse – 10.5.0.me201206141911
    com.genuitec.myeclipse.maven – 10.5.0.me201206141911
    com.genuitec.myeclipse.oracle – 10.5.0.me201206141911
    com.genuitec.myeclipse.orion – 10.5.0.me201206141911
    com.genuitec.myeclipse.persistence – 10.5.0.me201206141911
    com.genuitec.myeclipse.pulse – 10.5.0.me201206141911
    com.genuitec.myeclipse.reports – 10.5.0.me201206141911
    com.genuitec.myeclipse.resin – 10.5.0.me201206141911
    com.genuitec.myeclipse.struts – 10.5.0.me201206141911
    com.genuitec.myeclipse.sun – 10.5.0.me201206141911
    com.genuitec.myeclipse.tomcat – 10.5.0.me201206141911
    com.genuitec.myeclipse.uml2 – 10.5.0.me201206141911
    com.genuitec.myeclipse.visualvm – 10.5.0.me201206141911
    com.genuitec.myeclipse.visualvm.server – 10.5.0.me201206141911
    com.genuitec.myeclipse.weblogic – 10.5.0.me201206141911
    com.genuitec.myeclipse.websphere – 10.5.0.me201206141911
    com.genuitec.myeclipse.ws – 10.5.0.me201206141911
    org.eclipse.birt – 2.6.1.me201206141911
    org.eclipse.datatools.connectivity.feature – 1.9.0.me201206141911
    org.eclipse.datatools.enablement.feature – 1.9.0.me201206141911
    org.eclipse.datatools.modelbase.feature – 1.9.0.v201106031100-77078CcNBHCBYKYEbNV
    org.eclipse.datatools.sqldevtools.feature – 1.9.0.me201206141911
    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.jpt.jpa.feature – 3.0.0.me201206141911
    org.eclipse.jpt.jpadiagrameditor.feature – 1.0.0.me201206141911
    org.eclipse.jst.common.fproj.enablement.jdt – 3.3.0.me201206141911
    org.eclipse.jst.enterprise_ui.feature – 3.3.0.me201206141911
    org.eclipse.jst.server_adapters.ext.feature – 3.3.0.me201206141911
    org.eclipse.jst.server_adapters.feature – 3.2.100.me201206141911
    org.eclipse.jst.server_ui.feature – 3.3.0.me201206141911
    org.eclipse.jst.ws.axis2tools.feature – 1.1.200.me201206141911
    org.eclipse.m2e.feature – 1.0.0.me201206141911
    org.eclipse.wst.common.fproj – 3.3.0.me201206141911
    org.eclipse.wst.server_adapters.feature – 3.2.100.me201206141911
    org.eclipse.xsd – 2.7.0.v20110606-0949
    org.springframework.ide.eclipse.feature – 2.9.1.me201206141911

    fr.obeo.acceleo.bridge.feature – 2.6.0.200906261742
    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.jsf.feature – 3.3.0.me201206141911
    org.eclipse.ocl – 3.1.0.v20110606-1427
    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_64
    -showsplash
    -launcher
    C:\Programme_MyEclipse\Genuitec\MyEclipse 10\myeclipse.exe
    -name
    Myeclipse
    –launcher.library
    C:\Programme_MyEclipse\Genuitec\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher.i18n.win32.win32.x86_64_4.2.0.v201201111650\eclipse_4201.dll
    -startup
    C:\Programme_MyEclipse\Genuitec\MyEclipse 10\../Common/plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
    -exitdata
    8a8_5c
    -install
    C:\Programme_MyEclipse\Genuitec\MyEclipse 10
    -configuration
    C:\Programme_MyEclipse\Genuitec\MyEclipse 10\configuration
    -vm
    C:\Programme_MyEclipse\Genuitec\Common\binary\com.sun.java.jdk.win32.x86_64_1.6.0.013\bin\javaw.exe

    2./3. It’s not me trying to, but the system that automatically runs the validation after having updated the validation exclusions.

    4. selected project / Properties / MyEclipse / validation / excluded resources

    5. dep.index file size is 1 KB. Nevertheless I renamed it and tried again with the same result. So, sorry, but the bug report doesn’t help.

    Any idea?

    Michael

    #328395 Reply

    support-swapna
    Moderator

    Michael,

    Thanks for the details. I could not replicate the issue at my end.

    There must be a specific file which is failing during the exclusion.

    1. Do you see the issue with other projects too while excluding resources from validation? If no then can you please add the resources one by one to exclude and figure out which exact resource is causing this issue?

    2.Can you switch to a new workspace, create a simple web project and try excluding a JSP page and check if you are seeing the issue?

    3. Can you please also prepare a sample project which exhibits the problem and send it to us to help replicate the issue at our end? Please zip the project and attach it to this post.

    #329100 Reply

    Swapna,

    with upgrading to ME 10.5 (64bit), the error messages are gone.
    For now I would say: problem solved.

    Thanks for your help,

    Michael

    #329150 Reply

    support-swapna
    Moderator

    Michael,

    Glad that it is working fine.
    Do let us know if you see any issues.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: NullPointerException DependencyIndex

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