db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthew T. Adams" <matthew.ad...@xcalia.com>
Subject Successful w/dsid, error w/appid running detach.list?
Date Thu, 29 Dec 2005 19:56:21 GMT
Hi all,

I was wondering why I'm getting the following error when trying to run the
rather sparse detachment tests.  Note that things appear to succeed with
datastore id, but there are exceptions thrown with application id.  Can
someone explain what is going on and why I should or shouldn't be worried?
There's nothing notable in the logs; I've attached the JPOX log just in
case, since it actually had stuff in it.

Thanks,
Matthew

Here's my console output:

C:\apache-jdo\project\trunk\tck20>maven -Djdo.tck.cfglist=detach.list
runtck.jdori
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-2

DEPRECATED: the default goal should be specified in the <build> section of
project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the <build> section of
project.xml instead of maven.xml
Attempting to download jdo2-api-SNAPSHOT.jar.
Artifact /apache-jdo/jars/jdo2-api-SNAPSHOT.jar doesn't exist in remote
repository, but it exists locally.
Attempting to download jdo2-enhancer-SNAPSHOT.jar.
Artifact /apache-jdo/jars/jdo2-enhancer-SNAPSHOT.jar doesn't exist in remote
repository, but it exists locally.
Attempting to download jdo2-core-SNAPSHOT.jar.
Artifact /apache-jdo/jars/jdo2-core-SNAPSHOT.jar doesn't exist in remote
repository, but it exists locally.
Attempting to download jpox-SNAPSHOT.jar.
1607K downloaded
Attempting to download jpox-enhancer-SNAPSHOT.jar.
162K downloaded
Attempting to download jpox-c3p0-SNAPSHOT.jar.
Attempting to download jpox-dbcp-SNAPSHOT.jar.
build:start:

setProps:
    [echo] setProps:
    [echo] Configurations for this run are "detach.list". To override this,
use -Djdo.tck.cfglist=xxx on the maven command line.
    [echo] Databases for this run are "derby". To override this, use
-Djdo.tck.dblist=xxx on the maven command line.
    [echo] Identity types for this run are "applicationidentity
datastoreidentity". To override this, use -Djdo.tck.identitytypes=xxx on the
maven command line.


runtck.jdori:
    [mkdir] Created dir:
C:\apache-jdo\project\trunk\tck20\target\logs\database
java:prepare-filesystem:

java:compile:
    [echo] Compiling to C:\apache-jdo\project\trunk\tck20/target/classes
    [javac] Compiling 2 source files to
C:\apache-jdo\project\trunk\tck20\target\classes

testrunner.set:
    [echo] testrunner.set:

copyprops:
    [echo] copyprops:

doEnhance.jdori:
enhance.check:

package.jdori:
package:
    [delete] Deleting:
C:\apache-jdo\project\trunk\tck20\target\enhanced\jdori\applicationidentity.
jar
    [jar] Building jar:
C:\apache-jdo\project\trunk\tck20\target\enhanced\jdori\applicationidentity.
jar


enhance.check:

package.jdori:
package:
    [delete] Deleting:
C:\apache-jdo\project\trunk\tck20\target\enhanced\jdori\datastoreidentity.ja
r
    [jar] Building jar:
C:\apache-jdo\project\trunk\tck20\target\enhanced\jdori\datastoreidentity.ja
r



privateRuntck.jdori:
    [mkdir] Created dir:
C:\apache-jdo\project\trunk\tck20\target\logs\20051229-105331
    [echo] Run all configurations on jdori
exclude:

Caught exception evaluating: org.apache.commons.jexl.ExpressionImpl@14b84c7.
Reason: java.lang.NullPointerException
java.lang.NullPointerException
        at java.lang.String.concat(String.java:1503)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at
org.apache.commons.jexl.util.introspection.UberspectImpl$VelMethodImpl.invok
e(UberspectImpl.java:268)
        at
org.apache.commons.jexl.parser.ASTMethod.execute(ASTMethod.java:61)
        at
org.apache.commons.jexl.parser.ASTReference.execute(ASTReference.java:68)
        at
org.apache.commons.jexl.parser.ASTReference.value(ASTReference.java:50)
        at
org.apache.commons.jexl.ExpressionImpl.evaluate(ExpressionImpl.java:86)
        at
org.apache.commons.jelly.expression.jexl.JexlExpression.evaluate(JexlExpress
ion.java:69)
        at
org.apache.commons.jelly.expression.ExpressionSupport.evaluateRecurse(Expres
sionSupport.java:61)
        at
org.apache.commons.jelly.expression.ExpressionSupport.evaluateAsString(Expre
ssionSupport.java:46)
        at org.apache.commons.jelly.tags.core.ExprTag.doTag(ExprTag.java:42)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at
org.apache.commons.jelly.TagSupport.getBodyText(TagSupport.java:234)
        at org.apache.commons.jelly.tags.core.SetTag.doTag(SetTag.java:90)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at
org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at
org.apache.commons.jelly.tags.core.ForEachTag.doTag(ForEachTag.java:150)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
78)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at
org.apache.maven.werkz.WerkzProject.attainGoal(WerkzProject.java:210)
        at
org.apache.maven.jelly.tags.werkz.MavenAttainGoalTag.doTag(MavenAttainGoalTa
g.java:114)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:247)
        at
org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:
78)
        at
org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction
(MavenGoalTag.java:109)
        at org.apache.maven.werkz.Goal.fire(Goal.java:656)
        at org.apache.maven.werkz.Goal.attain(Goal.java:592)
        at
org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:693)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:263)
        at org.apache.maven.cli.App.doMain(App.java:511)
        at org.apache.maven.cli.App.main(App.java:1258)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39
)
        at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
        at java.lang.reflect.Method.invoke(Method.java:324)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)
doRuntck.jdori:
    [java] Missing JDO TCK test classes for configuration 'detach.list'.
Please check the property 'jdo.tck.classes'.
    [java] [ERROR] Java Result: 2
    [echo] Finished run with database="derby"
identitytype="applicationidentity" mapping="".

exclude:

doRuntck.jdori:
Overriding previous definition of reference to this.jdori.class.path
    [java] RUN SetDetachAllOnCommit.test
    [java] RUN GetDetachAllOnCommit.test
    [java] Description: Detachment tests with standard mapping, no testdata.
    [java] Time: 006
    [java] derby-dsid-detach-junit.txt:
    [java]     OK Tests run: 002, Time: 006 seconds.
    [java] Excluded tests:
[org.apache.jdo.tck.enhancement.FieldAccessModified,
org.apache.jdo.tck.enhancement.ImplementsPersistenceCapable]
    [echo] Finished run with database="derby"
identitytype="datastoreidentity" mapping="".


result:
    [java] Result: All (1) configurations passed.
    [java] See file
'C:\apache-jdo\project\trunk\tck20/target/logs/20051229-105331\TCK-results.t
xt' for details.

BUILD SUCCESSFUL
Total time   : 1 minutes 9 seconds
Finished at  : Thursday, December 29, 2005 10:53:38 AM PST

Mime
View raw message