Project

General

Profile

bug #6426

Avoid stack overflow in self referencing references

Added by Andreas Müller over 2 years ago. Updated over 2 years ago.

Status:
New
Priority:
New
Category:
cdmlib
Target version:
Start date:
02/16/2017
Due date:
% Done:

0%

Severity:
normal
Found in Version:

Description

happens in cache strategy:

login : admin
editor version : 4.6.0.201702161652
server : test.e-taxonomy.eu (edit-test) / rem_conf_am
schema version : 4.1.0.0.201607300000
os : Windows Server 2012 R2 6.3 amd64
java : 1.8.0_121
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.StackOverflowError)
    at org.eclipse.swt.SWT.error(SWT.java:4282)
    at org.eclipse.swt.SWT.error(SWT.java:4197)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:138)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4140)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3757)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499)
    at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at eu.etaxonomy.taxeditor.Application.start(Application.java:24)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:344)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:622)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:577)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1410)
Caused by: java.lang.StackOverflowError
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getFullAbbrevTitleString(DefaultReferenceCacheStrategy.java:148)
    at eu.etaxonomy.cdm.model.reference.Reference.generateAbbrevTitle(Reference.java:735)
    at eu.etaxonomy.cdm.model.reference.Reference.getAbbrevTitleCache(Reference.java:377)
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.titleCacheRealInRef(DefaultReferenceCacheStrategy.java:248)
    at eu.etaxonomy.cdm.strategy.cache.reference.DefaultReferenceCacheStrategy.getFullAbbrevTitleString(DefaultReferenceCacheStrategy.java:168)
    at eu.etaxonomy.cdm.model.reference.Reference.generateAbbrevTitle(Reference.java:735)
    at eu.etaxonomy.cdm.model.reference.Reference.getAbbrevTitleCache(Reference.java:377)
   ...


Related issues

Related to Edit - feature request #5671: Name selection should not allow self referencing name relationships Feedback

History

#1 Updated by Andreas Müller over 2 years ago

  • Related to feature request #5671: Name selection should not allow self referencing name relationships added

#2 Updated by Andreas Müller over 2 years ago

  • Description updated (diff)

#3 Updated by Andreas Müller over 2 years ago

  • Description updated (diff)

#4 Updated by Andreas Müller over 2 years ago

  • Description updated (diff)

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 40 MB)