What steps will reproduce the problem?
1.
For example, I have usual MagicPlan configuration like this:
<bean id="plan" class="org.diffkit.diff.conf.DKMagicPlan">
<property name="lhsDBTableName" value="EMAIL_NOTIFY"/>
<property name="rhsDBTableName" value="EMAIL_NOTIFY"/>
<property name="lhsDBConnectionInfo" ref="lhsDBConnectionInfo"/>
<property name="rhsDBConnectionInfo" ref="rhsDBConnectionInfo"/>
<property name="sinkFilePath" value="C:/TEMP/diff_work/EMAIL_NOTIFY.sink.diff"/>
</bean>
2. I run the tool (I have version 0.8.6)
3. I get an error
What is the expected output?
-usal diff output
What do you see instead?
tableComparison->org.diffkit.diff.conf.DKAutomaticTableComparison@6906daba
ERROR[16:56:58.307]{main}(DKApplication.main:130)-null
java.lang.IllegalArgumentException: does not accept null args
at org.diffkit.common.DKValidate.notNull(DKValidate.java:33) [diffkit-app.jar:na]
at org.diffkit.diff.engine.DKStandardTableComparison.<init>(DKStandardTableComparison.java:81) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKAutomaticTableComparison.buildStandardComparison(DKAutomaticTableComparison.java:148) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKAutomaticTableComparison.getStandardComparison(DKAutomaticTableComparison.java:117) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKAutomaticTableComparison.getDescription(DKAutomaticTableComparison.java:171) [diffkit-app.jar:na]
at org.diffkit.diff.engine.DKDiffEngine.diff(DKDiffEngine.java:49) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKApplication.doDiff(DKApplication.java:191) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKApplication.runPlan(DKApplication.java:172) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKApplication.main(DKApplication.java:110) [diffkit-app.jar:na]
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [na:1.6.0_22]
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [na:1.6.0_22]
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [na:1.6.0_22]
at java.lang.reflect.Method.invoke(Method.java:597) [na:1.6.0_22]
at com.jdotsoft.jarloader.JarClassLoader.invokeMain(JarClassLoader.java:520) [diffkit-app.jar:na]
at org.diffkit.diff.conf.DKLauncher.main(DKLauncher.java:26) [diffkit-app.jar:na]
What version of the product are you using? On what operating system?
0.8.6 on Windows
Please provide any additional information below.
I checked source code and the reason for this error is that all columns of the
table are part of primary key.
Original issue reported on code.google.com by jan.g...@gmail.com on 5 Jan 2011 at 8:12
Original issue reported on code.google.com by
jan.g...@gmail.com
on 5 Jan 2011 at 8:12