Bug 261409 - Report JAR (in status) for which Javadoc cannot be retrieved
Summary: Report JAR (in status) for which Javadoc cannot be retrieved
Status: CLOSED WONTFIX
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Core (show other bugs)
Version: 3.4.1   Edit
Hardware: PC Windows XP
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: JDT Core Triaged CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-17 02:55 EST by kiril mitov CLA
Modified: 2019-10-11 20:03 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description kiril mitov CLA 2009-01-17 02:55:47 EST
Eclipse 3.4.1
M20080911-1700

Go To Window->Preference->Java-Editor-Content Assits->Advanced and select only Other Java Proposals and Type Proposals.

Go an configure proxy setting in Windows->Preference. This problem happens only if proxy is configured.

Create a new ejb project and a bean. 
Go to the class of the bean, type @Re and Ctrl+Space. The following error occurs.

Java Model Exception: Java Model Status [Cannot retrieve the attached javadoc for ]
at org.eclipse.jdt.internal.core.JavaElement.getLibraryJavadocLocation(JavaElement.java:704)
at org.eclipse.jdt.internal.core.JavaElement.getJavadocBaseLocation(JavaElement.java:661)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1030)
at org.eclipse.jdt.internal.core.BinaryType.getAttachedJavadoc(BinaryType.java:971)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:98)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:96)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:76)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:59)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:510)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$3.run(AdditionalInfoController.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)

This error happens in an internal product. The class path of the project contains our adopter jars. I suppose one of the jars (the one containing @Remote annotation) is corrupt or something. 

It would be great if this information is given in the JavaModelStatus. Which is the jar in problem.
Comment 1 Olivier Thomann CLA 2009-01-21 15:35:54 EST
If the problem only occurs with proxies, then it has nothing to do with the jars. The problem must come from the connection to the javadoc location itself. There are known issues with proxies.
Comment 2 kiril mitov CLA 2009-01-22 03:02:07 EST
(In reply to comment #1)
> If the problem only occurs with proxies, then it has nothing to do with the
> jars. The problem must come from the connection to the javadoc location itself.
> There are known issues with proxies.
> 
Yes, I was able to reproduce this problem only with proxy configured.

Comment 3 Olivier Thomann CLA 2009-01-22 14:51:18 EST
Then closing as a dup of bug 136091.
I had no time to assess the proxy support from the platform.

*** This bug has been marked as a duplicate of bug 136091 ***
Comment 4 Ayushman Jain CLA 2011-01-12 07:27:51 EST
(In reply to comment #3)
> Then closing as a dup of bug 136091.
> I had no time to assess the proxy support from the platform.
> 
> *** This bug has been marked as a duplicate of bug 136091 ***

I dont think this is really a duplicate. What the user is really asking here is that we should be able to explicitly report which jar's javadoc URL is corrupt. On the other hand bug 136901 deals with a hang due to delay in fetching javadoc, even though the path may be correct.
Comment 5 Eclipse Genie CLA 2019-10-11 20:03:02 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.