gora-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lewis John McGibbney (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (GORA-172) java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery
Date Tue, 06 Nov 2012 22:46:13 GMT

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

Lewis John McGibbney commented on GORA-172:
-------------------------------------------

If we can determine a cause of the CNF Exception then we can add tests. 
                
> java.lang.ClassNotFoundException: org.apache.gora.memory.store.MemStore.MemQuery
> --------------------------------------------------------------------------------
>
>                 Key: GORA-172
>                 URL: https://issues.apache.org/jira/browse/GORA-172
>             Project: Apache Gora
>          Issue Type: Bug
>          Components: gora-core
>    Affects Versions: 0.2.1
>            Reporter: Mike Baranczak
>             Fix For: 0.3
>
>         Attachments: GORA-172.patch
>
>
> Caused by: java.io.IOException: java.lang.ClassNotFoundException: Failed to load classorg.apache.gora.memory.store.MemStore.MemQuery
> 	at org.apache.gora.util.IOUtils.loadFromConf(IOUtils.java:483)
> 	at org.apache.gora.mapreduce.GoraInputFormat.getQuery(GoraInputFormat.java:125)
> 	at org.apache.gora.mapreduce.GoraInputFormat.setConf(GoraInputFormat.java:112)
> 	... 47 more
> Caused by: java.lang.ClassNotFoundException: Failed to load classorg.apache.gora.memory.store.MemStore.MemQuery
> 	at org.apache.gora.util.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:41)
> 	at org.apache.gora.util.ClassLoadingUtils.loadClass(ClassLoadingUtils.java:19)
> 	at org.apache.gora.util.IOUtils.loadFromConf(IOUtils.java:480)
> 	... 49 more
> It seems that IOUtils mangles the name of this static inner class (should be: MemStore$MemQuery).
This bug was described two years ago on the mailing list - the guy even described how to fix
it:
> http://mail-archives.apache.org/mod_mbox/gora-dev/201011.mbox/%3CAANLkTik6Ne18wSWvFzxNCgGWTgC_F1sZmt6U221Ldnuj@mail.gmail.com%3E

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message