You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@clerezza.apache.org by "Henry Story (JIRA)" <ji...@apache.org> on 2011/01/07 21:23:46 UTC

[jira] Reopened: (CLEREZZA-387) Login problem: Invalid byte 2 of 2-byte UTF-8 sequence.

     [ https://issues.apache.org/jira/browse/CLEREZZA-387?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henry Story reopened CLEREZZA-387:
----------------------------------


setting the encoding to UTF-8 is a workaround. It should be further investigated why it is necessary to set the encoding. An explicit encoding must be missing somewhere....

> Login problem: Invalid byte 2 of 2-byte UTF-8 sequence.
> -------------------------------------------------------
>
>                 Key: CLEREZZA-387
>                 URL: https://issues.apache.org/jira/browse/CLEREZZA-387
>             Project: Clerezza
>          Issue Type: Bug
>         Environment: OSX, revision 1055072
>            Reporter: Henry Story
>
> After uploading the latest changes, rebuilding all changed projects, and rebuilding the storageless launcher then the sesame lauchner, I start Clerezza with 
> java -Xmx512m -XX:MaxPermSize=248M -jar org.apache.clerezza.platform.launcher.sesame-0.5-incubating-SNAPSHOT.jar --https_keystore_clientauth want  --https_port 8443 --https_keystore_path /Users/hjs/tmp/cert/KEYSTORE.jks --https_keystore_password secret
> When I go to 
> http://localhost:8080/dashboard/overview#
> and click on "Login:" I end up at
> http://localhost:8080/login?referer=http%3A%2F%2Flocalhost%3A8080%2Fdashboard%2Foverview%23
> with the message
> [[
> HTTP ERROR: 500
> Problem accessing /login. Reason:
>     org.wymiwyg.wrhapi.HandlerException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
> Powered by Jetty://
> ]]
> The logs show:
> [[
> Caused by: org.wymiwyg.wrhapi.HandlerException: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
> 	at org.apache.clerezza.triaxrs.JaxRsHandler.handleException(JaxRsHandler.java:592)
> 	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:340)
> 	... 29 more
> Caused by: com.sun.org.apache.xerces.internal.impl.io.MalformedByteSequenceException: Invalid byte 2 of 2-byte UTF-8 sequence.
> 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.invalidByte(UTF8Reader.java:684)
> 	at com.sun.org.apache.xerces.internal.impl.io.UTF8Reader.read(UTF8Reader.java:369)
> 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.load(XMLEntityScanner.java:1742)
> 	at com.sun.org.apache.xerces.internal.impl.XMLEntityScanner.peekChar(XMLEntityScanner.java:487)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(XMLDocumentFragmentScannerImpl.java:2687)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(XMLDocumentScannerImpl.java:648)
> 	at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(XMLNSDocumentScannerImpl.java:140)
> 	at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:511)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:808)
> 	at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
> 	at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:119)
> 	at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(DOMParser.java:235)
> 	at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(DocumentBuilderImpl.java:284)
> 	at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:124)
> 	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:168)
> 	at org.apache.clerezza.platform.typerendering.GenericGraphNodeMBW.writeTo(GenericGraphNodeMBW.java:76)
> 	at org.apache.clerezza.triaxrs.ResponseProcessor$1.writeTo(ResponseProcessor.java:333)
> 	... 29 more
> ]]

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.