-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: AbstractMethodError with WASD
PostPosted: Wed Sep 17, 2003 6:58 am 
Newbie

Joined: Sun Sep 14, 2003 11:29 am
Posts: 1
i'm using Hibernate 2.1 beta 3

I see a java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.... at startup!

in fact :
Code:
java.lang.AbstractMethodError: net/sf/hibernate/persister/AbstractEntityPersister.getTableName
   at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:447)
   at net.sf.hibernate.loader.OuterJoinLoader.walkAssociationTree(OuterJoinLoader.java:183)
   at net.sf.hibernate.loader.OuterJoinLoader.walkClassTree(OuterJoinLoader.java:214)
   at net.sf.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:86)
   at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:53)
   at net.sf.hibernate.loader.AbstractEntityLoader.renderStatement(AbstractEntityLoader.java:40)
   at net.sf.hibernate.loader.EntityLoader.<init>(EntityLoader.java:35)
   at net.sf.hibernate.loader.EntityLoader.<init>(EntityLoader.java:26)
   at net.sf.hibernate.persister.AbstractEntityPersister.createEntityLoader(AbstractEntityPersister.java:859)
   at net.sf.hibernate.persister.EntityPersister.postInstantiate(EntityPersister.java:112)
   at net.sf.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:148)
   at net.sf.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:660)
   at InitialLoader.getFactory(InitialLoader.java:30)
   at ManyToOneUni2.runTest(ManyToOneUni2.java:32)
   at ManyToOneUni2.main(ManyToOneUni2.java:26)
Exception in thread "P=802434:O=0:CT"


the cause is that at runtime the class is an inner class that don't implement getTableName() from Joinable interface.

i know that's in FAQ but the solution in not really clear.

And i'm working with Websphere Studio Application Dev with the jdk of IBM (1.3 for websphere4) and not IntellJ or JBoss

when looking at the option of the jvm :

Code:
Usage: javaw [-options] class [args...]
           (to execute a class)
   or  javaw -jar [-options] jarfile [args...]
           (to execute a jar file)

where options include:
    -cp -classpath <directories and zip/jar files separated by ;>
              set search path for application classes and resources
    -D<name>=<value>
              set a system property
    -verbose[:class|gc|jni]
              enable verbose output
    -version  print product version
    -showversion  print product version and continue
    -? -help  print this help message
    -X        print help on non-standard options


the extended options are :

Code:
-Xbootclasspath:<directories and zip/jar files separated by ;>
                      set search path for bootstrap classes and resources
    -Xbootclasspath/a:<directories and zip/jar files separated by ;>
                      append to end of bootstrap class path
    -Xbootclasspath/p:<directories and zip/jar files separated by ;>
                      prepend in front of bootstrap class path
    -Xcheck:jni       perform additional checks for JNI functions
    -Xcheck:nabounds  perform additional checks for JNI array operations
    -Xdebug           enable remote debugging
    -Xfuture          enable strictest checks, anticipating future default
    -Xgcpolicy[:optthruput]|[:optavgpause]
                      control garbage collector behavior
    -Xms<size>        set initial Java heap size
    -Xmx<size>        set maximum Java heap size
    -Xnoagent         disable support for oldjdb debugger
    -Xnoclassgc       disable class garbage collection
    -Xoss<size>       set maximum Java stack size for any thread
    -Xquickstart      used for improving startup time of some Java applications
    -Xrs              reduce the use of OS signals
    -Xrunhprof[:help]|[:<option>=<value>, ...]
                      perform heap, cpu, or monitor profiling
    -Xrunjdwp[:help]|[:<option>=<value>, ...]
                      load debugging libraries to support remote debug applications
    -Xss<size>        set maximum native stack size for any thread

The -X options are non-standard and subject to change without notice

note :
disabling outer join seems to solve my problem but...
<property name="use_outer_join">false</property>
but i'd like to have this option enabled

any idea ?

thx a lot

_________________
St


Top
 Profile  
 
 Post subject:
PostPosted: Tue Sep 23, 2003 12:51 pm 
Newbie

Joined: Tue Sep 23, 2003 2:52 am
Posts: 4
I just posted about a similer problem and rebuilding hibernate from source solved it for me.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.