bug-classpath
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug classpath/28566] New: NPE in the UnicastRemoteObject.unexportObject


From: audriusa at bluewin dot ch
Subject: [Bug classpath/28566] New: NPE in the UnicastRemoteObject.unexportObject
Date: 2 Aug 2006 06:57:03 -0000

The bug was observed when trying to run JBoss with GNU Classpath + JamVM.

Twisti> On shutdown I get a NPE:
Twisti> 13:07:37,901 WARN  [JRMPInvoker] Stopping failed
Twisti> jboss:service=invoker,type=jrmp
Twisti> java.lang.NullPointerException
Twisti>    at
java.rmi.server.UnicastRemoteObject.unexportObject(UnicastRemoteObject.java:240)

Could you file a PR for this?
I don't know RMI very well (does anybody?) but this seems like a real
Classpath bug to me.

It seems that one of the RemoteObject's has no associated server reference. The
NPE itself would be easy to fix by adding the simple check (probably makes
sense), but it is also interesting WHY it does not. The exception may indicate
that the reference has not been set when expected. To understand, what is
happening, we may need to look into JBoss sources and check how this object has
been constructed.


-- 
           Summary: NPE in the UnicastRemoteObject.unexportObject
           Product: classpath
           Version: 0.92
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: classpath
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: audriusa at bluewin dot ch


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28566





reply via email to

[Prev in Thread] Current Thread [Next in Thread]