Skip to content

Directory textdiff: Error while parsing arguments of client 'textdiff' Source must be a file #217

Open
@dayaad

Description

@dayaad

When using textdiff to compare packages/multiple files I see the following error:

Error while parsing arguments of client 'textdiff'.
java.lang.reflect.InvocationTargetException
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
	at java.base/jdk.internal.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
	at java.base/java.lang.reflect.Constructor.newInstance(Constructor.java:490)
	at com.github.gumtreediff.gen.Registry.lambda$defaultFactory$1(Registry.java:127)
	at com.github.gumtreediff.client.Run.startClient(Run.java:79)
	at com.github.gumtreediff.client.Run.main(Run.java:115)
Caused by: com.github.gumtreediff.client.Option$OptionException: Source must be a file: /Users/diyaayaa/Downloads/python-basics-exercises-master/ch06-functions-and-loops
	at com.github.gumtreediff.client.diff.TextDiff.<init>(TextDiff.java:43)
  • I would like to get the diff output in JSON format that's the reason am using textdiff.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions