Consultor Eletrônico



Kbase P128676: Sudden creation of multiple large log files in Architect
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   02/12/2008
Status: Verified

SYMPTOM(s):

Sudden creation of multiple large log files in Architect

java.lang.ArrayIndexOutOfBoundsException

All of a sudden Architect creates 8MB of logs with the same error recursively dumped

An internal error occured

!ENTRY com.openedge.pdt.core 4 20001 2008-01-30 14:59:20.234
!MESSAGE An internal error occured
!STACK 0
java.lang.ArrayIndexOutOfBoundsException: 1
at com.openedge.pdt.text.help.OEDataword.getDatabases(OEDataword.java:256)
at com.openedge.pdt.text.help.OEDataword.searchDatawordTables(OEDataword.java:91)
at com.openedge.pdt.text.help.OEWord.searchDataWords(OEWord.java:105)
at com.openedge.pdt.text.help.OEWord.getColorToken(OEWord.java:252)
at com.openedge.pdt.text.editor.rules.CasedWordRule.evaluate(CasedWordRule.java:89)
at org.eclipse.jface.text.rules.RuleBasedScanner.nextToken(RuleBasedScanner.java:155)
at org.eclipse.jface.text.rules.DefaultDamagerRepairer.createPresentation(DefaultDamagerRepairer.java:168)
at org.eclipse.jface.text.presentation.PresentationReconciler.createPresentation(PresentationReconciler.java:448)
at org.eclipse.jface.text.presentation.PresentationReconciler.processDamage(PresentationReconciler.java:560)
at org.eclipse.jface.text.presentation.PresentationReconciler.access$3(PresentationReconciler.java:558)
at org.eclipse.jface.text.presentation.PresentationReconciler$InternalListener.inputDocumentChanged(PresentationReconciler.java:118)
at org.eclipse.jface.text.TextViewer.fireInputDocumentChanged(TextViewer.java:2458)
at org.eclipse.jface.text.TextViewer.setDocument(TextViewer.java:2507)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:521)
at org.eclipse.jface.text.source.projection.ProjectionViewer.setDocument(ProjectionViewer.java:370)
at org.eclipse.jface.text.source.SourceViewer.setDocument(SourceViewer.java:467)
at org.eclipse.ui.texteditor.AbstractTextEditor.initializeSourceViewer(AbstractTextEditor.java:2937)
at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:2684)
at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:53)
at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:367)
at com.openedge.pdt.text.editor.OETextEditor.createPartControl(OETextEditor.java:841)
at org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:596)
at org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:372)
at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:566)
at org.eclipse.ui.internal.EditorReference.getEditor(EditorReference.java:214)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2595)
at org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2528)
at org.eclipse.ui.internal.WorkbenchPage.access$10(WorkbenchPage.java:2520)
at org.eclipse.ui.internal.WorkbenchPage$9.run(WorkbenchPage.java:2505)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2500)
at org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2485)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:388)
at org.eclipse.ui.ide.IDE.openEditor(IDE.java:350)
at org.eclipse.search.internal.ui.text.EditorOpener.showInEditor(EditorOpener.java:105)
at org.eclipse.search.internal.ui.text.EditorOpener.showWithReuse(EditorOpener.java:47)
at org.eclipse.search.internal.ui.text.EditorOpener.open(EditorOpener.java:37)
at org.eclipse.search.internal.ui.text.FileSearchPage.showMatch(FileSearchPage.java:200)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage$7.run(AbstractTextSearchViewPage.java:786)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.search.ui.text.AbstractTextSearch.ViewPage.showMatch(AbstractTextSearchViewPage.java:789)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.showCurrentMatch(AbstractTextSearchViewPage.java:854)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.gotoNextMatch(AbstractTextSearchViewPage.java:819)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage.handleOpen(AbstractTextSearchViewPage.java:1249)
at org.eclipse.search.ui.text.AbstractTextSearchViewPage$5.open(AbstractTextSearchViewPage.java:662)
at org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:817)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.runtime.Platform.run(Platform.java:843)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:44)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:149)
at org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:815)
at org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1069)
at org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1168)
at org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:249)
at org.eclipse.jface.util.OpenStrategy.access$2(OpenStrategy.java:243)
at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:283)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:928)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3348)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2968)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1930)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1894)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:422)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
at org.eclipse.core.launcher.Main.run(Main.java:977)
at org.eclipse.core.launcher.Main.main(Main.java:952).

FACT(s) (Environment):

OpenEdge 10.1x
Windows 32 Intel

CAUSE:

Bug# OE00164898

CAUSE:

When reading information about a database Architect attempts to get the guid of the database to identify it. In databases that were created in 10.1A or higher, or updated using the updateschema or enableauditing options of proutil, this is stored in the _db table in a field called _db-guid.
There are certain limited cases where the Architect code may fall through and end up in a loop when trying to get this value from a database which doesn't have this field in it.
Typically no errors are seen on the screen though some performance impact may be felt when Architect is attempting to gather this information. Some instances of this problem have been fixed through current releases of the product.

FIX:

To workaround this issue run 'proutil <dbname> -C updateschema' on the database.