Project

General

Profile

Bug #1750

Eclipsoid hangs when autocompleting z.properties

Added by Henning Blohm almost 10 years ago. Updated over 8 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
z2-base-tools-eclipsoid
Target version:
Start date:
23.05.2014
Due date:
% Done:

0%

Estimated time:
origin:

Description

this time, I dug for callstacks using JConsole and found these two looking suspicuous:

Name: main
State: WAITING on java.lang.Object@4ae5d1fb
Total blocked: 125  Total waited: 104

Stack trace: 
java.lang.Object.wait(Native Method)
java.lang.Object.wait(Object.java:503)
com.zfabrik.z2info.plugin.model.Z2InfoManager.loadModelOnDemand(Z2InfoManager.java:69)
com.zfabrik.eclipsoid.z2props.plugin.utils.ModelHelpers.getZ2Model(ModelHelpers.java:95)
com.zfabrik.eclipsoid.z2props.plugin.utils.ModelHelpers.getTemplateFor(ModelHelpers.java:79)
com.zfabrik.eclipsoid.z2props.plugin.editors.completion.Z2CompletionProcessor.<init>(Z2CompletionProcessor.java:189)
com.zfabrik.eclipsoid.z2props.plugin.editors.completion.Z2CompletionProcessor$ValueProcessor.computeCompletionProposals(Z2CompletionProcessor.java:78)
org.eclipse.jface.text.contentassist.ContentAssistant.computeCompletionProposals(ContentAssistant.java:1839)
org.eclipse.jface.text.contentassist.CompletionProposalPopup.computeProposals(CompletionProposalPopup.java:566)
org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$16(CompletionProposalPopup.java:563)
org.eclipse.jface.text.contentassist.CompletionProposalPopup$2.run(CompletionProposalPopup.java:498)
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
org.eclipse.jface.text.contentassist.CompletionProposalPopup.showProposals(CompletionProposalPopup.java:492)
org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1665)
org.eclipse.jface.text.source.SourceViewer.doOperation(SourceViewer.java:932)
org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82)
org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80)
org.eclipse.jface.action.Action.runWithEvent(Action.java:499)
org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119)
org.eclipse.ui.internal.handlers.E4HandlerProxy.execute(E4HandlerProxy.java:90)
sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
org.eclipse.e4.core.internal.di.MethodRequestor.execute(MethodRequestor.java:56)
org.eclipse.e4.core.internal.di.InjectorImpl.invokeUsingClass(InjectorImpl.java:243)
org.eclipse.e4.core.internal.di.InjectorImpl.invoke(InjectorImpl.java:224)
org.eclipse.e4.core.contexts.ContextInjectionFactory.invoke(ContextInjectionFactory.java:132)
org.eclipse.e4.core.commands.internal.HandlerServiceHandler.execute(HandlerServiceHandler.java:167)
org.eclipse.core.commands.Command.executeWithChecks(Command.java:499)
org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508)
org.eclipse.e4.core.commands.internal.HandlerServiceImpl.executeHandler(HandlerServiceImpl.java:213)
org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.executeCommand(KeyBindingDispatcher.java:285)
org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.press(KeyBindingDispatcher.java:504)
org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.processKeyEvent(KeyBindingDispatcher.java:555)
org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.filterKeySequenceBindings(KeyBindingDispatcher.java:376)
org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher.access$0(KeyBindingDispatcher.java:322)
org.eclipse.e4.ui.bindings.keys.KeyBindingDispatcher$KeyDownFilter.handleEvent(KeyBindingDispatcher.java:84)
org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
org.eclipse.swt.widgets.Display.filterEvent(Display.java:1554)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1391)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1416)
org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1401)
org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1428)
org.eclipse.swt.widgets.Widget.gtk_key_press_event(Widget.java:829)
org.eclipse.swt.widgets.Control.gtk_key_press_event(Control.java:3236)
org.eclipse.swt.widgets.Composite.gtk_key_press_event(Composite.java:758)
org.eclipse.swt.widgets.Widget.windowProc(Widget.java:2096)
org.eclipse.swt.widgets.Control.windowProc(Control.java:5467)
org.eclipse.swt.widgets.Display.windowProc(Display.java:4569)
org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method)
org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:8742)
org.eclipse.swt.widgets.Display.eventProc(Display.java:1243)
org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method)
org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2288)
org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3361)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1113)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:997)
org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:138)
org.eclipse.ui.internal.Workbench$5.run(Workbench.java:610)
org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:567)
org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124)
org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354)
org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:181)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:601)
org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:636)
org.eclipse.equinox.launcher.Main.basicRun(Main.java:591)
org.eclipse.equinox.launcher.Main.run(Main.java:1450)
org.eclipse.equinox.launcher.Main.main(Main.java:1426)
Name: Worker-37
State: TIMED_WAITING on org.eclipse.ui.internal.Semaphore@56d79297
Total blocked: 1,321  Total waited: 1,452

Stack trace: 
java.lang.Object.wait(Native Method)
org.eclipse.ui.internal.Semaphore.acquire(Semaphore.java:43)
org.eclipse.ui.internal.UISynchronizer.syncExec(UISynchronizer.java:168)
org.eclipse.swt.widgets.Display.syncExec(Display.java:4491)
org.eclipse.equinox.internal.security.ui.storage.DefaultPasswordProvider.getPassword(DefaultPasswordProvider.java:47)
org.eclipse.equinox.internal.security.storage.PasswordProviderModuleExt.getPassword(PasswordProviderModuleExt.java:35)
org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getModulePassword(SecurePreferencesRoot.java:259)
org.eclipse.equinox.internal.security.storage.SecurePreferencesRoot.getPassword(SecurePreferencesRoot.java:224)
org.eclipse.equinox.internal.security.storage.SecurePreferences.get(SecurePreferences.java:262)
org.eclipse.equinox.internal.security.storage.SecurePreferencesWrapper.get(SecurePreferencesWrapper.java:106)
com.zfabrik.eclipsoid.plugin.preferences.SecurePreferences.read(SecurePreferences.java:54)
com.zfabrik.eclipsoid.plugin.preferences.SecurePreferences.readPassword(SecurePreferences.java:31)
com.zfabrik.eclipsoid.plugin.preferences.PreferenceAccess.getPassword(PreferenceAccess.java:138)
com.zfabrik.eclipsoid.plugin.preferences.PreferenceAccess.getBasicAuthentication(PreferenceAccess.java:126)
com.zfabrik.eclipsoid.client.Utils.open(Utils.java:286)
com.zfabrik.z2info.plugin.job.Z2InfoUpdateJob.run(Z2InfoUpdateJob.java:39)
org.eclipse.core.internal.jobs.Worker.run(Worker.java:53)

Also available in: Atom PDF