[jboss-jira] [JBoss JIRA] Created: (JBREM-541) null pointer when receiving detection message

John Mazzitelli (JIRA) jira-events at jboss.com
Fri Jul 14 12:14:11 EDT 2006


null pointer when receiving detection message
---------------------------------------------

                 Key: JBREM-541
                 URL: http://jira.jboss.com/jira/browse/JBREM-541
             Project: JBoss Remoting
          Issue Type: Bug
      Security Level: Public (Everyone can see)
    Affects Versions: 2.0.0.Beta2 (Boon)
            Reporter: John Mazzitelli
         Assigned To: Tom  Elrod
             Fix For: 2.0.0.CR1 (Boon)


I am seeing a NullPointerException that causes my multicast detector to fail.

I have a JBoss 4.0.4.CR2 install that has my connector and multicast detector deployed.  I also deployed the servlet-invoker war because i am using the servlet transport.

I start up the JBossAS fine.  No errors.  I then start up a second JVM that contains my J2SE app that also has a JBoss-Remoting connector and multicast detector in it.

After that second VM starts, I can see the JBossAS receives the multicast message, but it throws the following exception:

11:58:53,118 DEBUG [MulticastDetector] Error receiving detection
java.lang.NullPointerException
	at org.jboss.remoting.detection.AbstractDetector.detect(AbstractDetector.java:402)
	at org.jboss.remoting.detection.multicast.MulticastDetector.listen(MulticastDetector.java:232)
	at org.jboss.remoting.detection.multicast.MulticastDetector.access$100(MulticastDetector.java:43)
	at org.jboss.remoting.detection.multicast.MulticastDetector$Listener.run(MulticastDetector.java:260)

In that J2SE VM, I get this exception:

12:05:21,106 DEBUG [Remoting Multicast Detector - Listener Thread: 0] (jboss.remoting.detection.multicast.MulticastDetector)- Error receiving detection
java.net.SocketException: socket closed
	at java.net.PlainDatagramSocketImpl.receive0(Native Method)
	at java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:136)
	at java.net.DatagramSocket.receive(DatagramSocket.java:712)
	at org.jboss.remoting.detection.multicast.MulticastDetector.listen(MulticastDetector.java:244)
	at org.jboss.remoting.detection.multicast.MulticastDetector.access$000(MulticastDetector.java:45)
	at org.jboss.remoting.detection.multicast.MulticastDetector$Listener.run(MulticastDetector.java:289)

I have trace mode enabled but those are the only messages I see wrt the detector.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list