[ 
https://issues.apache.org/jira/browse/GORA-189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14087414#comment-14087414
 ] 

Alfonso Nishikawa commented on GORA-189:
----------------------------------------

For your comments, reports, etc, it seems field 0 is mutating from ByteBuffer 
to String, and I only can see two points where that can happen:

{code}Preview#newInstance(){code}

and 

{code}Preview#clear(){code}

Did you called anyone of both before the point where you have the exception?

> Embrace all text-like parameters in generated Persistent subclasses by 
> Compiler CharSequence
> --------------------------------------------------------------------------------------------
>
>                 Key: GORA-189
>                 URL: https://issues.apache.org/jira/browse/GORA-189
>             Project: Apache Gora
>          Issue Type: Improvement
>          Components: gora-core
>    Affects Versions: 0.2.1
>            Reporter: Alfonso Nishikawa
>            Assignee: Lewis John McGibbney
>            Priority: Trivial
>             Fix For: 0.5
>
>         Attachments: GORA-189.patch, GORA-189v2.patch
>
>
> It would be much useful if gora compiler generates methods taking Strings as 
> parameters (and creating Utf8 inside automatically). Code would be much more 
> clear and simple when populating that classes.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to