Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

Benoit Maison
Hello,
I get a jsp error on my home page, and I noticed there is the same
problem in the sandbox:

http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink

Error number 4001 in 4: Error while parsing velocity page
Sandbox.notcamelcaselink Wrapped Exception: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
4, column 89. Encountered: "q" (113), after : "&"
<http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink>

Is it a known issue ?  A configuration problem ?  Should I report a bug ?
Thanks,
-Benoit



--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

jeremi joslin
Hi,
it's not a bug, it's an error in your velocity script. I fix it on the sandbox.
Can you post your script and your error?


Jérémi

On 2/14/06, Benoit Maison <[hidden email]> wrote:

> Hello,
> I get a jsp error on my home page, and I noticed there is the same
> problem in the sandbox:
>
> http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink
>
> Error number 4001 in 4: Error while parsing velocity page
> Sandbox.notcamelcaselink Wrapped Exception: Lexical error:
> org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
> 4, column 89. Encountered: "q" (113), after : "&"
> <http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink>
>
> Is it a known issue ?  A configuration problem ?  Should I report a bug ?
> Thanks,
> -Benoit

--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : [hidden email]


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

Benoit Maison
Thanks Jérémi.
Here is content:
--------------
1 Welcome to your Wiki

This is your wiki. You should modify this text to present what your wiki
is about !

1.1 News

#set($nbstart = $request.nbstart)
#set($category = &quot;&quot;)
#set($nbitems = &quot;10&quot;)
#includeMacros(&quot;Blog.Macros&quot;)
--------------
And here is the error:
--------------
Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
9, column 19. Encountered: "q" (113), after : "&"

Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 9, column 19.  Encountered: "q" (113), after : "&"
com.xpn.xwiki.XWikiException: Error number 4001 in 4: Error while parsing velocity page Main.WebHome
Wrapped Exception: Lexical error: org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line 9, column 19.  Encountered: "q" (113), after : "&"
        at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:131)
        at com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87)
        at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116)
        at com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93)
        at com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85)
        at com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:220)
        at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:151)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
        at org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
        at org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
        at org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
        at org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89)
        at org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
        at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
        at com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
        at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806)
        at com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87)
        at com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:219)
        at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
        at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
        at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
        at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
        at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
        at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
        at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
        at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
        at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
        at java.lang.Thread.run(Unknown Source)

Wrapped Exception:

org.apache.velocity.exception.ParseErrorException: Lexical error:
org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
9, column 19. Encountered: "q" (113), after : "&" at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:193)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.render(XWikiVelocityRenderer.java:87)
at
com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:116)
at
com.xpn.xwiki.render.XWikiRenderingEngine.renderText(XWikiRenderingEngine.java:93)
at
com.xpn.xwiki.render.XWikiRenderingEngine.renderDocument(XWikiRenderingEngine.java:85)
at
com.xpn.xwiki.doc.XWikiDocument.getRenderedContent(XWikiDocument.java:220)
at com.xpn.xwiki.api.Document.getRenderedContent(Document.java:151) at
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at
sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at
sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at
java.lang.reflect.Method.invoke(Unknown Source) at
org.apache.velocity.util.introspection.UberspectImpl$VelMethodImpl.invoke(UberspectImpl.java:267)
at
org.apache.velocity.runtime.parser.node.ASTMethod.execute(ASTMethod.java:197)
at
org.apache.velocity.runtime.parser.node.ASTReference.execute(ASTReference.java:175)
at
org.apache.velocity.runtime.parser.node.ASTReference.render(ASTReference.java:220)
at
org.apache.velocity.runtime.parser.node.ASTBlock.render(ASTBlock.java:55)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
org.apache.velocity.runtime.parser.node.ASTIfStatement.render(ASTIfStatement.java:89)
at
org.apache.velocity.runtime.parser.node.SimpleNode.render(SimpleNode.java:230)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:223)
at
com.xpn.xwiki.render.XWikiVelocityRenderer.evaluate(XWikiVelocityRenderer.java:125)
at com.xpn.xwiki.XWiki.parseTemplate(XWiki.java:806) at
com.xpn.xwiki.web.Utils.parseTemplate(Utils.java:87) at
com.xpn.xwiki.web.ViewEditAction.execute(ViewEditAction.java:219) at
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:421)
at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:226)
at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1164)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:802) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
com.xpn.xwiki.web.SetCharacterEncodingFilter.doFilter(SetCharacterEncodingFilter.java:127)
at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:667)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source)




--------------
jeremi joslin wrote:

> Hi,
> it's not a bug, it's an error in your velocity script. I fix it on the sandbox.
> Can you post your script and your error?
>
>
> Jérémi
>
> On 2/14/06, Benoit Maison <[hidden email]> wrote:
>  
>> Hello,
>> I get a jsp error on my home page, and I noticed there is the same
>> problem in the sandbox:
>>
>> http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink
>>
>> Error number 4001 in 4: Error while parsing velocity page
>> Sandbox.notcamelcaselink Wrapped Exception: Lexical error:
>> org.apache.velocity.runtime.parser.TokenMgrError: Lexical error at line
>> 4, column 89. Encountered: "q" (113), after : "&"
>> <http://www.xwiki.org/xwiki/bin/view/Sandbox/notcamelcaselink>
>>
>> Is it a known issue ?  A configuration problem ?  Should I report a bug ?
>> Thanks,
>> -Benoit
>>    
>
>
> --
> Blog: http://www.jeremi.info
> LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> http://www.xwiki.org
> skype: jeremi23 -- msn et gtalk : [hidden email]
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Benoit Maison
Alterface -- http://www.alterface.com
Phone: +32-10-480071  Fax: +32-10-480069




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

jeremi joslin
On 2/15/06, Benoit Maison <[hidden email]> wrote:

> Thanks Jérémi.
> Here is content:
> --------------
> 1 Welcome to your Wiki
>
> This is your wiki. You should modify this text to present what your wiki
> is about !
>
> 1.1 News
>
> #set($nbstart = $request.nbstart)
> #set($category = &quot;&quot;)
> #set($nbitems = &quot;10&quot;)
> #includeMacros(&quot;Blog.Macros&quot;)
> --------------

Ok
i got it. I think you have tried to edit the page with the wysiwyg.

replace in the page all &quot; by "

which version of the wysiwyg do you use?

Jérémi

--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : [hidden email]


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

Benoit Maison
version 0.9.840

jeremi joslin wrote:

> On 2/15/06, Benoit Maison <[hidden email]> wrote:
>  
>> Thanks Jérémi.
>> Here is content:
>> --------------
>> 1 Welcome to your Wiki
>>
>> This is your wiki. You should modify this text to present what your wiki
>> is about !
>>
>> 1.1 News
>>
>> #set($nbstart = $request.nbstart)
>> #set($category = &quot;&quot;)
>> #set($nbitems = &quot;10&quot;)
>> #includeMacros(&quot;Blog.Macros&quot;)
>> --------------
>>    
>
>
> Ok
> i got it. I think you have tried to edit the page with the wysiwyg.
>
> replace in the page all &quot; by "
>
> which version of the wysiwyg do you use?
>
> Jérémi
>
> --
> Blog: http://www.jeremi.info
> LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> http://www.xwiki.org
> skype: jeremi23 -- msn et gtalk : [hidden email]
>  
> ------------------------------------------------------------------------
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>  

--
Benoit Maison
Alterface -- http://www.alterface.com
Phone: +32-10-480071  Fax: +32-10-480069




--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
Reply | Threaded
Open this post in threaded view
|

Re: Error number 4001 in 4 ... Encountered: "q" (113), after : "&"

jeremi joslin
Ok,
Do you use the wysiwyg?
there is a new version of the wysiwyg, but not released yet.

Jérémi


On 2/15/06, Benoit Maison <[hidden email]> wrote:

> version 0.9.840
>
> jeremi joslin wrote:
> > On 2/15/06, Benoit Maison <[hidden email]> wrote:
> >
> >> Thanks Jérémi.
> >> Here is content:
> >> --------------
> >> 1 Welcome to your Wiki
> >>
> >> This is your wiki. You should modify this text to present what your wiki
> >> is about !
> >>
> >> 1.1 News
> >>
> >> #set($nbstart = $request.nbstart)
> >> #set($category = &quot;&quot;)
> >> #set($nbitems = &quot;10&quot;)
> >> #includeMacros(&quot;Blog.Macros&quot;)
> >> --------------
> >>
> >
> >
> > Ok
> > i got it. I think you have tried to edit the page with the wysiwyg.
> >
> > replace in the page all &quot; by "
> >
> > which version of the wysiwyg do you use?
> >
> > Jérémi
> >
> > --
> > Blog: http://www.jeremi.info
> > LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
> > http://www.xwiki.org
> > skype: jeremi23 -- msn et gtalk : [hidden email]
> >
> > ------------------------------------------------------------------------
> >
> >
> > --
> > You receive this message as a subscriber of the [hidden email] mailing list.
> > To unsubscribe: mailto:[hidden email]
> > For general help: mailto:[hidden email]?subject=help
> > ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
> >
>
>
> --
> Benoit Maison
> Alterface -- http://www.alterface.com
> Phone: +32-10-480071  Fax: +32-10-480069
>
>
>
>
>
> --
> You receive this message as a subscriber of the [hidden email] mailing list.
> To unsubscribe: mailto:[hidden email]
> For general help: mailto:[hidden email]?subject=help
> ObjectWeb mailing lists service home page: http://www.objectweb.org/wws
>
>
>

--
Blog: http://www.jeremi.info
LinkedIn: https://www.linkedin.com/profile?viewProfile=&key=1437724
http://www.xwiki.org
skype: jeremi23 -- msn et gtalk : [hidden email]


--
You receive this message as a subscriber of the [hidden email] mailing list.
To unsubscribe: mailto:[hidden email]
For general help: mailto:[hidden email]?subject=help
ObjectWeb mailing lists service home page: http://www.objectweb.org/wws