db-ojb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From atoi atoi <a...@yahoo.com>
Subject enhance error
Date Mon, 18 Oct 2004 04:01:32 GMT
Can someone help with the following error. Trying to
run tutorial5. The other tutorials ran fine. But now I
am getting the following error running the
enhance-jdori step.

C:\mfg_scm\MFG_SC~2\productmanager>ant enhance-jdori
Buildfile: build.xml

compile:

build:

enhance-jdori:
     [java] Enhancer: options:
     [java]     verbose = true
     [java]     quiet = false
     [java]     forceWrite = true
     [java]     noWrite = false
     [java]     sourcePath = null
     [java]     destinationDirectory =
C:\mfg_scm\mfg_scm_prereqs\prodmanPG\buil
d\classes
     [java]     propertiesFileName = null
     [java]     doTiming = false
     [java]     classNames = {
     [java]     }
     [java]     jdoFileNames = {
     [java]        
C:\mfg_scm\mfg_scm_prereqs\prodmanPG\build\classes\org\apach
e\ojb\tutorial5\Product.jdo
     [java]     }
     [java]     classFileNames = {
     [java]        
C:\mfg_scm\mfg_scm_prereqs\prodmanPG\build\classes\org\apach
e\ojb\tutorial5\Product.class
     [java]     }
     [java]     zipFileNames = {
     [java]     }
     [java]     dumpClass = false
     [java]     noAugment = false
     [java]     noAnnotate = false
     [java] JDO ENHANCER: using file:
file:/C:/mfg_scm/mfg_scm_prereqs/prodmanPG
/build/classes/org/apache/ojb/tutorial5/Product.class
     [java] Class Locator: using class files: {
     [java]    
C:\mfg_scm\mfg_scm_prereqs\prodmanPG\build\classes\org\apache\oj
b\tutorial5\Product.class
     [java] }
     [java] JDO ENHANCER: using file:
file:/C:/mfg_scm/mfg_scm_prereqs/prodmanPG
/build/classes/org/apache/ojb/tutorial5/Product.jdo
     [java]
--------------------------------------------------------------------
-------

     [java] JDO ENHANCER: Enhancer: enhancing
classfile ...
     [java] JDO ENHANCER: scanning class
org.apache.ojb.tutorial5.Product
     [java] JDO ENHANCER: not found resource:
META-INF/package.jdo
     [java] JDO ENHANCER: not found resource:
WEB-INF/package.jdo
     [java] JDO ENHANCER: not found resource:
package.jdo
     [java] JDO ENHANCER: not found resource:
org/package.jdo
     [java] JDO ENHANCER: not found resource:
org/apache/package.jdo
     [java] JDO ENHANCER: not found resource:
org/apache/ojb/package.jdo
     [java] JDO ENHANCER: not found resource:
org/apache/ojb/tutorial5/package.j
do
     [java] JDO ENHANCER: found resource:
org/apache/ojb/tutorial5/Product.jdo
     [java] JDO ENHANCER: has default constructor.
     [java] JDO ENHANCER: has not static initializer.
     [java] JDO ENHANCER: has not clone method.
     [java] JDO ENHANCER: has not writeObject method.
     [java] JDO ENHANCER: has not writeReplace method.
     [java] JDO ENHANCER: has not readObject method.
     [java] JDO ENHANCER: annotating class
org.apache.ojb.tutorial5.Product
     [java] JDO ENHANCER: annotating:
org.apache.ojb.tutorial5.Product.getId()
     [java] java.lang.NullPointerException
     [java]     at
com.sun.jdori.enhancer.meta.model.EnhancerMetaDataJDOModelImp
l.getDeclaringClass(Unknown Source)
     [java]     at
com.sun.jdori.enhancer.core.Annotater.insnAnnotation(Unknown
Source)
     [java]     at
com.sun.jdori.enhancer.core.Annotater.annotated(Unknown
Sourc
e)
     [java]     at
com.sun.jdori.enhancer.core.Annotater.annotate(Unknown
Source
)
     [java]     at
com.sun.jdori.enhancer.core.Controller.annotate(Unknown
Sourc
e)
     [java]     at
com.sun.jdori.enhancer.core.Controller.enhanceClass(Unknown
S
ource)
     [java]     at
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile1(Unkn
own Source)
     [java]     at
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkno
wn Source)
     [java]     at
com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown
Source)
     [java]     at
com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown
Source)

     [java]     at
com.sun.jdori.enhancer.Main.process(Unknown Source)
     [java]     at
com.sun.jdori.enhancer.Main.main(Unknown Source)
     [java] Fatal error while enhancing: JDO ENHANCER:
An internal error occurre
d while enhancing input class; detailed message:
     [java] aborted with errors.
     [java] com.sun.jdori.enhancer.EnhancerFatalError:
JDO ENHANCER: An internal
 error occurred while enhancing input class; detailed
message:
     [java]     at
com.sun.jdori.enhancer.filter.Enhancer.enhanceClassFile(Unkno
wn Source)
     [java]     at
com.sun.jdori.enhancer.Main.enhanceClassFile(Unknown
Source)
     [java]     at
com.sun.jdori.enhancer.Main.enhanceInputFiles(Unknown
Source)

     [java]     at
com.sun.jdori.enhancer.Main.process(Unknown Source)
     [java]     at
com.sun.jdori.enhancer.Main.main(Unknown Source)



BUILD FAILED
C:\mfg_scm\MFG_SC~2\productmanager\build.xml:187: Java
returned: 1


		
__________________________________
Do you Yahoo!?
Take Yahoo! Mail with you! Get it on your mobile phone.
http://mobile.yahoo.com/maildemo 

---------------------------------------------------------------------
To unsubscribe, e-mail: ojb-user-unsubscribe@db.apache.org
For additional commands, e-mail: ojb-user-help@db.apache.org


Mime
View raw message