river-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Brouwer (JIRA)" <j...@apache.org>
Subject [jira] Updated: (RIVER-22) NPE in net.jini.jeri.tcp.TcpEndpoint$ConnectionImpl.checkConnectPermission
Date Thu, 13 Dec 2007 16:16:43 GMT

     [ https://issues.apache.org/jira/browse/RIVER-22?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Mark Brouwer updated RIVER-22:
------------------------------

    Fix Version/s: AR2

> NPE in net.jini.jeri.tcp.TcpEndpoint$ConnectionImpl.checkConnectPermission
> --------------------------------------------------------------------------
>
>                 Key: RIVER-22
>                 URL: https://issues.apache.org/jira/browse/RIVER-22
>             Project: River
>          Issue Type: Bug
>          Components: net_jini_jeri
>    Affects Versions: jtsk_2.1
>            Reporter: Mark Brouwer
>            Assignee: Mark Brouwer
>             Fix For: AR2
>
>
> Running some stress tests it is possible an NPE is thrown when the sockets used by a
{{TcpEndpoint}} has been closed while an attempt to invoke a remote method takes place, this
is related to a bug reported as [#6243057|http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6243057],
see also this [thread|http://archives.java.sun.com/cgi-bin/wa?A2=ind0404&L=jini-users&F=&S=&P=18968].
> {noformat:nopanel}
> 02-May-2007 17:01:12 org.cheiron.seven.core.ContainerManager notifyServiceDestroyed (oid=1.3.6.1.4.12543.2.0,
group=default, instance=master)
> INFO: JSC Service with ID 1.2.3.3_load is destroyed, connector unexported and container
managed resources are released
> java.lang.NullPointerException
>         at net.jini.jeri.tcp.TcpEndpoint$ConnectionImpl.checkConnectPermission(TcpEndpoint.java:892)
>         at net.jini.jeri.tcp.TcpEndpoint$ConnectionEndpointImpl.connect(TcpEndpoint.java:754)
>         at net.jini.jeri.connection.ConnectionManager.connect(ConnectionManager.java:205)
>         at net.jini.jeri.connection.ConnectionManager$ReqIterator.next(ConnectionManager.java:629)
>         at net.jini.jeri.BasicObjectEndpoint$1.next(BasicObjectEndpoint.java:371)
>         at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethodOnce(BasicInvocationHandler.java:708)
>         at net.jini.jeri.BasicInvocationHandler.invokeRemoteMethod(BasicInvocationHandler.java:659)
>         at net.jini.jeri.BasicInvocationHandler.invoke(BasicInvocationHandler.java:528)
>         at org.cheiron.seven.proxy.BasicInvocationHandler.invokeMethod(BasicInvocationHandler.java:324)
>         at org.cheiron.seven.proxy.BasicInvocationHandler.invoke(BasicInvocationHandler.java:129)
>         at org.cheiron.seven.proxy.StubInvokerHandler.invoke(StubInvokerHandler.java:142)
>         at org.cheiron.seven.proxy.BasicInvocationHandler.invokeMethod(BasicInvocationHandler.java:324)
>         at org.cheiron.seven.proxy.ServiceStubProxyHandler.specializedInvoke(ServiceStubProxyHandler.java:164)
>         at org.cheiron.seven.proxy.BasicInvocationHandler.invoke(BasicInvocationHandler.java:119)
>         at com.sun.jini.outrigger.$Proxy141.take(Unknown Source)
>         at com.sun.jini.outrigger.SpaceProxy2.take(SpaceProxy2.java:411)
>         at sun.reflect.GeneratedMethodAccessor87.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:585)
>         at org.cheiron.seven.proxy.BasicInvocationHandler.invokeMethod(BasicInvocationHandler.java:328)
>         at org.cheiron.seven.proxy.BasicInvocationHandler.invoke(BasicInvocationHandler.java:129)
>         at $Proxy140.take(Unknown Source)
>         at x.y.z.javaspace.JavaSpaceAccessorImpl$EntryTaker.run(JavaSpaceAccessorImpl.java:377)
>         at org.cheiron.util.thread.ThreadPoolImpl$ContextTask$1.run(ThreadPoolImpl.java:1527)
>         at org.cheiron.seven.security.ContextSecurityManager$3$1.run(ContextSecurityManager.java:410)
>         at java.security.AccessController.doPrivileged(Native Method)
>         at org.cheiron.util.thread.ThreadPoolImpl$ContextTask.run(ThreadPoolImpl.java:1522)
>         at org.cheiron.util.thread.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:2657)
> {noformat}

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message