robertdoo / red5

Automatically exported from code.google.com/p/red5
0 stars 0 forks source link

Exception in BaseRTMPHandler ( extending RTMPClient ) (JAVA) - SOSample Shared Ball Demo 0.9.1 #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. Build a distribution with 0.9.1. (Ecplise EE) according to
   "www.red5guide.com" and of course
   "http://www.youtube.com/user/dominickaccattato"
   No plugin is needed yet, because we only want to connect to the
   Shared ball demo and change some attributes of "ballCoordinates".
   Run the distribution, and install the SOSample webapp.

2. We created a simple stand alone java app within the same workspace in
   Ecplise. Import all the jar files from the generated dist folder from
   the earlier made distribution(1), (just to be sure we have
   everything available).

3. The attached file contains our first initiative in making a server
   side RTMPClient. Import the existing project in Eclipse and run it.

[quote]What is the expected output? What do you see instead?[/quote]
- The expected output is likely an output without exceptions?
- Instead an exception is shown, concerning the BaseRTMPHandler:
  [NioProcessor-1] ERROR o.r.server.net.rtmp.BaseRTMPHandler - Exception
   java.lang.NullPointerException: null
    at java.util.concurrent.ConcurrentHashMap.put(Unknown Source) [na:1.6.0_24]
.....

[quote]What version of the product are you using? On what operating 
system?[/quote]
Products:
- Red5 Source 0.9.1
- Eclipse Helios (32bit)
- Ivy 2.2.0
- Subclipse
- Java SE Development kit: 1.6.0.230 (32bit)
Operating system:
- Windows 7 Pro, 64bit

Additional information below:
We dearly want to use Red5 for industrial purposes to control factory plants 
and other processes. At the moment we use amfPHP and PostgreSQL etc. We think 
Red5 is very exciting, so we need to get some samples running to create plan 
schedules to upgrade our SCADA to the next 
level!(http://en.wikipedia.org/wiki/SCADA)

Ivo Cazemier

current: www.aqualectra.nl

Original issue reported on code.google.com by i.cazem...@gmail.com on 1 Apr 2011 at 7:33

Attachments:

GoogleCodeExporter commented 9 years ago
This is fixed in revision 4258. You will have to adjust your client code to 
handle null data in the updates though.

Original comment by mondain on 27 Jul 2011 at 10:03

GoogleCodeExporter commented 9 years ago

Original comment by mondain on 24 Oct 2011 at 4:45