| Summary: | DialogSettings fails to load with NPE | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Pascal Rapicault <pascal> | ||||
| Component: | UI | Assignee: | Platform-UI-Inbox <Platform-UI-Inbox> | ||||
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | daniel_megert, onetimehere1, remy.suen | ||||
| Version: | 3.7 | ||||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Mac OS X - Carbon (unsup.) | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
|
Description
Pascal Rapicault
This looks like a JIT bug to me. The code looks like this: line 299: String key = ((Element) l.item(i)).getAttribute(TAG_KEY); line 300: String value = ((Element) l.item(i)).getAttribute(TAG_VALUE); Under normal conditions it can't give an NPE on line 300 when it passed line 299 and the NodeList isn't modified either. If this is reproducible then I suggest to try with -Xint VM argument or with a different JRE. (In reply to comment #2) > Please see comment 1. sorry, in regards to what? and @Dani Megert - so you're suggesting running eclipse via the terminal, with the command -Xint preceding it? as i understand it (via some research, i am a new user after all) this runs while "Compilation to native code is disabled" how does that have anything to do with the error that appears when i try to "install new software" (see should be attached image) Created attachment 201544 [details]
what occurs in eclipse when the Java Extension folder has .jar files in it, and when trying to "install new software" such as SDKs
(In reply to comment #3) > and @Dani Megert - so you're suggesting running eclipse via the terminal, with > the command -Xint preceding it? as i understand it (via some research, i am a > new user after all) this runs while "Compilation to native code is disabled" > how does that have anything to do with the error that appears when i try to > "install new software" (see should be attached image) We are interested in how it affects your problem of Eclipse not being able to open the 'Package Explorer' view. (In reply to comment #4) > Created attachment 201544 [details] > what occurs in eclipse when the Java Extension folder has .jar files in it, and > when trying to "install new software" such as SDKs This is a different problem. > and @Dani Megert - so you're suggesting running eclipse via the terminal, with > the command -Xint preceding it? I never said something like that. I said you should pass the -Xint VM argument. When running the eclipse.exe this means: "eclipse.exe -vmargs -Xint" > as i understand it (via some research, i am a > new user after all) this runs while "Compilation to native code is disabled" > how does that have anything to do with the error that appears when i try to > "install new software" (see should be attached image) I was only referring to the reported NPE. If the NPE no longer happens with -Xint then it proofs my theory that it is a JIT bug as suspected. (In reply to comment #6) > > and @Dani Megert - so you're suggesting running eclipse via the terminal, with > > the command -Xint preceding it? > I never said something like that. I said you should pass the -Xint VM argument. > When running the eclipse.exe this means: "eclipse.exe -vmargs -Xint" > > > as i understand it (via some research, i am a > > new user after all) this runs while "Compilation to native code is disabled" > > how does that have anything to do with the error that appears when i try to > > "install new software" (see should be attached image) > I was only referring to the reported NPE. If the NPE no longer happens with > -Xint then it proofs my theory that it is a JIT bug as suspected. ok i misunderstood that, should have noticed it my bad so, tried running eclipse -vmargs -Xint (on a mac, no .exe) the text fonts grew noticeably larger, but it didn't change the error code i see in the Package Explorer window back at square one and @Remy sorry i didn't know if they were related issues - since only when the extensions folder is named normally do i encounter the errors > ok i misunderstood that, should have noticed it my bad > so, tried running eclipse -vmargs -Xint (on a mac, no .exe) > the text fonts grew noticeably larger, That sounds strange. I suspect you also changed other aspects with the different launch. -Xint does not affect the LAF. Please download the latest release and try whether it works: http://download.eclipse.org/eclipse/downloads/drops/R-3.7-201106131736/index.php Please feel free to reopen this bug if this is still happening for you in a more recent build of Eclipse. http://download.eclipse.org/eclipse/downloads/eclipse3x.php |