[prev in list] [next in list] [prev in thread] [next in thread]
List: wink-dev
Subject: [jira] [Commented] (WINK-376) StackOverflow when no ContextResolver available
From: "Luciano Resende (JIRA)" <jira () apache ! org>
Date: 2012-12-18 20:16:13
Message-ID: JIRA.12623837.1355434844647.25046.1355861773405 () arcas
[Download RAW message or body]
[ https://issues.apache.org/jira/browse/WINK-376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535263#comment-13535263 \
]
Luciano Resende commented on WINK-376:
--------------------------------------
It would be good if we could add/update some tests to make sure we don't have future \
regressions in the future.
> StackOverflow when no ContextResolver available
> -----------------------------------------------
>
> Key: WINK-376
> URL: https://issues.apache.org/jira/browse/WINK-376
> Project: Wink
> Issue Type: Bug
> Reporter: Reto Bachmann-Gmür
> Attachments: WINK-376.patch
>
>
> When for an object that is requested via @Context no ContextResolver is available \
> when one of its method is invoked this yields to: Caused by: \
> java.lang.StackOverflowError 3015813 at sun.misc.Unsafe.getObject(Native \
> Method) 3015814 at \
> java.util.concurrent.ConcurrentHashMap.putIfAbsent(ConcurrentHashMap.java:1146) \
> 3015815 at java.lang.ClassLoader.getClassLoadingLock(ClassLoader.java:462) \
> 3015816 at java.lang.ClassLoader.loadClass(ClassLoader.java:403) 3015817 \
> at java.lang.ClassLoader.loadClass(ClassLoader.java:356) 3015818 at \
> org.apache.felix.framework.ModuleImpl.findClassOrResourceByDelegation(ModuleImpl.java:723)
> 3015819 at \
> org.apache.felix.framework.ModuleImpl.access$400(ModuleImpl.java:72) 3015820 \
> at org.apache.felix.framework.ModuleImpl$ModuleClassLoader.loadClass(ModuleImpl.java:1801)
> 3015821 at java.lang.ClassLoader.loadClass(ClassLoader.java:356)
> 3015822 at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
> 3015823 at \
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 3015824 at java.lang.reflect.Method.invoke(Method.java:601)
> 3015825 at \
> org.apache.wink.common.internal.registry.ContextAccessor$1.invoke(ContextAccessor.java:114)
> 3015826 at $Proxy38.getAttribute(Unknown Source)
> 3015827 at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)
> 3015828 at \
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> 3015829 at java.lang.reflect.Method.invoke(Method.java:601)
> 3015830 at \
> org.apache.wink.common.internal.registry.ContextAccessor$1.invoke(ContextAccessor.java:114)
> 3015831 at $Proxy38.getAttribute(Unknown Source)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic