Menu

#36 Results view does not display anything?

open
nobody
None
5
2004-11-30
2004-11-30
Anonymous
No

I have installed and configured hibernator 0.9.6 just
fine on Eclipse:
Version: 3.1.0
Build id: 200409240800

When I run a valid query (one that I am using
successfully at runtime) i dont get any errors but my
results view is empty?

I already saw the post of a very similar bug that
someone was having the same problem and I dont think it
is a lazy-loading problem.

Any suggestions?

Discussion

  • Noel E. Lecaros

    Noel E. Lecaros - 2004-12-03

    Logged In: YES
    user_id=181257

    The cglib-asm.jar that comes packaged with Hibernator does
    not contain the class net.sf.cglib.core.KeyFactory, which is
    being loaded when a query is issued, causing Hibernator to
    throw a NoClassDefFoundError. You can see this happen if you
    run Hibernator as a runtime workbench application in the plugin
    development environment.

    Download the full version of cglib that has this class and
    substitute it for cglib-asm.jar. Then, edit plugin.xml to reflect
    the name of the jar file you substituted, and try again.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi ,
    I have replace the cglib-asm.jar with cglib-full-2.0.1.jar but
    still I am not able to view the results.

     
  • Nobody/Anonymous

    Logged In: NO

    Hi ,
    I have replace the cglib-asm.jar with cglib-full-2.0.1.jar but
    still I am not able to view the results too.

     
  • Kuwe

    Kuwe - 2005-02-04

    Logged In: YES
    user_id=1212025

    Hi everybody, hi sponks,

    I have a similar problem and have also tried sponks hint.
    The problem still appears although I have added the
    cglib-1.1-RC1.jar to the classpath in plugin.xml.

    I have some further information on that bug (?):
    running easy queries via the 'Query View' Window of the
    plugin result in empty output in the 'Result View'.
    Empty? Yes and no. Actually no data is displayed but the
    rows of the results exist!
    An empty table is displayed with a number of rows matching
    the expected output. Each row seems to have only one cell.
    Also, in case of a wrong query, errors are shown.

    I use MySQL, the latest Hibernate Version (096) and Eclipse 213.

    Any help would be appreciated.
    Gru
    Kuwe

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.