Firefox addon: XOWA Server send "Error" on any xowa: page
A free, open-source, offline Wikipedia application
Status: Beta
Brought to you by:
gnosygnu
When I use addon to open any site (e.g. xowa:home or xowa://en.wikipedia.org/wiki) instead seeing the site I see "Error".
Trying earlier versions I've noticed that the error has been occurred since v1.2.3.1 (I don't see this error in v1.2.2.1).
In details:
I send to XOWA server:
0|0000000080|0000000161|xowa.cmd.exec|msg_0|session_7|xowa_server||app.shell.fetch_page('home', 'html');
and I get this
0|0000000050|0000000101|xowa.cmd.result|msg_0|xowa_server|session_7||Error
In console I see (without license, arguments, etc.):
processing cmd: app.shell.fetch_page('home', 'html'); error while executing script: err= class java.lang.NullPointerException nul l <java.lang.NullPointerException> -------------------------------------------------------------------------------- sending rsp: bytes=5 rsp sent: elapsed=25f
Anonymous
Sorry for grammar errors but now after posting I can't fix them.
Sorry about that. I broke this with a late fix to v1.2.3.1 to handle certain URLs. Unfortunately it only affected a proc that XOWA Viewer calls.
I fixed this for v1.3.3 (which will be available this Sunday).
Let me know if you need it sooner.
Thanks for tracking down the version number. For your own sake, feel free to skip this in the future. It's fairly quick for me to find the bug if it's easily reproducible. I can only imagine how tedious it was to test the bug on each release.
No problem. I changed the permissions so that authenticated users can edit posts. Feel free to change as necessary.
Thanks again.