This looks like a job for…. BLOGGING!

Alright ladies and germs, new problem! We’ve got some work done on the Polling module for BigBlueButton, it can save the polls we create to Redis, list and retrieve available polls for whatever room you’re in, and deletes them when it should. Now I’m trying to update calls to the various savePoll methods throughout the client-side code, but at least one of them must still be eluding me. The way it was done initially, the poll objects only tracked the title, question, answers, and multiplicity (whether the answers could be treated as radio buttons or a checklist); now they also have to track the votes for each answer, the room ID, and the timestamp. Unfortunately, after updating all the savePoll calls I could find, I still get this error message from the server terminal when I save a poll:

[INFO] [NioProcessor-3] org.red5.server.net.rtmp.codec.RTMPProtocolDecoder – Action poll.savePoll
[ERROR] [NioProcessor-3] org.red5.server.service.ServiceInvoker – Method savePoll with parameters [[Crosby, Olvetchkin], Won the gold?, Hockey, false] not found in org.bigbluebutton.conference.service.poll.PollService@b7141a

(In this case, my sample poll had the title “Hockey”, the question “Won the gold?”, the answers “Crosby” and “Olvetchkin”, and a value of false for multiplicity)

UPDATE: I think I found it, there was another savePoll call hiding in the PollManager that I’d overlooked, and it was trying to call the old version with 4 arguments.

UPDATE: Okay, that didn’t work, but I’m starting to think that the NetConnection call where the Polling Actionscript uses a Polling Java method is trying to find the Java method in the Actionscript file. Maybe I just have to give the NetConnection.call() a better path to the savePoll method I want it to use…

UPDATE: No, that can’t be it. What am I thinking? The logic never even gets to the call(), because the log messages that precede it in the savePoll method never execute. Now, where is this savePoll that I’m in currently called from?

UPDATE: This still doesn’t make sense. PollingEventMap.mxml tells the handleSavePollEvent to handle the act of a poll being saved, sensibly enough. It passes a SavePollEvent to the handleSavePollEvent in PollingManager.as, and then that calls savePoll in PollingService.as, using all the arguments. So why is it still telling me it can’t find a savePoll in PollingService with only four arguments? Nobody is ASKING for a savePoll in PollingService with only four arguments!

UPDATE: I’m a blockhead, I’ve been running the command to recompile the APPS, when it’s the CLIENT that I’ve made changes to. Way to go, Justin! Let’s see if it works after a CLIENT recompile.

Categories: BigBlueButton | Leave a comment

Post navigation

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Connecting to %s

Blog at WordPress.com. Theme: Adventure Journal by Contexture International.

Follow

Get every new post delivered to your Inbox.