| Summary: | [shared] In a shared installation, Help -> About / Installation Details fails | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Equinox | Reporter: | Tom Houser <tmhouser> | ||||||
| Component: | p2 | Assignee: | P2 Inbox <equinox.p2-inbox> | ||||||
| Status: | CLOSED DUPLICATE | QA Contact: | |||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | dj.houghton, john.arthorne, pascal, pquiring, simon_kaegi, susan, thomas | ||||||
| Version: | 3.6 | ||||||||
| Target Milestone: | 3.6 RC1 | ||||||||
| Hardware: | PC | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Bug Depends on: | 306402 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Tom Houser
Created attachment 167067 [details]
log file with exceptions
I'm not sure what's happened here. Shared install is something I tested for the M7 testpass and I'm running M7 right now in shared mode without any of these issues. Looking at the logs it looks like the errors started the moment anyone tried to access the shared profile in the dropins reconciler. There is a number of errors similar to the following in the log: Caused by: java.lang.IllegalArgumentException: Cannot access member 'id' in null at org.eclipse.equinox.internal.p2.metadata.expression.Member$DynamicMember.invoke(Member.java:50) at org.eclipse.equinox.internal.p2.metadata.expression.Member$DynamicMember.evaluate(Member.java:42) at org.eclipse.equinox.internal.p2.metadata.expression.Equals.evaluate(Equals.java:27) at org.eclipse.equinox.internal.p2.metadata.expression.Or.evaluate(Or.java:26) at org.eclipse.equinox.internal.p2.metadata.expression.MatchExpression.evaluate(MatchExpression.java:44) at org.eclipse.equinox.p2.query.ExpressionMatchQuery.isMatch(ExpressionMatchQuery.java:86) at org.eclipse.equinox.p2.query.ExpressionMatchQuery.perform(ExpressionMatchQuery.java:73) at org.eclipse.equinox.p2.query.ExpressionMatchQuery.perform(ExpressionMatchQuery.java:63) at org.eclipse.equinox.internal.p2.metadata.index.IndexProvider.query(IndexProvider.java:12) at org.eclipse.equinox.internal.p2.metadata.index.IndexProvider.query(IndexProvider.java:21) at org.eclipse.equinox.internal.p2.engine.SurrogateProfileHandler.addSharedProfileBaseIUs(SurrogateProfileHandler.java:56) -- This is the query we use in a shared install to populate the user's profile with a lineup IU. Tom do you know exactly what build of Eclipse you're embedding. Does anyone know if there was a bug in the p2 metadata or query layer fixed in the last week of M7 that might have triggered this? The same message has been seen in the context of bug #306402 which also talks about read only location. Don't know if this is something real or just a coincidence. The patch from bug 306402 will make the stack-trace below disappear. That much is certain. In response to Simon's question in comment 2, at the time I ran this scenario, the sample offering was based on "eclipse-SDK-I20100426-0852-linux-gtk.zip". The latest sample offering that is available now seems to be based on "eclipse-SDK-3.6M7-linux-gtk.zip". I haven't run this scenario on the latest sample offering. I have a very similar scenario with "Help -> Install New Software..." in another work item: https://jazzop03.rtp.raleigh.ibm.com:9943/jazz/resource/itemName/com.ibm.team.workitem.WorkItem/29216. In this scenario, the install new software dialog doesn't pop up .. nor does an error dialog. The "<workspace>/.metadata/.log" file contains the same "java.lang.IllegalArgumentException: Cannot access member 'id' in null" stack traces. I suspect it is caused by the same problem, so I won't enter another bugzilla for it. Created attachment 167176 [details]
the .log file from work item 29216
(In reply to comment #7) > Created an attachment (id=167176) [details] > the .log file from work item 29216 This error has been fixed by the patch in bug 306402. This is available in our builds *after* M7, such as I20100506-0800. *** This bug has been marked as a duplicate of bug 306402 *** |