Community
Participate
Working Groups
Hang while setting buildpath WSAD 4.02 When set up buildpath of one of EJB projects within WSC workspace (36 EJB projects, 3 wars, let us know if you need the workspace), WSAD 4.02 hang with the following dump message from java console: Full thread dump Classic VM (J2RE 1.3.0 IBM build cn130-20000622, native threads): "ModalContext" (TID:0x16146d48, sys_thread_t:0x1e83f1d8, state:R, native ID:0x748) prio=5 at org.eclipse.jdt.internal.core.JavaProject.getClasspathEntryErrorMessage (JavaProject.java(Compiled Code)) at org.eclipse.jdt.internal.core.JavaProject.getResolvedClasspath (JavaProject.java(Compiled Code)) at org.eclipse.jdt.internal.core.SetClasspathOperation.executeOperation (SetClasspathOperation.java:73) at org.eclipse.jdt.internal.core.JavaModelOperation.execute (JavaModelOperation.java:257) at org.eclipse.jdt.internal.core.JavaModelOperation.run (JavaModelOperation.java:452) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1197) at org.eclipse.jdt.internal.core.JavaModelManager.runOperation (JavaModelManager.java:1021) at org.eclipse.jdt.internal.core.JavaElement.runOperation (JavaElement.java:508) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath (JavaProject.java:1514) at org.eclipse.jdt.internal.core.JavaProject.setRawClasspath (JavaProject.java(Compiled Code)) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.setJavaProjectPro perties(BuildPathsBlock.java(Compiled Code)) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock.access$7 (BuildPathsBlock.java:449) at org.eclipse.jdt.internal.ui.wizards.buildpaths.BuildPathsBlock$2.run (BuildPathsBlock.java:359) at org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation.execute (WorkspaceModifyDelegatingOperation.java:39) at org.eclipse.ui.actions.WorkspaceModifyOperation$1.run (WorkspaceModifyOperation.java:64) at org.eclipse.core.internal.resources.Workspace.run (Workspace.java:1197) at org.eclipse.ui.actions.WorkspaceModifyOperation.run (WorkspaceModifyOperation.java:78) at org.eclipse.jface.operation.ModalContext$ModalContextThread.run (ModalContext.java:98) "org.eclipse.jdt.internal.ui.text.JavaReconciler" (TID:0x15f3aa88, sys_thread_t:0x28928610, state:CW, native ID:0x25c) prio=1 at java.lang.Object.wait(Native Method) at org.eclipse.jdt.internal.ui.text.JavaReconciler$BackgroundThread.run (JavaReconciler.java(Compiled Code)) "org.eclipse.jdt.internal.ui.text.JavaReconciler" (TID:0x1128e6c8, sys_thread_t:0x289335c8, state:CW, native ID:0x6e0) prio=1 at java.lang.Object.wait(Native Method) at org.eclipse.jdt.internal.ui.text.JavaReconciler$BackgroundThread.run (JavaReconciler.java(Compiled Code)) "Java indexing: org.eclipse.jdt.internal.core.search.indexing.IndexManager" (TID:0x874ddf0, sys_thread_t:0x1ca3c498, state:CW, native ID:0x690) p io=5 at java.lang.Thread.sleep(Native Method) at org.eclipse.jdt.internal.core.search.processing.JobManager.run (JobManager.java(Compiled Code)) at java.lang.Thread.run(Thread.java:498) "Finalizer" (TID:0x8e8708, sys_thread_t:0x829318, state:CW, native ID:0x59c) prio=8 at java.lang.Object.wait(Native Method) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java(Compiled Code)) at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java(Compiled Code)) at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java(Compiled Code)) "Reference Handler" (TID:0x8e8750, sys_thread_t:0x824cd8, state:CW, native ID:0x598) prio=10 at java.lang.Object.wait(Native Method) at java.lang.Object.wait(Object.java:421) at java.lang.ref.Reference$ReferenceHandler.run(Reference.java(Compiled Code)) "Signal dispatcher" (TID:0x8e8798, sys_thread_t:0x821c10, state:R, native ID:0x5c4) prio=5 "main" (TID:0x8e87e0, sys_thread_t:0x234cb8, state:MW, native ID:0x5b8) prio=5 at org.eclipse.swt.widgets.Label.WM_ERASEBKGND(Label.java(Compiled Code)) at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.win32.OS.DefWindowProc(Native Method) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java (Compiled Code)) at org.eclipse.swt.widgets.Control.windowProc(Control.java(Compiled Code)) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java (Compiled Code)) at org.eclipse.swt.widgets.Display.windowProc(Display.java(Compiled Code)) at org.eclipse.swt.internal.win32.OS.PeekMessage(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.jface.operation.ModalContext$ModalContextThread.block (ModalContext.java(Compiled Code)) at org.eclipse.jface.operation.ModalContext.run(ModalContext.java:258) at org.eclipse.jface.dialogs.ProgressMonitorDialog.run (ProgressMonitorDialog.java:335) at org.eclipse.jdt.internal.ui.preferences.BuildPathsPropertyPage.performOk (BuildPathsPropertyPage.java:116) at org.eclipse.jface.preference.PreferenceDialog.okPressed (PreferenceDialog.java:512) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed (PreferenceDialog.java:166) at org.eclipse.jface.dialogs.Dialog$1.widgetSelected(Dialog.java:211) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java (Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.jface.window.Window.runEventLoop(Window.java(Compiled Code)) at org.eclipse.jface.window.Window.open(Window.java:523) at org.eclipse.ui.dialogs.PropertyDialogAction.run (PropertyDialogAction.java:150) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:407) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem.access$0 (ActionContributionItem.java(Compiled Code)) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent (ActionContributionItem.java(Compiled Code)) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java (Compiled Code)) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java(Compiled Code)) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java (Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java (Compiled Code)) at org.eclipse.ui.internal.Workbench.run(Workbench.java:656) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:815) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:285) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:151) at org.eclipse.core.launcher.Main.run(Main.java:437) at org.eclipse.core.launcher.Main.main(Main.java:310) Monitor pool info: Initial monitor count: 32 Minimum number of free monitors before expansion: 5 Pool will next be expanded by: 36 Current total number of monitors: 72 Current number of free monitors: 24 Monitor Pool Dump (inflated object-monitors): sys_mon_t:0x002346b0 infl_mon_t: 0x002342a8: java.lang.ref.Reference$Lock@8F01E0/8F01E8: <unowned> Waiting to be notified: "Reference Handler" (0x824cd8) sys_mon_t:0x002346f0 infl_mon_t: 0x002342e8: java.lang.ref.ReferenceQueue$Lock@8EFE30/8EFE38: <unowned> Waiting to be notified: "Finalizer" (0x829318) sys_mon_t:0x1e837550 infl_mon_t: 0x1e837368: java.lang.Object@11434710/11434718: <unowned> Waiting to be notified: "org.eclipse.jdt.internal.ui.text.JavaReconciler" (0x289335c8) sys_mon_t:0x1e2d9c40 infl_mon_t: 0x1e96d978: java.lang.Object@15FB3310/15FB3318: <unowned> Waiting to be notified: "org.eclipse.jdt.internal.ui.text.JavaReconciler" (0x28928610) JVM System Monitor Dump (registered monitors): ACS Heap lock: <unowned> System Heap lock: <unowned> Sleep lock: <unowned> Waiting to be notified: "Java indexing: org.eclipse.jdt.internal.core.search.indexing.IndexManager" (0x1ca3c498) Method trace lock: <unowned> UTF8 Cache lock: <unowned> Heap lock: <unowned> Rewrite Code lock: <unowned> Monitor Cache lock: owner "Signal dispatcher" (0x821c10) 1 entry JNI Pinning lock: <unowned> JNI Global Reference lock: <unowned> Classloader lock: <unowned> Linking class lock: <unowned> Binclass lock: <unowned> Monitor Registry lock: owner "Signal dispatcher" (0x821c10) 1 entry Thread queue lock: owner "Signal dispatcher" (0x821c10) 1 entry Thread identifiers (as used in flat monitors): ident 1d "ModalContext" (0x1e83f1d8) ee 0x1e83f008 ident 1f "org.eclipse.jdt.internal.ui.text.JavaReconciler" (0x28928610) ee 0x28928440 ident 28 "org.eclipse.jdt.internal.ui.text.JavaReconciler" (0x289335c8) ee 0x289333f8 ident 6 "Java indexing: org.eclipse.jdt.internal.core.search.indexing.IndexManager" (0x1ca3c498) ee 0x1ca3c2c8 ident 5 "Finalizer" (0x829318) ee 0x00829148 ident 4 "Reference Handler" (0x824cd8) ee 0x00824b08 ident 3 "Signal dispatcher" (0x821c10) ee 0x00821a40 ident 2 "main" (0x234cb8) ee 0x00234ae8 Java Object Monitor Dump (flat & inflated object-monitors): java.lang.ref.ReferenceQueue$Lock@8EFE30/8EFE38 locknflags 80000400 Monitor inflated infl_mon 0x002342e8 java.lang.ref.Reference$Lock@8F01E0/8F01E8 locknflags 80000200 Monitor inflated infl_mon 0x002342a8 org.eclipse.ui.actions.WorkspaceModifyDelegatingOperation@B263258/B263260 locknflags 001d0000 Flat locked by threadIdent 1d. Entrycount 1 java.lang.Object@11434710/11434718 locknflags 80002900 Monitor inflated infl_mon 0x1e837368 java.lang.Object@15FB3310/15FB3318 locknflags 80003100 Monitor inflated infl_mon 0x1e96d978
From the stack trace above it looks like a JDT issue.
Could a workspace be provided so as to reproduce the problem ?
The workspace is large. It might not be sent via email. Do you have a server I can upload to? Please let me know. Thanks!
I could not reproduce the problem with WS Workbench R1.0 build 0.147 (I believe this corresponds to WSAD 4.02). The only difference I see is that the VM that comes with build 0.147 is J2RE 1.3.0 IBM build cn130-20010502. Could you please try with this VM version (I don't have your older version J2RE 1.3.0 IBM build cn130-20000622) ? Also just to make sure I understand what you're doing: you changed the build path of WCExternalCatalog (this project was selected when I started your workspace) but what change did you do? Did you add a new library?
Do you know whichbuild/driver was the older version J2RE 1.3.0 IBM build cn130- 20000622? I don't have it. I have tried to reproduce it on WSAD 4.03, but not successful. What I did: select WCExternalCatalog, right click, select Properties, select Java Build Path on the left, click on Libraries on the right, delete wcejbimpl.jar - /WebSphereCommerce/lib, click on Add External Jars, add wcejbimpl.jar from my local drive, click OK button.
Sorry, I don't know what build J2RE 1.3.0 IBM build cn130-20000622 corresponds to. I just saw in the stack trace that you were running it when the hang occured. If you cannot reproduce the problem (and I cannot either), should we close this bug?
I think we can close this defect. If two of us can reproduce it, then we will open it again. What do you think? How to close the defect in Bugzilla? I will close the one in CMVC. Thanks!
Closing.