Bug 68240 - NPE trying to debug
Summary: NPE trying to debug
Status: RESOLVED DUPLICATE of bug 69545
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.0   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: 3.1 M2   Edit
Assignee: Kent Johnson CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 68875 (view as bug list)
Depends on:
Blocks:
 
Reported: 2004-06-22 17:19 EDT by Jerry Quinn CLA
Modified: 2004-08-23 14:02 EDT (History)
2 users (show)

See Also:


Attachments
log file (5.25 KB, text/x-log)
2004-06-23 20:52 EDT, Jerry Quinn CLA
no flags Details
log file (68.18 KB, text/x-log)
2004-07-08 12:10 EDT, Jerry Quinn CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jerry Quinn CLA 2004-06-22 17:19:52 EDT
With 3.0RC3 on Debian testing, I'm trying to debug a program.  The first time I
can debug ok.  Some time after that, (not exactly sure when and not completely
reproducible), trying to debug gives no response.  On the console I fired up
eclipse from, I see:

jlquinn@tiamat:~$ java.lang.NullPointerException
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java(Compiled
Code))java.lang.NullPointerException
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java(Compiled
Code))java.lang.NullPointerException
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java(Compiled
Code))java.lang.NullPointerException
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java(Compiled Code))
Comment 1 Darin Wright CLA 2004-06-22 17:30:58 EDT
CC John (A). The NPE looks like job code, but there is not much info from the 
trace. Is there something else in your log, Jerry?
Comment 2 Darin Wright CLA 2004-06-23 09:23:42 EDT
Closing. Please re-open with steps to reproduce or with .log file attached if 
this continues to be a problem.
Comment 3 Jerry Quinn CLA 2004-06-23 20:52:08 EDT
Created attachment 12768 [details]
log file

Log doesn't seem to show anything useful to me
Comment 4 Jerry Quinn CLA 2004-06-23 20:53:06 EDT
Reopened.  I know I can reproduce it by just doing some debugging, but I don't
know if it's related to my workspace or what.
Comment 5 Darin Wright CLA 2004-06-23 20:54:54 EDT
Just saying "it happens" isn't much of a help to us :-) What's in your .log 
file?
Comment 6 Darin Wright CLA 2004-06-23 20:55:47 EDT
(Oops didn't see comment#3 - bugzilla mail is out of order).
Comment 7 Jerry Quinn CLA 2004-06-23 20:56:50 EDT
After this happens, I don't seem to be able to debug or run anymore.
Comment 8 Darin Wright CLA 2004-06-23 20:58:29 EDT
I noticed you using a 1.4.1 VM - can you try a 1.4.2 VM? It may be a JIT bug.
Comment 9 Jerry Quinn CLA 2004-06-24 10:22:56 EDT
I've been using IBM's 1.4.1-0.0 java rpm.  I just pulled down 1.4.1-2.0, so will
try again.
Comment 10 Jerry Quinn CLA 2004-06-24 10:37:58 EDT
The same problem still shows up quite quickly with the IBM java 1.4.1-2.0 jdk. 
So far, it doesn't show up quickly with Sun 1.4.2_01.

I'll keep looking out for it.
Comment 11 Darin Wright CLA 2004-06-24 10:41:35 EDT
Note that there is also an IBM 1.4.2 VM.
Comment 12 Jerry Quinn CLA 2004-06-24 10:57:10 EDT
How do I find it?  I checked the IBM java site and only found 1.4.1 (for linux)
Comment 13 John Arthorne CLA 2004-06-24 11:21:16 EDT
This could be a duplicate of bug 68452
Comment 14 John Arthorne CLA 2004-06-29 15:12:58 EDT
*** Bug 68875 has been marked as a duplicate of this bug. ***
Comment 15 John Arthorne CLA 2004-06-29 15:14:49 EDT
Andrew, please state what VM you are using, and attach the log file if it
contains anything from the time of the crash.
Comment 16 Andrew Niefer CLA 2004-06-29 16:42:24 EDT
The .log file doesn't contain anything.
The jvm I was using is IBM's 1.4.1 
Classic VM (build 1.4.1, J2RE 1.4.1 IBM build cxia321411-20030930 (JIT enabled)

If I switch to 
Classic VM (build 1.4.2, J2RE 1.4.2 IBM build cxia32dev-20040524 (JIT enabled)
or with -vmargs -Xj9:    J2RE 1.4.2 IBM J9 build 20040519 (JIT enabled)
then it doesn't seem to happen anymore.
Comment 17 Jared Burns CLA 2004-07-06 13:26:00 EDT
Jerry, when you said that this bug "doesn't show up quickly" on JDK 1.4.2, do
you mean that you weren't able to reproduce it after brief testing or that you
did reproduce it but only after a few tries? What I really want to know is if
this has been reproduced on a VM other than IBM 1.4.1. Either way, can you
reproduce the problem on Eclipse 3.0?
Comment 18 Jerry Quinn CLA 2004-07-06 13:39:25 EDT
So far I haven't seen it at all under Sun 1.4.2.  I also have not seen it under
3.0 final with the IBM jvm, so hopefully it got squashed.
Comment 19 Jared Burns CLA 2004-07-06 13:42:52 EDT
Ok. So it was either a dup of bug 68452 or a bug in IBM 1.4.1.
Comment 20 Jerry Quinn CLA 2004-07-08 12:10:58 EDT
Created attachment 13067 [details]
log file

Log file for problem under eclipse 3.0 release
Comment 21 Jerry Quinn CLA 2004-07-08 12:11:56 EDT
This just happened for me with released eclipse 3.0.  The second attached log
file is from 3.0 release.  Still IBM JVM 1.4.1_3.0.0
Comment 22 Kevin Barnes CLA 2004-07-08 13:00:08 EDT
Comment #19 sounds correct to me. This looks like a bug in the IBM 1.4.1_X VMs. Has anyone seen this 
on a 1.4.2 VM?
Comment 23 Darin Wright CLA 2004-08-11 16:02:46 EDT
Moving to JCORE. Could be a JRE bug, but the NPEs are coming from JCORE, not 
JDT-DEBUG.
Comment 24 Jerome Lanneluc CLA 2004-08-23 11:22:38 EDT
NPE is in code used by indexer. Kent please have a look and close as VM bug if 
everything is fine on our side.
Comment 25 Kent Johnson CLA 2004-08-23 14:02:33 EDT

*** This bug has been marked as a duplicate of 69545 ***