Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Newcomers » Newcomers » Editing JSP unresponsive(IDE is unresponsice for few minutes)
Editing JSP unresponsive [message #1794445] Thu, 30 August 2018 17:03 Go to next message
Pierre Roukens is currently offline Pierre RoukensFriend
Messages: 1
Registered: August 2018
Junior Member
Hopefully somebody can help me out because this drives me nuts...

When I edit a "label" of a tag (aui/liferay) in a JSP file in Eclipse (Oxygen 3a), the UI becomes unresponsive for a few minutes.

Below is the output of the log (UI freeze example).

eclipse.buildId=4.7.3.M20180330-0640
java.version=1.8.0_181
java.vendor=Oracle Corporation
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_US
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86_64 -product org.eclipse.epp.package.jee.product

org.eclipse.ui.monitoring
Info
Thu Aug 30 18:42:03 CEST 2018
Sample at 18:42:02.644 (+42.666s)
Thread 'main' tid=1 (RUNNABLE)

Stack Trace
	at java.io.FileInputStream.readBytes(Native Method)
	at java.io.FileInputStream.read(Unknown Source)
	at sun.nio.cs.StreamDecoder.readBytes(Unknown Source)
	at sun.nio.cs.StreamDecoder.implRead(Unknown Source)
	at sun.nio.cs.StreamDecoder.read(Unknown Source)
	at java.io.InputStreamReader.read(Unknown Source)
	at java.io.BufferedReader.fill(Unknown Source)
	at java.io.BufferedReader.readLine(Unknown Source)
	at java.io.BufferedReader.readLine(Unknown Source)
	at com.liferay.ide.core.util.FileUtil.readContents(FileUtil.java:847)
	at com.liferay.ide.core.util.FileUtil.readContents(FileUtil.java:832)
	at com.liferay.ide.project.core.util.LiferayWorkspaceUtil.isValidMavenWorkspaceLocation(LiferayWorkspaceUtil.java:498)
	at com.liferay.ide.project.core.util.LiferayWorkspaceUtil.isValidWorkspaceLocation(LiferayWorkspaceUtil.java:527)
	at com.liferay.ide.project.core.util.LiferayWorkspaceUtil.isValidWorkspace(LiferayWorkspaceUtil.java:510)
	at com.liferay.ide.maven.core.LiferayMavenWorkspaceProjectProvider.provide(LiferayMavenWorkspaceProjectProvider.java:170)
	at com.liferay.ide.core.LiferayCore.create(LiferayCore.java:84)
	at com.liferay.ide.core.util.PropertiesUtil.getDefaultLanguagePropertiesFromPortletXml(PropertiesUtil.java:313)
	at com.liferay.ide.project.core.FlexibleProject.getDefaultLanguageProperties(FlexibleProject.java:82)
	at com.liferay.ide.maven.core.FacetedMavenProject.getDefaultLanguageProperties(FacetedMavenProject.java:100)
	at com.liferay.ide.core.util.PropertiesUtil.getDefaultLanguagePropertiesFromProject(PropertiesUtil.java:348)
	at com.liferay.ide.xml.search.ui.resources.PortletLanguagePropertiesRequestor.accept(PortletLanguagePropertiesRequestor.java:37)
	at org.eclipse.wst.xml.search.core.properties.DefaultPropertiesRequestor.accept(DefaultPropertiesRequestor.java:40)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:63)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:105)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.internalSearch(PropertiesSearchEngine.java:90)
	at org.eclipse.wst.xml.search.core.properties.PropertiesSearchEngine.search(PropertiesSearchEngine.java:54)
	at org.eclipse.wst.xml.search.editor.searchers.properties.XMLSearcherForProperties.internalSearch(XMLSearcherForProperties.java:94)
	at org.eclipse.wst.xml.search.editor.searchers.properties.XMLSearcherForProperties.searchForCompletion(XMLSearcherForProperties.java:41)
	at org.eclipse.wst.xml.search.editor.internal.contentassist.XMLReferencesContentAssistCalculator.computeProposals(XMLReferencesContentAssistCalculator.java:54)
	at org.eclipse.wst.xml.search.editor.contentassist.XMLReferencesContentAssistUtils.addAttributeValueProposals(XMLReferencesContentAssistUtils.java:48)
	at org.eclipse.jst.jsp.search.editor.internal.contentassist.JSPReferenceContentAssistProcessor.addAttributeValueProposals(JSPReferenceContentAssistProcessor.java:31)
	at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeAttributeValueProposals(AbstractContentAssistProcessor.java:1274)
	at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1308)
	at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:109)
	at org.eclipse.wst.xml.ui.internal.contentassist.AbstractContentAssistProcessor.computeCompletionProposals(AbstractContentAssistProcessor.java:1416)
	at org.eclipse.wst.xml.ui.internal.contentassist.XMLContentAssistProcessor.computeCompletionProposals(XMLContentAssistProcessor.java:124)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.collectProposals(StructuredContentAssistProcessor.java:501)
	at org.eclipse.wst.sse.ui.contentassist.StructuredContentAssistProcessor.computeCompletionProposals(StructuredContentAssistProcessor.java:255)
	at org.eclipse.wst.sse.ui.internal.contentassist.CompoundContentAssistProcessor.computeCompletionProposals(CompoundContentAssistProcessor.java:127)
	at org.eclipse.jface.text.contentassist.ContentAssistant$3.run(ContentAssistant.java:2007)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:2004)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:560)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$7(CompletionProposalPopup.java:555)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:489)
	at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
	at org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:482)
	at org.eclipse.jface.text.contentassist.ContentAssistant$AutoAssistListener$1.run(ContentAssistant.java:377)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:37)
	at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:182)
	at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4213)
	at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3820)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1150)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1039)
	at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:153)
	at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:680)
	at org.eclipse.ui.internal.Workbench$$Lambda$65/838187299.run(Unknown Source)
	at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:336)
	at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:594)
	at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:148)
	at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:151)
	at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
	at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:388)
	at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:243)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
	at java.lang.reflect.Method.invoke(Unknown Source)
	at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:653)
	at org.eclipse.equinox.launcher.Main.basicRun(Main.java:590)
	at org.eclipse.equinox.launcher.Main.run(Main.java:1499)


Any ideas anybody? Thanks!
Re: Editing JSP unresponsive [message #1794447 is a reply to message #1794445] Thu, 30 August 2018 17:26 Go to previous message
Nitin Dahyabhai is currently offline Nitin DahyabhaiFriend
Messages: 3254
Registered: July 2009
Senior Member

There's something strange about that stacktrace; we don't have
org.eclipse.jst.jsp.search.editor.internal.contentassist.JSPReferenceContentAssistProcessor and
org.eclipse.wst.xml.search.editor.searchers.properties.XMLSearcherForProperties classes.


Nitin Dahyabhai
Eclipse Web Tools Platform
Previous Topic:Infocenter WAR with Photon
Next Topic:Thank admin!
Goto Forum:
  


Current Time: Tue Sep 25 05:03:15 GMT 2018

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

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

Back to the top