- This topic has 3 replies, 2 voices, and was last updated 16 years, 8 months ago by Loyal Water.
-
AuthorPosts
-
Polo TalnirMemberIn 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.NullPointerExceptionJava 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
Loyal WaterMemberTioP,
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 ?
Polo TalnirMemberI 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
Loyal WaterMemberGlad you got it all sorted out. Thanks for letting me know.
-
AuthorPosts