Couldn't able to generate Diff file for Tab delimited files

39 views
Skip to first unread message

Venkata Naidu

unread,
Jul 11, 2018, 9:03:00 AM7/11/18
to diffkit-user
Hello Guys -  I am trying to generate diff file from two flat files , While working with TAB delimeted flat files I am facing below issues.
which are delimited by "TAB" . Getting below error. Any help would be greatly
1. if there is no data in field ,that field couldn't able to identify the field and throwing error as column mismatch issue , when updating with some data it could able to process the data.
appreciated.

Exception details:

X:\DataFiles\DataComparer\diffkit-0.9.0 (1)\dante>java -jar ../diffkit-app.jar -planfiles Plan_complete.xml
DiffKit home->X:\DataFiles\DataComparer\diffkit-0.9.0 (1)
dropin dir->X:\DataFiles\DataComparer\diffkit-0.9.0 (1)\dropin
loaded dropin jars->[X:\DataFiles\DataComparer\diffkit-0.9.0 (1)\dropin\diffkit-app.jar]


planfile(s)->[DantePlan_complete.xml]
ERROR[18:04:09.369]{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.8.0_144]
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) [na:1.8.0_144]
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) [na:1.8.0_144]
        at java.lang.reflect.Method.invoke(Unknown Source) [na:1.8.0_144]
        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(DKAutomaticTableComparison,tableComparison_)]
        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(DKAutomaticTableComparison,tableComparison_)]
        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.8.0_144]
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source) [na:1.8.0_144]
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source) [na:1.8.0_144]
        at java.lang.reflect.Constructor.newInstance(Unknown Source) [na:1.8.0_144]
        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: no value in _headerColumnNames for UID
        at org.diffkit.diff.sns.DKFileSource.getHeaderColumnNameIndices(DKFileSource.java:160) [diffkit-app.jar:na]
        at org.diffkit.diff.sns.DKFileSource.getModel(DKFileSource.java:146) [diffkit-app.jar:na]
        at org.diffkit.diff.conf.DKAutomaticTableComparison.<init>(DKAutomaticTableComparison.java:95) [diffkit-app.jar:na]
Reply all
Reply to author
Forward
0 new messages