facebook

java.lang.NullPointerException on Quick Update on Linux

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #282490 Reply

    Polo Talnir
    Member

    In the “MyEclipse Quick Install” dialog I select a feature,
    e.g. Matisse4MyEclipse Swing UI Designer” and click “Finish”.

    Get the dreaded “Problem Occured” popup, with the Reason:
    java.lang.NullPointerException

    Java version is java.version=1.5.0_14
    Platform is RedHat EL4.

    This is the stack trace:
    java.lang.NullPointerException
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.addEntry(DuplicateConflictsValidator.java:212)
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.computeNewFeature(DuplicateConflictsValidator.java:170)
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.computeNewFeature(DuplicateConflictsValidator.java:189)
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.computeNewFeature(DuplicateConflictsValidator.java:189)
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.computeNewFeature(DuplicateConflictsValidator.java:189)
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.computeNewFeatures(DuplicateConflictsValidator.java:158)
    at org.eclipse.update.internal.operations.DuplicateConflictsValidator.computeDuplicateConflicts(DuplicateConflictsValidator.java:99)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.validateSetup(QuickSetupService.java:732)
    at com.tikal.eclipse.updatemanager.quicksetup.service.QuickSetupService$QuickSetupJob.run(QuickSetupService.java:777)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

    Looks like a bug. Even if some validation fails, Quick Update should just
    report it, and/or ask me whether to proceed anyway, as customary in
    these cases.

    Any workarounds?
    Thanks for any input. I would like to use Matisse

    -TioP

    #282495 Reply

    Loyal Water
    Member

    TioP,
    1. Can you go to MyEclipse > Installation Summary > Installation Details and paste the information here for me.

    2. Can you switch to a new workspace and test the quick update once again. Does it work ?

    #282609 Reply

    Polo Talnir
    Member

    I think that it was my mistake to try to install the add-ons as <user> rather than as root,
    who installed both eclipse and myeclipse. I started again as root, and although I still got
    an error message “duplicate errors”, the features apparently got installed because when
    I ask MyEclipse | Add Features, now ME shows a message “all features were installed”.

    MyEclipse > Installation Summary > Installation Details gives no detail about the add ons.

    Anyways, it would have been more user-friendly if there was a check for necessary premissions,
    and issuing a warning or requirement popup, rather than blowing away with a stack trace.

    Thank you for the prompt response!!

    -TioP

    #282611 Reply

    Loyal Water
    Member

    Glad you got it all sorted out. Thanks for letting me know.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: java.lang.NullPointerException on Quick Update on Linux

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