| Summary: | Many NullPointerException during CG profiling. | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Viacheslav <viacheslav.g.rybalov> | ||||||
| Component: | TPTP | Assignee: | Alexander N. Alexeev <analexee> | ||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||
| Severity: | critical | ||||||||
| Priority: | P1 | CC: | ewchan, guru.nagarajan, haggarty, jkubasta, sluiman, szabadosk | ||||||
| Version: | unspecified | ||||||||
| Target Milestone: | --- | ||||||||
| Hardware: | PC | ||||||||
| OS: | Windows XP | ||||||||
| Whiteboard: | closed460 | ||||||||
| Bug Depends on: | 196013, 196198 | ||||||||
| Bug Blocks: | |||||||||
| Attachments: |
|
||||||||
|
Description
Viacheslav
Created attachment 70768 [details]
Eclipse log file
ALexander, Pls investigate this issue. Given that it is not hurting the profiling - this is not a stop ship defect, but must be addressed right after the release. I encountered this bug again with the tptp.runtime-TPTP-4.4.0-200706140100C build. It happened after pausing and resuming the CG Profiler. Eugene, can you please investigate this. At the minimum, the UI should be able to fail nicely. Marking this for 4.4.0.1 until somebody investigates the root cause; probably incomplete data sent to the loaders. In any case, this should be marked as a regression since JVMTI is the default option in 4.4 Added sizing Having the estimated work for this defect and the fact that this is not a blocking issue I am moving the defect to 4.4.1 Created attachment 72502 [details]
patch
I cannot consistently reproduce the problem in the C build, but by looking in the exception. It looks like there is null package loaded in a Class element. The failure happens at
return ((TRCClass)element).getPackage();
The patch here is making sure any exception is handled and return an expected value on failure.
*** Bug 187889 has been marked as a duplicate of this bug. *** Raise bug to critical as a dup of bug 187889. *** Bug 196534 has been marked as a duplicate of this bug. *** The cause of this defect is related to Bug 196013 and Bug 196198. "Unknown" method can't return valid reference to own class. This bug should be resolved jointly with Bug 196013 and Bug 196198. I recommend that the attached Patch be not applied until 196198 is resolved. The patch is essentially suppressing the exception. Once patch 196198 is resolved then we ought to test to see if we still get the exceptions and apply this to ensure we have not masked any unknown exceptions. Isn't reproduced at TPTP 4.4.1-200708280100 Per Alex As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this enhancement/defect has been resolved and unverified for more than 1 year and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open. |