java.lang.NullPointerException at org.apache.jsp.demoHTML5_jsp.getJoinURLExtended(demoHTML5_jsp.java:259) at org.apache.jsp.demoHTML5_jsp._jspService(demoHTML5_jsp.java:1257) at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)

1,263 views
Skip to first unread message

Roger

unread,
Jul 1, 2019, 1:16:03 PM7/1/19
to BigBlueButton-dev
So far I have been able to run and login to the BBB HTML5 page, but I have been working on fixing this error on my laptop computer:

Error 1020: media cloud not reach the serve

When I research the issue I've found this site:


But this post doesn't have any clear solution from what can see and mainly they talk about BBB running on cellphones.

So what I did was try to reinstall BBB using these commands:

rmoore@Annapurna:~/Tools$ sudo apt-get install -y bbb-html5

And as root:

# wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220-beta

Also, when I try to login using the demoHTML5 I get these errors:


An Error has occured:

Status Code500
Exception Typenull
Messagenull
Exception
java.lang.NullPointerException
	at org.apache.jsp.demoHTML5_jsp.getJoinURLExtended(demoHTML5_jsp.java:259)
	at org.apache.jsp.demoHTML5_jsp._jspService(demoHTML5_jsp.java:1257)
	at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:439)
	at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:400)
	at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:344)
	at javax.servlet.http.HttpServlet.service(HttpServlet.java:731)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)
	at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:241)
	at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:208)
	at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:221)
	at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:122)
	at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:505)
	at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:169)
	at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
	at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:956)
	at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:116)
	at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:436)
	at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1078)
	at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:625)
	at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(JIoEndpoint.java:316)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
	at org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)
	at java.lang.Thread.run(Thread.java:748)
Root Cause

Header List
NameValue
x-forwarded-for68.145.70.223
host127.0.0.1:8080
connectionclose
upgrade-insecure-requests1
user-agentMozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.100 Safari/537.36
accepttext/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8,application/signed-exchange;v=b3
refererhttps://tuberedu.ca/
accept-encodinggzip, deflate, br
accept-languageen-US,en;q=0.9
cookieJSESSIONID=2BC8AA93E60FA245DC5DA961A26FA093; JSESSIONID=CDEE1B2D94CD640D60E19DB81AD0C439
Attribute List
javax.servlet.forward.request_uri/demo/demoHTML5.jsp
javax.servlet.forward.context_path/demo
javax.servlet.forward.servlet_path/demoHTML5.jsp
javax.servlet.forward.query_stringusername=Roger&isModerator=true&action=create
javax.servlet.error.status_code500
javax.servlet.jsp.jspExceptionjava.lang.NullPointerException
javax.servlet.error.request_uri/demo/demoHTML5.jsp
javax.servlet.error.servlet_namejsp
javax.servlet.error.exceptionjava.lang.NullPointerException

What do you suggest?  TIA.

Fred Dixon

unread,
Jul 1, 2019, 4:11:13 PM7/1/19
to BigBlueButton-dev
H Roger,


> wget -qO- https://ubuntu.bigbluebutton.org/bbb-install.sh | bash -s -- -v xenial-220-beta


Do you have a fully qualified domain name (FQDN), such as bbb.example.com, that resolves to the external IP address of your server?  If so, try the command

  ./bbb-install.sh -v xenial-220-beta -s bbb.example.com -e in...@example.com -t 

where you substitute `bbb.example.com` for your FQDN and `in...@example.com` for your e-mail address.  This will configure your server with a TLS/SSL certificate form Let's Encrypt and enable nginx to server pages via HTTPS.  After that, configure your sever so it only loads the HTML5 client, see


All browsers (including FireFox) now require the page to be loaded from HTTPS before allowing access to your webcam or microphone.  Try the above and let us know if it gets you going.


Regards,... Fred

--
You received this message because you are subscribed to the Google Groups "BigBlueButton-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bigbluebutton-...@googlegroups.com.
To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.
To view this discussion on the web visit https://groups.google.com/d/msgid/bigbluebutton-dev/263abbde-e4e7-40a6-a1ad-f9b7b2b75191%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


--
BigBlueButton Developer
@bigbluebutton

Roger Moore

unread,
Jul 3, 2019, 10:10:51 AM7/3/19
to bigblueb...@googlegroups.com
Thank you for the quick response, Fred.  Please note that I had already setup tuberedu.ca to use SSL, and now I have just set it up to use HTML5 by default.  That said, I'm still getting the error 1020: media could not reach the server.  What do you suggest?

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

To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.

Chad Pilkey

unread,
Jul 3, 2019, 1:12:17 PM7/3/19
to BigBlueButton-dev
Can you post the output of "bbb-conf --check" please.
To unsubscribe from this group and stop receiving emails from it, send an email to bigblueb...@googlegroups.com.


--
BigBlueButton Developer
@bigbluebutton

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

Roger Moore

unread,
Jul 4, 2019, 12:13:14 AM7/4/19
to bigblueb...@googlegroups.com
Okay, I had done this before but don't remember seeing that html5 inactive message earlier:

rmoore@Annapurna:~/dev/bigbluebutton/bigbluebutton-html5$ sudo bbb-conf --check

BigBlueButton Server 2.2.0-beta-12 (1212)
                    Kernel version: 4.4.0-87-generic
                      Distribution: Ubuntu 16.04.6 LTS (64-bit)
                            Memory: 8164 MB
                         CPU cores: 8

/usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties (bbb-web)
       bigbluebutton.web.serverURL: https://tuberedu.ca
                defaultGuestPolicy: ALWAYS_ACCEPT
                 svgImagesRequired: true

/etc/nginx/sites-available/bigbluebutton (nginx)
                       server name: tuberedu.ca
                              port: 80, [::]:80
                              port: 443 ssl
                    bbb-client dir: /home/rmoore/dev/bigbluebutton/bigbluebutton-client

/var/www/bigbluebutton/client/conf/config.xml (bbb-client)
                Port test (tunnel): rtmp://tuberedu.ca
                              red5: tuberedu.ca
              useWebrtcIfAvailable: true

/opt/freeswitch/etc/freeswitch/vars.xml (FreeSWITCH)
                       local_ip_v4: 184.68.212.214
                   external_rtp_ip: stun:stun.freeswitch.org
                   external_sip_ip: stun:stun.freeswitch.org

/opt/freeswitch/etc/freeswitch/sip_profiles/external.xml (FreeSWITCH)
                        ext-rtp-ip: $${local_ip_v4}
                        ext-sip-ip: $${local_ip_v4}
                        ws-binding: :5066
                       wss-binding: 184.68.212.214:7443

/usr/local/bigbluebutton/core/scripts/bigbluebutton.yml (record and playback)
                     playback_host: tuberedu.ca
                 playback_protocol: https
                            ffmpeg: 4.1.3-0york1~16.04

/etc/bigbluebutton/nginx/sip.nginx (sip.nginx)
                        proxy_pass: 184.68.212.214

/usr/local/bigbluebutton/bbb-webrtc-sfu/config/default.yml (Kurento SFU)
                        kurento.ip: 184.68.212.214
                       kurento.url: ws://tuberedu.ca:8888/kurento
                    localIpAddress: 184.68.212.214
               recordScreenSharing: true
                     recordWebcams: true
                  codec_video_main: VP8
               codec_video_content: VP8

/usr/share/meteor/bundle/programs/server/assets/app/config/settings.yml (HTML5 client)
                             build: 568
                        kurentoUrl: wss://tuberedu.ca/bbb-webrtc-sfu
                  enableListenOnly: true


** Potential problems described below **
# The following properties in /usr/share/bbb-web/WEB-INF/classes/bigbluebutton.properties have no value:
#     defaultWelcomeMessageFooter
# Warning: API URL IPs do not match host:
#
#                                IP from ifconfig: 184.68.212.214
#  /var/lib/tomcat7/demo/bbb_api_conf.jsp: tuberedu.ca

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


# Warning: The API demos are installed and accessible from:
#
#    https://tuberedu.ca
#
# and
#
#    https://tuberedu.ca/demo/demo1.jsp
#
# 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:
#
#    apt-get purge bbb-demo

# Error: Detected some processes have not started correctly
#
#   bbb-html5 —————————————► [✘ - inactive]
#
rmoore@Annapurna:~/dev/bigbluebutton/bigbluebutton-html5$


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

To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.

Chad Pilkey

unread,
Jul 4, 2019, 12:30:07 AM7/4/19
to BigBlueButton-dev
Took a look because you had the demos installed and the error was in the browser console. You're running a development version of the HTML5 client and the settings.yml needs to have the kurento "wsUrl" set to "wss://tuberedu.ca/bbb-webrtc-sfu". Once it's updated, restart the client and it should work.
To unsubscribe from this group and all its topics, send an email to bigblueb...@googlegroups.com.

To post to this group, send email to bigblueb...@googlegroups.com.
Visit this group at https://groups.google.com/group/bigbluebutton-dev.

Fred Dixon

unread,
Jul 4, 2019, 10:49:21 PM7/4/19
to BigBlueButton-dev
Hi Roger,

What's the output of

  sudo bbb-conf --check


Regards,... Fred



For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages