List:Cluster« Previous MessageNext Message »
From:Craig L Russell Date:September 27 2013 10:25pm
Subject:Re: Error when running clusterj
View as plain text  
Hi Micah,

What version of cluster are you running?

Craig

On Sep 27, 2013, at 2:54 PM, Micah Meckstroth wrote:

> Hi Craig,
> 
> Wow, thanks for the quick reply.  Sure, here is the stack trace.   We have 12 threads
> running simultaneously.  The first thread gets the charset issue and then every other
> thread can't find the Class, which makes sense since it couldn't initialize the class.
> 
> -Micah
> 
> Starting argus-statedb-api: Exception in thread "queryThread 3 of 12: statedb-d03"
> java.lang.ExceptionInInitializerError
>         at com.mysql.clusterj.tie.ColumnImpl.<clinit>(ColumnImpl.java:48)
>         at com.mysql.clusterj.tie.TableImpl.<init>(TableImpl.java:103)
>         at com.mysql.clusterj.tie.DictionaryImpl.getTable(DictionaryImpl.java:61)
>         at
> com.mysql.clusterj.core.metadata.AbstractDomainTypeHandlerImpl.getTable(AbstractDomainTypeHandlerImpl.java:331)
>         at
> com.mysql.clusterj.core.metadata.DomainTypeHandlerImpl.<init>(DomainTypeHandlerImpl.java:111)
>         at
> com.mysql.clusterj.core.metadata.DomainTypeHandlerFactoryImpl.createDomainTypeHandler(DomainTypeHandlerFactoryImpl.java:77)
>         at
> com.mysql.clusterj.core.SessionFactoryImpl.getDomainTypeHandler(SessionFactoryImpl.java:218)
>         at
> com.mysql.clusterj.core.SessionImpl.getDomainTypeHandler(SessionImpl.java:1044)
>         at
> com.mysql.clusterj.core.query.QueryBuilderImpl.createQueryDefinition(QueryBuilderImpl.java:43)
>         at
> com.mysql.clusterj.core.query.QueryBuilderImpl.createQueryDefinition(QueryBuilderImpl.java:25)
>         at
> com.aol.argus.statedb.api.StateDBSession.runQuery(StateDBSession.java:124)
>         at
> com.aol.argus.statedb.api.StateDBQueryEngine$QueryThread.run(StateDBQueryEngine.java:138)
>         at java.lang.Thread.run(Thread.java:662)
> Caused by: com.mysql.clusterj.ClusterJFatalInternalException: Error decoding
> characters, bad charset: character set number 5.
>         at com.mysql.clusterj.tie.Utility.decode(Utility.java:1325)
>         at
> com.mysql.clusterj.tie.Utility$SingleByteCharsetConverter.<init>(Utility.java:1634)
>         at com.mysql.clusterj.tie.Utility.addCollation(Utility.java:1462)
>         at com.mysql.clusterj.tie.Utility.<clinit>(Utility.java:173)
>         ... 13 more
> Exception in thread "queryThread 4 of 12: statedb-d04"
> java.lang.NoClassDefFoundError: Could not initialize class
> com.mysql.clusterj.tie.ColumnImpl
>         at com.mysql.clusterj.tie.TableImpl.<init>(TableImpl.java:103)
>         at com.mysql.clusterj.tie.DictionaryImpl.getTable(DictionaryImpl.java:61)
>         at
> com.mysql.clusterj.core.metadata.AbstractDomainTypeHandlerImpl.getTable(AbstractDomainTypeHandlerImpl.java:331)
>         at
> com.mysql.clusterj.core.metadata.DomainTypeHandlerImpl.<init>(DomainTypeHandlerImpl.java:111)
>         at
> com.mysql.clusterj.core.metadata.DomainTypeHandlerFactoryImpl.createDomainTypeHandler(DomainTypeHandlerFactoryImpl.java:77)
>         at
> com.mysql.clusterj.core.SessionFactoryImpl.getDomainTypeHandler(SessionFactoryImpl.java:218)
>         at
> com.mysql.clusterj.core.SessionImpl.getDomainTypeHandler(SessionImpl.java:1044)
>         at
> com.mysql.clusterj.core.query.QueryBuilderImpl.createQueryDefinition(QueryBuilderImpl.java:43)
>         at
> com.mysql.clusterj.core.query.QueryBuilderImpl.createQueryDefinition(QueryBuilderImpl.java:25)
>         at
> com.aol.argus.statedb.api.StateDBSession.runQuery(StateDBSession.java:124)
>         at
> com.aol.argus.statedb.api.StateDBQueryEngine$QueryThread.run(StateDBQueryEngine.java:138)
>         at java.lang.Thread.run(Thread.java:662)
> 
> 
> 
> On Fri, Sep 27, 2013 at 5:49 PM, Craig L Russell <craig.russell@stripped>
> wrote:
> Hi,
> 
> Can you tell us what version of cluster you are running on?
> 
> Can you provide the stack trace you get when the failure occurs?
> 
> The original report two years ago [1] showed a charset issue.
> 
> Thanks,
> 
> Craig
> 
> [1] Caused by: com.mysql.clusterj.ClusterJFatalInternalException: Error
> decoding characters, bad charset: character set number 5.
>         at com.mysql.clusterj.tie.Utility.decode(Utility.java:1362)
>         at
>
> com.mysql.clusterj.tie.Utility$SingleByteCharsetConverter.<init>(Utility.java:1671)
>         at com.mysql.clusterj.tie.Utility.addCollation(Utility.java:1499)
>         at com.mysql.clusterj.tie.Utility.<clinit>(Utility.java:175)
>         ... 11 more
> 
> 
> On Sep 27, 2013, at 2:34 PM, Micah wrote:
> 
> > I got the same issue.  We have been running this in
> > production for a while and it worked fine, but now
> > we are trying to move it to the same host as the
> > cluster runs on and got this error.  Maybe this
> > only occurs when you run it on the same host.
> > Unfortunately, I have not a workaround or been able to
> > dig up the code for this to try and debug why it's doing this.
> >
> > --
> > MySQL Cluster Mailing List
> > For list archives: http://lists.mysql.com/cluster
> > To unsubscribe:    http://lists.mysql.com/cluster
> >
> 
> Craig L Russell
> Architect, Oracle
> http://db.apache.org/jdo
> 408 276-5638 mailto:Craig.Russell@stripped
> P.S. A good JDO? O, Gasp!
> 
> 

Craig L Russell
Architect, Oracle
http://db.apache.org/jdo
408 276-5638 mailto:Craig.Russell@stripped
P.S. A good JDO? O, Gasp!


Thread
Error when running clusterjMariano Vall├ęs1 Oct
  • Re: Error when running clusterjMicah27 Sep
    • Re: Error when running clusterjCraig L Russell27 Sep
Re: Error when running clusterjCraig L Russell27 Sep