AnantLabs / diffkit

Automatically exported from code.google.com/p/diffkit
0 stars 0 forks source link

The Diffkit doesn't support the VARCHAR2 of Oracle 10g #70

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. define the comparison between two tables in the oracle 10g
2. execute the diffkit

What is the expected output? What do you see instead?
The comparison result is expected. but instead, there are some exceptions. If I 
compare two tables without the type of VARCHAR2, there is no problem

ERROR[17:05:14.170]{main}(DKApplication.main:135)-null
java.lang.RuntimeException: java.lang.RuntimeException: Could not resolve 
automatically; need rule for dependency->Dependency[(DKPassthroughPlan,null)]
        at org.diffkit.diff.conf.DKMagicPlan.getBuiltPlan(DKMagicPlan.java:353) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKMagicPlan.getLhsSource(DKMagicPlan.java:330) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKApplication.runPlan(DKApplication.java:167) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKApplication.main(DKApplication.java:115) [diffkit-app.jar:na]
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_14]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_14]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.6.0_14]
        at java.lang.reflect.Method.invoke(Unknown Source) [na:1.6.0_14]
        at com.jdotsoft.jarloader.JarClassLoader.invokeMain(JarClassLoader.java:571) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKLauncher.main(DKLauncher.java:29) [diffkit-app.jar:na]
Caused by: java.lang.RuntimeException: Could not resolve automatically; need 
rule for dependency->Dependency[(DKPassthroughPlan,null)]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.resolve(DKMagicPlanBuilder.java:110) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.build(DKMagicPlanBuilder.java:56) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKMagicPlan.getBuiltPlan(DKMagicPlan.java:350) [diffkit-app.jar:na]
        ... 9 common frames omitted
Caused by: java.lang.RuntimeException: Could not resolve automatically; need 
rule for dependency->Dependency[DKPassthroughPlan(DKDBSource,lhsSource_)]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.resolve(DKMagicPlanBuilder.java:102) [diffkit-app.jar:na]
        ... 11 common frames omitted
Caused by: java.lang.RuntimeException: Could not resolve automatically; need 
rule for dependency->Dependency[DKPassthroughPlan(DKDBSource,lhsSource_)]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.resolve(DKMagicPlanBuilder.java:110) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.resolve(DKMagicPlanBuilder.java:82) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.resolve(DKMagicPlanBuilder.java:99) [diffkit-app.jar:na]
        ... 11 common frames omitted
Caused by: java.lang.reflect.InvocationTargetException: null
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [na:1.6.0_14]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [na:1.6.0_14]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [na:1.6.0_14]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) [na:1.6.0_14]
        at org.diffkit.diff.conf.DKMagicDependency.resolve(DKMagicDependency.java:165) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKMagicPlanBuilder.resolve(DKMagicPlanBuilder.java:107) [diffkit-app.jar:na]
        ... 13 common frames omitted
Caused by: java.lang.RuntimeException: couldn't find table named->R_REF_CTR
        at org.diffkit.diff.sns.DKDBSource.<init>(DKDBSource.java:102) [diffkit-app.jar:na]

What version of the product are you using? On what operating system?
I am using the DiffKit 0.9.0 on windows XP

Please provide any additional information below.

Original issue reported on code.google.com by hui.liu....@gmail.com on 9 May 2011 at 3:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
sry, wrong issue, it seems to work on VARCHAR2

Original comment by hui.liu....@gmail.com on 9 May 2011 at 3:27

GoogleCodeExporter commented 9 years ago
Even I am getting same issue. What did you do to solve it out ?

Original comment by swatimuk...@gmail.com on 1 Jul 2014 at 11:26