What to do when you become a Problem During Content Assist

--Environment --Windows 10 Pro 64bit version 1909 - Payara Server 5.194 - Eclipse Version 2020-03 - openjdk version 11

Event: A dialog was displayed when I started writing Java code

One day, a dialog suddenly appeared. image.png image (1).png

Error message


The 'org.eclipse.jdt.ui.org.eclipse.jdt.ui.javaCompletionProposalComputer.chain' proposal computer from the 'org.eclipse.jdt.ui' plug-in did not complete normally. The extension has thrown a runtime exception.
To avoid this message, disable the 'org.eclipse.jdt.ui' plug in or disable the 'Chain Template Proposals' category on the content assist preference page.

Cause unknown

This may be the cause, but it may be different because it is an old bug

We currently flag a processor that takes longer than 5s as unacceptable for a user since content assist is a typing assistant. Note that we do not disable the processor, we leave that up to the user i.e. if it happens often he can disable it. 141457 – Time out error message when doing content assist

Action: Set eclipse.ini to extend Java input completion timeout time

--Reference: Eclipse Java Content Assist not working --Stack Overflow

eclipse.ini


; ...abridgement...
-vmargs
-Dosgi.requiredJavaVersion=1.11
-Xms4096m
-Xmx4096m
; ↓↓↓↓↓↓-Add here to vmargs ↓↓↓↓↓↓↓↓↓
-Dorg.eclipse.jdt.ui.codeAssistTimeout=60000

Other correspondence

I didn't do it this time, but for someday ... It seems that there is also a support to increase the usable memory by increasing the value of -Xmx in eclipse.ini.

-java --Eclipse Neon --Content Assist Timing Out

Recommended Posts

What to do when you become a Problem During Content Assist
What to do when you run into a docker-compose node_modules problem
<f: ajax> Unable to attach <f: ajax> to non-ClientBehaviorHolder What to do when you become a parent
What do you use when converting to String?
What to do when you want to delete a migration file that is "NO FILE"
What to do when JSF tags do not become HTML
What to do if you accidentally create a model
What to do when a null byte error occurs
What to do if you get a NoClassDefFoundError when trying to run eclipse on Java9
What to do if you get a port error when docker-compose up on Mac
What to do when you launch an application with rails
What to do when javax.batch.operations.JobStartException occurs
[Rails Tutorial Chapter 2] What to do when you make a mistake in the column name
What to do if you get a "Cannot Pull Container Error" when starting ECS ​​Fargate
What to do if you get a JNI shared library error when trying to build in Eclipse
What to do if you install Ubuntu
What to do when undefined method ʻuser_signed_in?'
What to do if you get a groovy warning in Thymeleaf Layout
What to do if you get an error during rails db: reset
What to do if you get an error when you hit Heroku logs
What to do when "call'Hoge.connection' to establish a connection" appears on rails c
What to do if you get a MiniMagick vulnerability alert on GitHub
Notes on what to do when a WebView ClassNotFoundException occurs in JavaFX 12
What to do if Operation not permitted is displayed when you execute a command in the terminal
What to do if you push incorrect information
What to do when debugging "Source not found"
What to do when IllegalStateException occurs in PlayFramework
What to do if you get a SQLite3 :: BusyException: database is locked error
What to do when is invalid because it does not start with a'-'
[Ubuntu] What to do when MongoDB cannot be started due to a SocketException error
What to do if you get an "A server is already running." Error when you try to start the rails server
What to do if you get a javax.net.ssl.SSLHandshakeException: Remote host closed connection during handshake in the IBM JDK
What to do if you get a wrong number of arguments error in binding.pry
What to do if you get an error saying "Please enter a valid value" when getting with Rails datetime_field
Error ExecJS :: RuntimeUnavailable: What to do when it occurs
What to do if you get an error saying "Could not find a JavaScript runtime." When starting rails server
ParseException: What to do when Unparseable date is reached
A memo to check when you try to use Lombok
<Dot installation> What to do if you cannot proceed due to an error when building a development environment for Rails learning.
What to do when Cannot format given Object as a Date in convertDateTime of JSF
[Ruby / Rails] What to do when NoMethodError appears when using a destructive method such as filter!
What to do when a could not find driver appears when connecting to a DB in a Docker environment
What to do if a SAX Parser error occurs when using Liferay 7 / DXP on AWS
What to do if you get a "302" error in your controller unit test code in Rails
What you need to do to open a file from the menu in the document-Based App macOS app
[Rails] What to do when the view collapses when a message is displayed with the errors method
What to do if you get an error in Basic authentication during Rails test code
[Rails 6] What to do when a missing a template error occurs after introducing haml [Super easy]
What to do when it becomes Unable to find CDI BeanManager.
What to do when Method not found in f: ajax
[IOS] What you need to know before creating a widget
# What to do if you accidentally do rails db: migrate: drop
What to do when Cannot apply expression operators to method binding
What to do if mysql2 gets a bundle install error
What to do if you can't use the rails command
What to do if you get a "Mysql2 :: Error: Operand should contain 1 column (s)" error in Rails
What to do when you want to know the source position where the method is defined in binding.pry
What to do if you get "Changes not staged for commit:" when you git status after git add.
[Output] Learn Ruby from what you want to do at the fastest speed-Part 2 "Create a flowchart"
What to do when javax.el.ELException: Not a Valid Method Expression: appears when the JSF screen is displayed
What to do when the changes in the Servlet are not reflected