Broken links in the grammar's kitchen

Poster Content
nk4um Moderator
Posts: 755
June 16, 2010 16:25Fix on the repositories
Update to get the fix.
nk4um Moderator
Posts: 485
June 16, 2010 15:21
Hi Gregoire, thank you for reporting this. We put an update into the last release to support passing request query strings on the identifier. It seems this broke when newlines where in the identifier because the regular expression we used didn''t like the newlines.

We have this fixed and it will be out in the next set of updates hopefully friday.

Cheers, Tony
nk4um User
Posts: 111
June 16, 2010 13:56Broken links in the grammar's kitchen
Hi,

Since latest update, the links at the bottom of the "Grammar''s kitchen" are broken. For example, the "Simple REST path grammar" raises an exception:

<ex>
<ex>
  <id>org.netkernel.layer0.nkf.NKFException</id>
</ex>
<ex>
  <id>RequestFrameException</id>
  <request>SOURCE http://localhost:1060/tools/grammar?parse=1&identifier=1%2F2&grammar=%3Cgrammar%3E%0D%0A%3Cgroup+name%3D%22all%22%3E%0D%0A%3Coptional%3E%2F%3C%2Foptional%3E%0D%0A%3Cgroup+name%3D%22path1%22%3E%0D%0A%3Cregex+type%3D%22alphanum%22%2F%3E%0D%0A%3C%2Fgroup%3E%0D%0A%2F%0D%0A%3Cgroup+name%3D%22path2%22%3E%0D%0A%3Cregex+type%3D%22alphanum%22%2F%3E%0D%0A%3C%2Fgroup%3E%0D%0A%3C%2Fgroup%3E%0D%0A%3C%2Fgrammar%3E as Object</request>
</ex>
<ex>
  <id>SubrequestException</id>
  <space>Fulcrum / Backend /rootspace</space>
  <endpointId>ep:5E5VEI-71LN8X</endpointId>
  <endpoint>HTTPBridgeOverlay</endpoint>
  <ex>
   <id>java.lang.StringIndexOutOfBoundsException</id>
   <message>String index out of range: 403</message>
   <stack>
    <level>java.lang.String.charAt() line:686</level>
    <level>org.netkernel.layer0.util.Utils.decode() line:167</level>
    <level>org.netkernel.http.transport.HTTPBridgeOverlayConfig.onRequest() line:144</level>
    <level>org.netkernel.module.standard.endpoint.ConfiguredOverlayImpl.onRequest() line:191</level>
    <level>org.netkernel.layer0.nkf.impl.NKFEndpointImpl.onAsyncRequest() line:93</level>
    <level>... 15 more</level>
   </stack>
  </ex>
</ex>
</ex>


Regards,
Gregoire