Bug 25752

Summary: References list displays nulls for package name parts
Product: [Eclipse Project] JDT Reporter: Gary Gregory <ggregory>
Component: CoreAssignee: Jerome Lanneluc <jerome_lanneluc>
Status: RESOLVED WORKSFORME QA Contact:
Severity: normal    
Priority: P3    
Version: 2.1   
Target Milestone: 2.1 M4   
Hardware: PC   
OS: Windows 2000   
Whiteboard:

Description Gary Gregory CLA 2002-11-05 19:57:11 EST
Build id: 200210310859

I get the following entry:

nullnullnullnullnullnullnullnullnullnullhc5250.ServerControlled5250DefinitionBin
dingServices.{...}

When I do a "References..." of one my classes. I have defined a set to cover 
all of the source in one of my projects. The above should really be:

com.seagullsw.appinterface.tools.serverdef.hc5250.ServerControlled5250Definition
BindingServices.{...}

What other information do you need?
Comment 1 Jerome Lanneluc CLA 2002-11-06 09:28:36 EST
We would need steps to reproduce the problem (as we never heard of this 
behavior).
Comment 2 Gary Gregory CLA 2002-11-06 11:51:16 EST
Ah, it took a while to reproduce. Here it goes. The class names are specific to 
my company, unfortunately.

o In the Java Browsing view, in the types pane
o I select the class 
com.seagullsw.appinterface.tools.serverdef.hc5250.ClientControlled5250Definition
BindingServices.
o Right click on the class and choose "References/Transidiom-DevE Java Source-
Set". This is a working set I have defined to only include one project, which 
includes this and all other relevant classes.
o The search pane displays one entry: 
com.seagullsw.appinterface.tools.serverdef.hc5250.ClientControlled5250Definition
BindingServices.registerBindingServices() : void.
o I right-click on that method and choose "References/Transidiom-DevE Java 
Source-Set" and one entry (the bug): 
nullnullnullnullnullnullnullnullnullnullhc5250.ServerControlled5250DefinitionBin
dingServices.{...}

Comment 3 Jerome Lanneluc CLA 2002-11-06 12:43:02 EST
Thanks but since I don't have your classes, I won't be able to reproduce the 
problem. I would need something like the following from you:
1. Create a Java project 'Test'
2. Add package 'x.y.z'
3. Add class X:
package x.y.z;
public class X {
}
4.....
Comment 4 Gary Gregory CLA 2002-11-06 16:45:39 EST
Crud, I cannot reproduce this with JRE classes, I'll have to take some time to 
reproduce this with custom code. Thank you for your patience.

Gary
Comment 5 Philipe Mulet CLA 2002-11-08 10:04:26 EST
We will defer it to next milestone to get more info.
Comment 6 Jerome Lanneluc CLA 2002-12-06 05:08:10 EST
Gary, do you have any more info on this one? I still cannot reproduce the 
problem.
Comment 7 Gary Gregory CLA 2002-12-06 09:43:24 EST
Well, it does not happen in 2.1.M3. In m3, I get:

{...}
com.seagullsw.appinterface.tools.serverdef.hc5250.ServerControlled5250Definition
BindingServices

So I guess all is well since I am getting the pkg info. I do know what 
the "{...}" prefix is.
Comment 8 Jerome Lanneluc CLA 2002-12-06 11:17:14 EST
The {...} indicates a reference in an initializer.

So if all is well I will close.
Comment 9 Gary Gregory CLA 2002-12-06 11:54:43 EST
All is fine for me. Thank you.