Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » Java Development Tools (JDT) » 'Problem Occurred' when suggestions come up('Problem Occurred' when suggestions come up after typing a period.)
'Problem Occurred' when suggestions come up [message #1782591] Mon, 26 February 2018 21:07 Go to next message
Nathaniel Wortner is currently offline Nathaniel WortnerFriend
Messages: 4
Registered: February 2018
Junior Member
Greetings, fellow Java drinkers!

I am wondering how to go about fixing this issue I keep getting suggestions whilst coding in Eclipse (latest version) and immediately, I receive a prompt reading:

Problem Occurred: 'Computing additional info' has encountered a problem. An internal error occurred during "Computing additional info". Details: An internal error occurred during: "Computing additional info". Could not initialize class sun.net.www.protocol.https.DelegateHttpsURLConnection

Thanks for further help and info on how to resolve this issue!
~ Nathaniel
Re: 'Problem Occurred' when suggestions come up [message #1782665 is a reply to message #1782591] Tue, 27 February 2018 13:29 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
As a first step you could show us the full exception trace. If it's not in the dialog look in the Error Log view.
Re: 'Problem Occurred' when suggestions come up [message #1783162 is a reply to message #1782665] Thu, 08 March 2018 15:53 Go to previous messageGo to next message
Nathaniel Wortner is currently offline Nathaniel WortnerFriend
Messages: 4
Registered: February 2018
Junior Member
I'd meant to respond sooner but forget I'd made this thread here, as recommended by a Reddit user...
This is what I found in the Error Log: https://puu.sh/zDgvT.png
Re: 'Problem Occurred' when suggestions come up [message #1783171 is a reply to message #1783162] Thu, 08 March 2018 17:34 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
If you'd show us text, rather than an image, could copy it to refer to it.
Anyway, that's not a full exception trace, aka stacktrace.
Check if more details appear when you double click the entry, or look at the corresponding file in the file system at <workspace>/.metadata/.log
Re: 'Problem Occurred' when suggestions come up [message #1783185 is a reply to message #1783171] Thu, 08 March 2018 22:04 Go to previous messageGo to next message
Nathaniel Wortner is currently offline Nathaniel WortnerFriend
Messages: 4
Registered: February 2018
Junior Member
The Exception Stack Trace is as follows:
Quote:
java.lang.NoClassDefFoundError: Could not initialize class sun.net.www.protocol.http.HttpURLConnection
at sun.net.www.protocol.http.Handler.openConnection(Unknown Source)
at sun.net.www.protocol.http.Handler.openConnection(Unknown Source)
at java.net.URL.openConnection(Unknown Source)
at org.eclipse.jdt.internal.core.JavaElement.getURLContents(JavaElement.java:843)
at org.eclipse.jdt.internal.core.BinaryType.getJavadocContents(BinaryType.java:1039)
at org.eclipse.jdt.internal.core.BinaryField.getAttachedJavadoc(BinaryField.java:121)
at org.eclipse.jdt.internal.ui.text.javadoc.JavadocContentAccess2.getHTMLContent(JavadocContentAccess2.java:538)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.extractJavadoc(ProposalInfo.java:90)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.computeInfo(ProposalInfo.java:75)
at org.eclipse.jdt.internal.ui.text.java.ProposalInfo.getInfo(ProposalInfo.java:60)
at org.eclipse.jdt.internal.ui.text.java.AbstractJavaCompletionProposal.getAdditionalProposalInfo(AbstractJavaCompletionProposal.java:603)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$Timer$2$1.run(AdditionalInfoController.java:113)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:56)

Then, there is also the Session Data:
Quote:
eclipse.buildId=4.7.2.M20171130-0510
java.version=1.8.0_162
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments: -product org.eclipse.epp.package.java.product
Command-line arguments: -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.java.product

...All from the Event Details from the 'internal error'

Thanks for the direction and for further help and info again!
~ Nathaniel
Re: 'Problem Occurred' when suggestions come up [message #1783186 is a reply to message #1783185] Thu, 08 March 2018 22:11 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Quote:
Could not initialize class sun.net.www.protocol.http.HttpURLConnection


This should normally have a caused by section showing a nested exception.
Re: 'Problem Occurred' when suggestions come up [message #1783398 is a reply to message #1783186] Mon, 12 March 2018 15:30 Go to previous messageGo to next message
Nathaniel Wortner is currently offline Nathaniel WortnerFriend
Messages: 4
Registered: February 2018
Junior Member
Stephan Herrmann wrote on Thu, 08 March 2018 22:11
Quote:
Could not initialize class sun.net.www.protocol.http.HttpURLConnection


This should normally have a caused by section showing a nested exception.

So... what can I do now to get rid of this error prompt?
Re: 'Problem Occurred' when suggestions come up [message #1803261 is a reply to message #1783398] Mon, 25 February 2019 22:53 Go to previous messageGo to next message
Andrew Norman is currently offline Andrew NormanFriend
Messages: 20
Registered: May 2017
Junior Member
here's another error stack (auto complete for scala IDE)

An internal error occurred during: "Computing additional info".
org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(Lorg/eclipse/jdt/internal/core/JavaProject;Lorg/eclipse/jdt/core/WorkingCopyOwner;)V
Re: 'Problem Occurred' when suggestions come up [message #1803266 is a reply to message #1803261] Tue, 26 February 2019 00:25 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
Andrew Norman wrote on Mon, 25 February 2019 23:53
here's another error stack (auto complete for scala IDE)

An internal error occurred during: "Computing additional info".
org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(Lorg/eclipse/jdt/internal/core/JavaProject;Lorg/eclipse/jdt/core/WorkingCopyOwner;)V


We need more complete, not less complete information :) -- at least a full stack trace, with all "Caused by" sub clauses.
Re: 'Problem Occurred' when suggestions come up [message #1805383 is a reply to message #1803266] Sat, 13 April 2019 00:49 Go to previous messageGo to next message
Andrew Norman is currently offline Andrew NormanFriend
Messages: 20
Registered: May 2017
Junior Member
that stack I submitted is the entirety of the info provided in the "Problem Occurred" / "'Computing addtional info' has encountered a problem" error window details.

Is there a place in eclipse where I might find a deeper stack that gets logged when an autocompletion task fails?
Re: 'Problem Occurred' when suggestions come up [message #1805389 is a reply to message #1805383] Sat, 13 April 2019 02:42 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Yes, from the Error Log view (type Error Log in the Quick Access bar). The log file itself is located in <workspace>/.metadata/.log.

Ed Merks
Professional Support: https://www.macromodeling.com/
Re: 'Problem Occurred' when suggestions come up [message #1805471 is a reply to message #1805389] Mon, 15 April 2019 18:50 Go to previous messageGo to next message
Andrew Norman is currently offline Andrew NormanFriend
Messages: 20
Registered: May 2017
Junior Member
!ENTRY org.eclipse.core.jobs 4 2 2019-04-12 17:33:36.685
!MESSAGE An internal error occurred during: "Computing additional info".
!STACK 0
java.lang.NoSuchMethodError: org.eclipse.jdt.internal.core.SearchableEnvironment.<init>(Lorg/eclipse/jdt/internal/core/JavaProject;Lorg/eclipse/jdt/core/WorkingCopyOwner;)V
at org.scalaide.core.internal.compiler.LocateSymbol.findPath$1(LocateSymbol.scala:53)
at org.scalaide.core.internal.compiler.LocateSymbol.findSourceFile$1(LocateSymbol.scala:70)
at org.scalaide.core.internal.compiler.LocateSymbol.findCompilationUnit(LocateSymbol.scala:75)
at org.scalaide.core.internal.compiler.LocateSymbol.findCompilationUnit$(LocateSymbol.scala:18)
at org.scalaide.core.internal.compiler.ScalaPresentationCompiler.findCompilationUnit(ScalaPresentationCompiler.scala:54)
at org.scalaide.core.internal.compiler.Scaladoc.parsedDocComment(ScalaDoc.scala:48)
at org.scalaide.core.internal.compiler.Scaladoc.parsedDocComment$(ScalaDoc.scala:45)
at org.scalaide.core.internal.compiler.ScalaPresentationCompiler.parsedDocComment(ScalaPresentationCompiler.scala:54)
at org.scalaide.core.internal.compiler.ScalaPresentationCompiler.$anonfun$mkCompletionProposal$7(ScalaPresentationCompiler.scala:420)
at org.scalaide.ui.internal.completion.ScalaCompletionProposalImpl.getAdditionalProposalInfo(ScalaCompletionProposalImpl.scala:109)
at org.eclipse.jface.text.contentassist.AdditionalInfoController$Timer$2$1.run(AdditionalInfoController.java:116)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)

Re: 'Problem Occurred' when suggestions come up [message #1805474 is a reply to message #1805471] Mon, 15 April 2019 19:20 Go to previous messageGo to next message
Stephan Herrmann is currently offline Stephan HerrmannFriend
Messages: 1853
Registered: July 2009
Senior Member
This looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=546156 which is resolved in 4.12 M1
(Scala IDE illegally references an internal constructor -- after change in JDT, Scala IDE should be updated, but this doesn't seem to happen, so Till kindly restored the old constructor).
Re: 'Problem Occurred' when suggestions come up [message #1805478 is a reply to message #1805474] Mon, 15 April 2019 23:17 Go to previous messageGo to next message
Andrew Norman is currently offline Andrew NormanFriend
Messages: 20
Registered: May 2017
Junior Member
Stephan Herrmann wrote on Mon, 15 April 2019 19:20
This looks like https://bugs.eclipse.org/bugs/show_bug.cgi?id=546156 which is resolved in 4.12 M1
(Scala IDE illegally references an internal constructor -- after change in JDT, Scala IDE should be updated, but this doesn't seem to happen, so Till kindly restored the old constructor).


4.12 -> is that a reference to the new continuous eclipse framework?

I don't understand the new versioning well, but does that mean it was fixed 3 days ago?
Re: 'Problem Occurred' when suggestions come up [message #1805481 is a reply to message #1805478] Tue, 16 April 2019 04:48 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Yes, it is the version of the Eclipse platform (that includes JDT) that will be released as part of the 2019-06 release:

https://wiki.eclipse.org/Category:SimRel-2019-06

Updates for the Eclipse platform are available at http://download.eclipse.org/eclipse/updates/4.12-I-builds and as soon as all the other projects' update sites are aggregated for the first milestone build (M1) of the 2019-06 this will also be available at http://download.eclipse.org/releases/2019-06 though that p2 repo currently contains (point at) 2019-03 because M1 isn't scheduled until the end of this week.


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Test discovery very slow with JDK11
Next Topic:I has made Tool of Generating java code based on spring framework
Goto Forum:
  


Current Time: Thu Apr 25 12:10:02 GMT 2024

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

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

Back to the top