status code 500 java.lang.NullPointerException

387 views
Skip to first unread message

Kevin Kern

unread,
Jun 29, 2017, 1:10:30 PM6/29/17
to bigbluebutton-users
So I started by shutting down the server to add a cdrom drive (vmware) to install vmware tools. Half way through the tools install, I ran out of disk space. I cleaned up space by moving off web log files from /var/log/bigbluebutton. Then after a reboot, I get the following after logging into a session. Any help would be appreciated as this is my prod server and I'm already hearing it from staff:)


An Error has occured:

Status Code 500
Exception Type null
Message null
Exception
java.lang.NullPointerException
	at org.apache.jsp.demo10_jsp.getJoinURL(demo10_jsp.java:223)
	at org.apache.jsp.demo10_jsp._jspService(demo10_jsp.java:1454)
	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:1041)
	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)
Root Cause

Header List
Name Value
x-forwarded-for 10.123.2.139
host 127.0.0.1:8080
connection close
user-agent Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:52.0) Gecko/20100101 Firefox/52.0
accept text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
accept-language en-US,en;q=0.5
accept-encoding gzip, deflate
referer http://webcast5.danet.wi/
cookie JSESSIONID=484CD43B2CBA071C2F5CBD411902C8A3
dnt 1
upgrade-insecure-requests 1
Attribute List
javax.servlet.forward.request_uri /demo/demo10.jsp
javax.servlet.forward.context_path /demo
javax.servlet.forward.servlet_path /demo10.jsp
javax.servlet.forward.query_string meta_email=kevin&meetingID=DAIT&action=create
javax.servlet.jsp.jspException java.lang.NullPointerException
javax.servlet.error.status_code 500
javax.servlet.error.servlet_name jsp
javax.servlet.error.exception java.lang.NullPointerException
javax.servlet.error.request_uri /demo/demo10.jsp

Fred Dixon

unread,
Jun 29, 2017, 1:16:26 PM6/29/17
to BigBlueButton-users
Hi Kevin,

Try the command

   sudo bbb-conf --check

to check the BigBlueButton configuration for errors.  Post the output to bigbluebutton-setup 


for further help.

Regards,... Fred


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



--
BigBlueButton Developer
@bigbluebutton

Kevin Kern

unread,
Jun 29, 2017, 1:21:34 PM6/29/17
to bigbluebu...@googlegroups.com

Welcome to Ubuntu 14.04.3 LTS (GNU/Linux 3.16.0-49-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Thu Jun 29 11:48:52 CDT 2017

  System load:  0.0                Processes:           95
  Usage of /:   91.1% of 11.43GB   Users logged in:     0
  Memory usage: 21%                IP address for eth0: 10.123.1.61
  Swap usage:   0%

  => / is using 91.1% of 11.43GB

 
Last login: Thu Jun 29 11:48:52 2017
webcast@webcast5:~$ sudo bbb-conf --check
[sudo] password for webcast:

BigBlueButton Server 0.9.1 (396)
                    Kernel version: 3.16.0-49-generic
                      Distribution: Ubuntu 14.04.3 LTS (64-bit)
                            Memory: 3953 MB

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

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

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

/var/lib/tomcat7/webapps/bigbluebutton/WEB-INF/classes/bigbluebutton.properties                                                                              (bbb-web)
                      bbb-web host: webcast5.danet.wi

/var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp (API demos)
                           api url: webcast5.danet.wi

/var/www/bigbluebutton/check/conf/config.xml (client check)
                      client check: webcast5.danet.wi

/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: webcast5.danet.wi


** Potential problems described below **
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 10.123.1.61
#  /var/lib/tomcat7/webapps/demo/bbb_api_conf.jsp: webcast5.danet.wi

# Not Running:  redis-server
# Warning: The API demos are installed and accessible from:
#
#    http://webcast5.danet.wi/
#
# 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://webcast5.danet.wi/check
#

webcast@webcast5:~$


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-users+unsubscribe...@googlegroups.com.

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



--
BigBlueButton Developer
@bigbluebutton

--
You received this message because you are subscribed to a topic in the Google Groups "bigbluebutton-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/bigbluebutton-users/eU8eqqk3Ulc/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsub...@googlegroups.com.

Fred Dixon

unread,
Jun 29, 2017, 1:23:23 PM6/29/17
to BigBlueButton-users
Hi Kevin,

> # Not Running:  redis-server

Can you post the output of the command

  journalctl -u redis-server

Regards,.. Fred


To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsubscribe...@googlegroups.com.

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

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

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

Kevin Kern

unread,
Jun 29, 2017, 1:25:10 PM6/29/17
to bigbluebu...@googlegroups.com
It can't find that command.

To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsub...@googlegroups.com.

Fred Dixon

unread,
Jun 29, 2017, 3:33:56 PM6/29/17
to BigBlueButton-users
Hi Kevin,

My appologies -- realized you are running a older version of BigBlueButton.

>  BigBlueButton Server 0.9.1 (396)

Take a look at the file

  /var/log/redis/redis-server.log

to see if there are clues as to why it's not starting up.


Also, we recommend you look at upgrading to BigBlueButton 1.1, see


as it's much further along than 0.9.1 (which was released on June 29, 2015 -- almost two years ago).  Since then, we've had two major release.


Regards,.. Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-users+unsub...@googlegroups.com.

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

Kevin Kern

unread,
Jun 29, 2017, 3:38:34 PM6/29/17
to bigbluebu...@googlegroups.com
I am limited in my Ubuntu experience and I'm the best one here to do it unfortunately. I'll look at that log file and see what pops up.

To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsub...@googlegroups.com.

Kevin Kern

unread,
Jun 29, 2017, 3:44:29 PM6/29/17
to bigbluebu...@googlegroups.com
[1047] 29 Jun 11:15:37.355 # Server started, Redis version 2.8.4
[1047] 29 Jun 11:15:37.355 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
[1047] 29 Jun 11:15:37.390 # Short read or OOM loading DB. Unrecoverable error, aborting now.
[1053] 29 Jun 11:36:03.514 # Unable to set the max number of files limit to 10032 (Operation not permitted), setting the max clients configuration to 3984.




Does this make sense to you?

To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsubscribe...@googlegroups.com.

Fred Dixon

unread,
Jun 29, 2017, 3:46:47 PM6/29/17
to BigBlueButton-users
Hi Kevin,

It looks like your redis database is corrupt.  Do the following command

 sudo mv /var/lib/redis/dump.rdb /var/lib/redis/dump.rdb_old

and try restarting redis again. 


Regards,... Fred

To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-users+unsub...@googlegroups.com.

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

Kevin Kern

unread,
Jun 29, 2017, 3:58:30 PM6/29/17
to bigbluebu...@googlegroups.com
I shouldn't have to change any config files after rebuilding the redis db, right?

To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsub...@googlegroups.com.

Fred Dixon

unread,
Jun 29, 2017, 4:00:39 PM6/29/17
to BigBlueButton-users
Hi Kevin,

Redis mostly contains the meeting events of past meetings.  These events are extracted to create recordings.  At worst, you may loose recordings for any meetings that were in progress but not yet had their events written.

> I shouldn't have to change any config files after rebuilding the redis db, right?

None. Just rename the file and try restarting BigBlueButton.

Regards,... Fred


To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-users+unsub...@googlegroups.com.

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

Kevin Kern

unread,
Jun 29, 2017, 4:06:56 PM6/29/17
to bigbluebu...@googlegroups.com
Thank you so much. I am able to log in again. I think I am good but will continue testing. You are a life saver.

To unsubscribe from this group and all its topics, send an email to bigbluebutton-users+unsub...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages