This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 141091 - JaxWsSourceForBinaryQueryImpl hides other implementations
Summary: JaxWsSourceForBinaryQueryImpl hides other implementations
Status: VERIFIED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: JAX-WS (show other bugs)
Version: 6.x
Hardware: All All
: P1 blocker (vote)
Assignee: Milan Kuchtiak
URL:
Keywords:
: 141568 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-22 01:16 UTC by David Konecny
Modified: 2010-03-31 12:48 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
stacktrace (2.08 KB, text/plain)
2008-07-26 19:41 UTC, wobster
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2008-07-22 01:16:55 UTC
JaxWsSourceForBinaryQueryImpl is added to J2SE and Web project lookup and it always returns a Result regardless of file
in question. It should return something only when binaryRoot is one produced by JaxWs. At the moment because this impl
always returns a result other queries are not consulted which breaks for example Goto Source functionality for JARs on
project classpath which have associated sources. Either fix ASAP or remove your query from project lookup till it
behaves properly. Thanks.
Comment 1 David Konecny 2008-07-24 22:14:32 UTC
*** Issue 141568 has been marked as a duplicate of this issue. ***
Comment 2 David Konecny 2008-07-24 22:16:26 UTC
More problems caused by JaxWsSourceForBinaryQueryImpl described in issue 141568.
Comment 3 David Konecny 2008-07-25 01:34:31 UTC
This might be actually INVALID depending on outcome of issue 141291.
Comment 4 wobster 2008-07-26 19:41:44 UTC
Build: NetBeans IDE Dev (Build 200807240010)
VM: Java HotSpot(TM) Client VM, 10.0-b23, Java(TM) SE Runtime Environment, 1.6.0_07-b06
OS: Windows XP, 5.1, x86

User Comments: 
trying to debug an applet class

Stacktrace: 
com.sun.jdi.VMDisconnectedException
        at com.sun.tools.jdi.TargetVM.waitForReply(TargetVM.java:285)
        at com.sun.tools.jdi.VirtualMachineImpl.waitForTargetReply(VirtualMachineImpl.java:1015)
        at com.sun.tools.jdi.PacketStream.waitForReply(PacketStream.java:51)
        at com.sun.tools.jdi.JDWP$ThreadGroupReference$Name.waitForReply(JDWP.java:5796)
        at com.sun.tools.jdi.JDWP$ThreadGroupReference$Name.process(JDWP.java:5777)
        at com.sun.tools.jdi.ThreadGroupReferenceImpl.name(ThreadGroupReferenceImpl.java:45)
Comment 5 wobster 2008-07-26 19:41:48 UTC
Created attachment 65727 [details]
stacktrace
Comment 6 Milan Kuchtiak 2008-07-29 10:15:50 UTC
I am going to look at this issue.
Comment 7 Milan Kuchtiak 2008-07-29 11:48:03 UTC
Fixed.

JaxWsSourceForBinaryQueryImpl returns result if only if there are some Web Service stubs generated:
http://hg.netbeans.org/main?cmd=changeset;node=065a110bafbb

It should be fine together with the latest implementation of LookupMerger.
See: http://hg.netbeans.org/main?cmd=changeset;node=9815505bc632
Comment 8 Jaroslav Pospisil 2010-03-31 12:48:06 UTC
v.