[bigbluebutton-dev] Demo java.lang.NullPointerException

1,935 views
Skip to first unread message

peppux

unread,
Apr 9, 2012, 12:55:41 PM4/9/12
to bigblueb...@googlegroups.com
Hello guys,
i've installed a bbb vm and when i try to join to the client i get this error:

java.lang.NullPointerException
at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:199)
at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:889)

I think that the client doesn't find the demo folder. Right?
Thanks in advice,

Giuseppe

Fred Dixon

unread,
Apr 9, 2012, 2:09:10 PM4/9/12
to bigblueb...@googlegroups.com
See



Regards,... Fred
-- 
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton





--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To post to this group, send email to bigblueb...@googlegroups.com.
To unsubscribe from this group, send email to bigbluebutton-...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bigbluebutton-dev?hl=en.






Reynald Alexander

unread,
Apr 13, 2013, 5:41:41 AM4/13/13
to bigblueb...@googlegroups.com
Excuse me, I wanna ask regarding the same problem.
I got this error after my server IP changed from 192.168.70.135 to 192.168.70.141

You need to change your networking setup or the value of !BigBlueButtonURL so that http://<your_hostname>/bigbluebutton/correctly resolves on the BigBlueButton server.

I've made sure that URL in
/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp
/home/firstuser/dev/bigbluebutton/bigbluebutton-client/src/conf/config.xml
/home/firstuser/dev/bigbluebutton/bigbluebutton-web/grails-app/conf/bigbluebutton.properties
are already set to 192.168.70.141

I've also already use command
sudo bbb-conf --setip 192.168.70.141

Unfortunately, I still got the same result as before. What should I do to resolve this problem? Thanks.
Regard,
Reynald Alexander G.

HostBBB.com

unread,
Apr 13, 2013, 8:44:36 AM4/13/13
to BigBlueButton-dev
Reynald, what does sudo bbb-conf --check return now

Are you trying to start meeting from demo pages or a LMS/CMS
integration?

regards,
Stephen
hostbbb.com



On Apr 13, 5:41 am, Reynald Alexander <reynald.alexan...@gmail.com>
wrote:
> Excuse me, I wanna ask regarding the same problem.
> I got this error after my server IP changed from 192.168.70.135 to
> 192.168.70.141
>
> Inhttps://code.google.com/p/bigbluebutton/wiki/FAQ#Using_the_API_exampl...,
> it is stated that :
> You need to change your networking setup or the value of !BigBlueButtonURL
> so that http://<your_hostname>/bigbluebutton/correctly resolves on the
> BigBlueButton server.
>
> I've made sure that URL in
>
> /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp
>
> /home/firstuser/dev/bigbluebutton/bigbluebutton-client/src/conf/config.xml
>
> /home/firstuser/dev/bigbluebutton/bigbluebutton-web/grails-app/conf/bigbluebutton.properties
>
> are already set to 192.168.70.141
>
> I've also already use command
>
> sudo bbb-conf --setip 192.168.70.141
>
> Unfortunately, I still got the same result as before. What should I do to
> resolve this problem? Thanks.
> Regard,
> Reynald Alexander G.
>
>
>
>
>
>
>
> On Tuesday, April 10, 2012 1:09:10 AM UTC+7, Fred Dixon wrote:
>
> > See
>
> >http://code.google.com/p/bigbluebutton/wiki/FAQ#Using_the_API_example...
>
> > Regards,... Fred
> > --
> > BigBlueButton Developer
> >http://bigbluebutton.org/
> >http://code.google.com/p/bigbluebutton
> > BigBlueButton on twitter: @bigbluebutton
>
> > On Mon, Apr 9, 2012 at 12:55 PM, peppux <pep...@gmail.com <javascript:>>wrote:
>
> >> Hello guys,
> >> i've installed a bbb vm and when i try to join to the client i get this
> >> error:
>
> >> java.lang.NullPointerException
> >>        at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:199)
> >>        at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:889)
>
> >> I think that the client doesn't find the demo folder. Right?
> >> Thanks in advice,
>
> >> Giuseppe
>
> >> --
> >> You received this message because you are subscribed to the Google Groups
> >> "BigBlueButton-dev" group.
> >> To post to this group, send email to bigblueb...@googlegroups.com<javascript:>
> >> .
> >> To unsubscribe from this group, send email to
> >> bigbluebutton-...@googlegroups.com <javascript:>.

Reynald Alexander

unread,
Apr 16, 2013, 2:21:11 PM4/16/13
to bigblueb...@googlegroups.com
Hi, Stephen.
Sorry for the late respond.
This is what I got when I run bbb-conf --check

BigBlueButton Server 0.81-dev (785)
                    Kernel version: 2.6.32-45-generic
                      Distribution: Ubuntu 10.04.4 LTS (32-bit)
                            Memory: 1001 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): 192.168.204.128
                              Red5: 192.168.204.128

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: 192.168.204.128
                              port: 80
                    bbb-client dir: /home/firstuser/dev/bigbluebutton/bigbluebutton-client

/var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: 192.168.204.128

/var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: 192.168.204.128

/usr/share/red5/webapps/bigbluebutton/WEB-INF/red5-web.xml (red5)
                  voice conference: FreeSWITCH
                     capture video: true

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: 192.168.204.128


** Potential problems described below **

# The values for listen-ip in  
#     /opt/freeswitch/conf/autoload_configs/event_socket.conf.xml
# do not match the settings for esl.host in
#     /usr/share/red5/webapps/bigbluebutton/WEB-INF/bigbluebutton.properties

# Warning: nginx is not serving the client from /var/www/bigbluebutton/.
# Instead, it's being served from
#
#    /home/firstuser/dev/bigbluebutton/bigbluebutton-client
#
# (This is OK if you have setup a development environment.)

# Warning: nginx is not serving BigBlueButton's web application
# from port 8080
#
# (This is OK if you have setup a development environment.)

# Warning: There is no application server listening to port 8888.

# Error: Could not connect to the configured hostname/IP address
#
#    http://192.168.204.128/
#
# If your BigBlueButton server is behind a firewall, see FAQ:
#
#   http://code.google.com/p/bigbluebutton/wiki/FAQ
#
# (See entry for setting up BigBlueButton behind a firewall.)

# Warning: You are running BigBlueButton on a server with less than 2G of memory.  Your
# performance may suffer.

# Warning: The API demos are installed and accessible from:
#
#    http://192.168.204.128/
#
# Use the API demos test your BigBlueButton setup. To remove
#
#    sudo apt-get purge bbb-demo




In addition, this is what I got when I run bbb-conf --setip <host> to change IP just now

Assigning 192.168.204.128 for testing for firewall in /var/www/bigbluebutton/client/conf/config.xml
Assigning 192.168.204.128 for rtmp:// in /var/www/bigbluebutton/client/conf/config.xml
Assigning 192.168.204.128 for servername in /etc/nginx/sites-available/bigbluebutton
Assigning 192.168.204.128 for http:// in /var/www/bigbluebutton/client/conf/config.xml
Assigning 192.168.204.128 for web application URL in /var/lib/tomcat6/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties
Assigning 192.168.204.128 for api demos in /var/lib/tomcat6/webapps/demo/bbb_api_conf.jsp
Assigning 192.168.204.128 for record and playback in /usr/local/bigbluebutton/core/scripts/bigbluebutton.yml
Assigning 192.168.204.128 for playback of recordings:
Restarting the bigbluebutton server ...
 * Stopping Red5 Server red5                                          [ OK ]
 * Stopping Tomcat servlet engine tomcat6                             [ OK ]
Stopping nginx: nginx.
Killing: 11096
Stopping OpenOffice headless server.
Record and Playback monitoring stopped

Starting FreeSWITCH
Error: stacksize 4194303 is too large: run ulimit -s 240 or run /opt/freeswitch/bin/freeswitch -waste.
auto-adjusting stack size for optimal performance...
12480 Backgrounding.
Waiting for FreeSWITCH to start: ..................................
Starting OpenOffice headless server
Starting nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
configuration file /etc/nginx/nginx.conf test is successful
nginx.
 * Starting Red5 Server red5                                                 
                                                                      [ OK ]
 * Starting Tomcat servlet engine tomcat6                             [ OK ]
Record and Playback monitoring started
Waiting for BigBlueButton to finish starting up (this may take a minute): ...Startup unsuccessful: could not connect to http://192.168.204.128/bigbluebutton/api

What should I do? Thanks.
Regard,
Reynald.

Reynald Alexander

unread,
Apr 19, 2013, 3:34:06 PM4/19/13
to bigblueb...@googlegroups.com
Hi there, can u help me? Thank you.

Regards,
Reynald.

HostBBB.com

unread,
Apr 20, 2013, 7:44:03 PM4/20/13
to BigBlueButton-dev
Reynald,

I see you only have 1gb ram. might be a memory issue... change the
VM to use at least 2gb

Also you are try to startup .81dev? When did you check out master
branch, as it is not always stable?

.80 is stable if you need a system to use.

Regards,
Stephen
hostbbb.com

On Apr 19, 3:34 pm, Reynald Alexander <reynald.alexan...@gmail.com>
wrote:

Reynald Alexander

unread,
Apr 21, 2013, 11:36:33 AM4/21/13
to bigblueb...@googlegroups.com
Hi, Stephen.
I've already change the memory to 2GB but still there's no different about the error.
Oh, yes. Actually, I try to startup 0.81 BBB version because I want to develop the HTML client for for the further use.

Or is there other better approach to develop the client?

And, btw, I can join the meeting after I build the BBB-web (at the section developing BBB-web)
However, I cannot join anymore and get java.lang.nullpointerException after I build the bbb-apps and change the IP configuration as I explained before.
Is it caused by the unstability of the .81 version?

Thanks a lot in advance.

w/ full of regard,
Reynald.

Chad Pilkey

unread,
Apr 22, 2013, 9:42:45 PM4/22/13
to bigblueb...@googlegroups.com
The bbb-web development steps give you the instructions to run bbb-web from the command line. This works when actively developing bbb-web, but not when trying to deploy it. There's a gradle command to create a war file from the bbb-web source. If you want to remove the need to a have bbb-web run from the command line you need to create the war file and deploy it to /var/lib/tomcat6/webapps.Then change the bbb-web nginx file to point to the packaged directory instead of the development directory.

Also, the html5 client is in no way useable at the moment. It is still very much in active development and likely won't be any use to you.
Reply all
Reply to author
Forward
0 new messages