Víctor A. Rodríguez wrote:
Hi all,
last week me made a migration from XWiki 0.9 to XWiki 1.1.2, and now we
re experiencing the next problem.
>From time to time the next exception is thrown :
09:55:24,604 WARN TP-Processor5
http://<server>/xwiki/bin/download/Panels/SyntaxHelp?id=0
XWikiAction:execute:183 - Uncaught exception: Error number 0 in 11:
Uncaught exception
Wrapped Exception: Index: 0, Size: 0
com.xpn.xwiki.XWikiException: Error number 0 in 11: Uncaught exception
Wrapped Exception: Index: 0, Size: 0
at com.xpn.xwiki.web.XWikiAction.execute(XWikiAction.java:163)
As I could see the
probem is with a missing attach, that I downloaded from www.xwiki.org
and uploaded in ur wiki. This was solved at the time that the previous
e-mail was sent, and my intention was to discover some erroneous
procedure or a bug.
As I can remember in our last week migration when importing the XAR
file from our old wiki none of the attachments appeared just they were
added to the attachments table in the database but with size zero.
I blamed this to the ImportExport plugin (code from 1.1.2) extracted
and inserted in XWiki 0.9, but as can be seen the same problem ocurred
when importing a 1.1 XAR into a XWiki 1.1, so I was obviously wrong.
Does anyone had the same problem ?? similar one ??
Any ideas on where can I take a look to avoid this in the future ??
I traced this to
the XWiki syntax Help panel that is shown when editing
in Wiki mode. The images sub-panel shows the syntax for including
images to a wiki page that looks like this :
{image: img.png} img.png
{image: img.png|30} img.png
{image: img.png| |20} img.png
{image: img.png|30|20} img.png
IMHO the img.png in
the right column will show img.png modified as shown in the left column
: default size, 30 pixels wit=dth, and so.
The code in http://<server>/xwiki/bin/view/Panels/SyntaxHelp
that
generates each of these lines looks like this :
<img src="$xwiki.getURL("Panels.SyntaxHelp", "download", "id=0")"
height="30" alt="img.png"/>
and my guess is that it fails because the img.png file isn't uploaded.
Am i right ??
Even if I call the page http://<server>/xwiki/bin/download/Panels/SyntaxHelp
from my browser a beautiful
"This
template dos not exists" error is shown.
have I missed something in the installation process ??
BTW, i tested the same URLs in xwiki.org and the template errors is
shown but calling to http://www.xwiki.org/xwiki/bin/download/Panels/SyntaxHelp?id=0 shows me a persons silouette.
Thanks in advance.
--
Víctor A. Rodríguez (http://www.bit-man.com.ar)
El bit Fantasma (Bit-Man) - Algorithm junkie
Perl Mongers Capital Federal (http://cafe.pm.org/)
GNU/Linux User Group - FCEyN - UBA (http://glugcen.dc.uba.ar/