You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@wink.apache.org by "Luciano Resende (JIRA)" <ji...@apache.org> on 2012/12/18 21:16:13 UTC

[jira] [Commented] (WINK-376) StackOverflow when no ContextResolver available

    [ 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