java.lang.NullPointerException on demo page

1,093 views
Skip to first unread message

marboh

unread,
Apr 8, 2015, 2:21:54 AM4/8/15
to bigbluebu...@googlegroups.com
hey,
 
 every time i try to join a session on my server i got this error:


java.lang.NullPointerException
    at org.apache.jsp.demo1_jsp.getJoinURL(demo1_jsp.java:222)
    at org.apache.jsp.demo1_jsp._jspService(demo1_jsp.java:1278)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:432)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:390)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:334)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:727)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:220)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
    at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:501)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:98)
    at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:950)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408)
    at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1040)
    at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:607)
    at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:313)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
    at java.lang.Thread.run(Thread.java:745)



my current configuration:

ubuntu version: Ubuntu 14.04.2 LTS
BBB version: BigBlueButton Server 0.9.0-beta (720)

Demo page: http://bbb.ahooke.com/
Check page: http://bp.ahooke.com/check/

this is set up on virtual server in ovh, 4GB ram, 2 cores.


Output from sudo bbb-conf --check :

BigBlueButton Server 0.9.0-beta (720)
                    Kernel version: 2.6.32-042stab103.6
                      Distribution: Ubuntu 14.04.2 LTS (64-bit)
                            Memory: 2048 MB

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
          Port test (tunnel): bbb.ahooke.com
                              Red5: bbb.ahooke.com
              useWebrtcIfAvailable: true

/opt/freeswitch/conf/sip_profiles/external.xml (FreeSWITCH)
                    websocket port: 5066
                    WebRTC enabled: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: bbb.ahooke.com
                              port: 80
                    bbb-client dir: /var/www/bigbluebutton

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties (bbb-web)
                      bbb-web host: bbb.ahooke.com

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: bbb.ahooke.com";

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: bbb.ahooke.com

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

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback host: bbb.ahooke.com


** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 176.31.165.174
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: bbb.ahooke.com";

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

# Warning: The API demos are installed and accessible from:
#
#    http://bbb.ahooke.com/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

# Warning: The client self check is installed and accessible from:
#
#    http://bbb.ahooke.com/check
#


Any idea what can cause that java error ?

regards,
Marcin





marboh

unread,
Apr 8, 2015, 3:22:33 AM4/8/15
to bigbluebu...@googlegroups.com
 one correction: there is 2GB of ram, not 4GB

Fred Dixon

unread,
Apr 8, 2015, 8:39:29 AM4/8/15
to bigbluebu...@googlegroups.com
Hi Marboh,

Did you get any errors on the install?

>  one correction: there is 2GB of ram, not 4GB

Can you setup BigBlueButton in 4GB of memory?

With only 2GB of memory its very likely that one of the processes for BigBlueButton is not running and causing the create/join calls from the demo page to fail.

Regards,... Fred
 

On Wed, Apr 8, 2015 at 3:22 AM, marboh <mboh...@gmail.com> wrote:
 one correction: there is 2GB of ram, not 4GB

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
BigBlueButton on twitter: @bigbluebutton

marboh

unread,
Apr 9, 2015, 2:09:17 AM4/9/15
to bigbluebu...@googlegroups.com
Didnt have errors on install and i already did Change the BigBlueButton Server's IP and Audio not working, also Using the API examples, I get a java.lang.NullPointerException when trying to join a room is giving proper xml file.

After upgrade to 4GB ram & server restart still got java error:
From bbb-conf --clean:


# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 176.31.165.174
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: bbb.ahooke.com";

Doing a restart of BigBlueButton and cleaning out all log files...
 * Stopping daemon monitor monit                                                                                 [ OK ]
 * Stopping Red5 Server red5                                                                                     [ OK ]
 * Stopping Tomcat servlet engine tomcat7                                                                        [ OK ]
Killing: 476
 * Stopping bbb-record-core

Cleaning Log Files ...
 * nginx is not running
 * Red5 Server is not running.
 * Tomcat servlet engine is not running.

1475 Backgrounding.
Waiting for FreeSWITCH to start: ...............
 * Starting Red5 Server red5                                                                                            
                                                                                                                 [ OK ]
 * Starting Tomcat servlet engine tomcat7                                                                        [ OK ]
 * Starting daemon monitor monit                                                                                 [ OK ]

Note: monit will automatically start bbb-record-core and LibreOffice within 60 seconds.

Waiting for BigBlueButton to finish starting up (this may take a minute): .................. done



** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 176.31.165.174
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: bbb.ahooke.com";

# Warning: The API demos are installed and accessible from:
#
#    http://bbb.ahooke.com/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

# Warning: The client self check is installed and accessible from:
#
#    http://bbb.ahooke.com/check
#



From bbb-conf --check:


BigBlueButton Server 0.9.0-beta (720)
                    Kernel version: 2.6.32-042stab103.6
                      Distribution: Ubuntu 14.04.2 LTS (64-bit)
                            Memory: 4096 MB
# Warning: The API demos are installed and accessible from:
#
#    http://bbb.ahooke.com/
#
# These API demos allow anyone to access your server without authentication
# to create/manage meetings and recordings. They are for testing purposes only.
# If you are running a production system, remove them by running:
#
#    sudo apt-get purge bbb-demo

# Warning: The client self check is installed and accessible from:
#
#    http://bbb.ahooke.com/check






W dniu środa, 8 kwietnia 2015 14:39:29 UTC+2 użytkownik Fred Dixon napisał:
Hi Marboh,

Did you get any errors on the install?

>  one correction: there is 2GB of ram, not 4GB

Can you setup BigBlueButton in 4GB of memory?

With only 2GB of memory its very likely that one of the processes for BigBlueButton is not running and causing the create/join calls from the demo page to fail.

Regards,... Fred
 
On Wed, Apr 8, 2015 at 3:22 AM, marboh <mboh...@gmail.com> wrote:
 one correction: there is 2GB of ram, not 4GB

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-setup+unsub...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

marboh

unread,
Apr 9, 2015, 8:07:24 AM4/9/15
to bigbluebu...@googlegroups.com

Thanks to Fred Dixon my BigBlueButton is working as intended, there was some problem with demo app - maybe because i did have only 2GB of ram when i was installing it.

Anyway, thanks for help :)
 

Richard Alam

unread,
Apr 9, 2015, 2:22:24 PM4/9/15
to bigbluebu...@googlegroups.com
                                                                                                      ^
You have a typo (extra double-quote) in your domain. -------------------------|
 
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.

To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.

김동웅

unread,
Oct 19, 2015, 2:57:56 AM10/19/15
to BigBlueButton-Setup
hi marboh.

i have a question... 

how to change your ip address?

just sudo bbb-conf --setip command??

or more ? 

thank you

Fred Dixon

unread,
Oct 19, 2015, 8:14:39 AM10/19/15
to bigbluebu...@googlegroups.com
Hi 김동웅,

In the future, please post new questions in a new thread.  On an unmodified install of BigBlueButton, you can change the IP address with the following command


Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-Setup" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-s...@googlegroups.com.
To post to this group, send email to bigbluebu...@googlegroups.com.
Visit this group at http://groups.google.com/group/bigbluebutton-setup.
For more options, visit https://groups.google.com/d/optout.



--
BigBlueButton Developer
@bigbluebutton
Reply all
Reply to author
Forward
0 new messages