Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » "No completions available" bug?
"No completions available" bug? [message #300613] Tue, 14 March 2006 00:06 Go to next message
Eclipse UserFriend
Originally posted by: j-dot.j-dotonline.com

I have run across a problem that looks very much like a bug, but I am
not sure how to provide a reproducable example, so I don't want to file
a bug. I was wondering if anyone else has run across this or has any
idea what is going on.

I have two Java projects, we'll call them A and B, both checked out of
Subversion via the Subclipse plugin. Project B depends on project A and
contains a single class. This class references classes from project A.
At this point, everything works fine. The problem arises when I include
a JAR that project A uses in the build path of project B. As soon as I
do that, autocompletions stop working. I get a "No completions found"
error message. Also, if I right-click on the Java file in Package
Explorer and click "Run as ... Java Application", I get a message that
there is no main type (there is). If I pull the JAR out of the build
path, both auto-completion and the "Run as ..." work fine.
Alternatively, if I leave the JAR in the build path and comment out the
import statement that references a class from project A, then everything
works as well. Finally, everything works if I include a different JAR
from project A, instead of the afore-mentioned one.

If anyone has any idea where I should look for a solution or what I
might be doing wrong, I'd greatly appreciate it. Or, if anyone knows
how I might go about reproducing this in some sample code that I could
submit for a bug report, I'd be happy to do that as well.

Thanks for your help,

- J.
Re: "No completions available" bug? [message #300617 is a reply to message #300613] Tue, 14 March 2006 09:20 Go to previous message
Tom Hofmann is currently offline Tom HofmannFriend
Messages: 770
Registered: July 2009
Senior Member
This sounds a little like
https://bugs.eclipse.org/bugs/show_bug.cgi?id=130694

-tom

J. McConnell wrote:
> I have run across a problem that looks very much like a bug, but I am
> not sure how to provide a reproducable example, so I don't want to file
> a bug. I was wondering if anyone else has run across this or has any
> idea what is going on.
>
> I have two Java projects, we'll call them A and B, both checked out of
> Subversion via the Subclipse plugin. Project B depends on project A and
> contains a single class. This class references classes from project A.
> At this point, everything works fine. The problem arises when I include
> a JAR that project A uses in the build path of project B. As soon as I
> do that, autocompletions stop working. I get a "No completions found"
> error message. Also, if I right-click on the Java file in Package
> Explorer and click "Run as ... Java Application", I get a message that
> there is no main type (there is). If I pull the JAR out of the build
> path, both auto-completion and the "Run as ..." work fine.
> Alternatively, if I leave the JAR in the build path and comment out the
> import statement that references a class from project A, then everything
> works as well. Finally, everything works if I include a different JAR
> from project A, instead of the afore-mentioned one.
>
> If anyone has any idea where I should look for a solution or what I
> might be doing wrong, I'd greatly appreciate it. Or, if anyone knows
> how I might go about reproducing this in some sample code that I could
> submit for a bug report, I'd be happy to do that as well.
>
> Thanks for your help,
>
> - J.
Previous Topic:Default Output Folder
Next Topic:How open a message box outside the workbench?
Goto Forum:
  


Current Time: Fri Apr 26 13:16:35 GMT 2024

Powered by FUDForum. Page generated in 0.02708 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top