Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SourceCodeParser: IllegalStateException when parsing single file #573

Closed
Richargh opened this issue Jun 14, 2019 · 0 comments · Fixed by #754
Closed

SourceCodeParser: IllegalStateException when parsing single file #573

Richargh opened this issue Jun 14, 2019 · 0 comments · Fixed by #754
Assignees
Labels
bug Only issues that describe bugs. pr-analysis Issues that touch the analysis pr(oject).

Comments

@Richargh
Copy link

Bug

Expected Behavior

echo "class Foo{}" > Foo.java + ccsh sourcecodeparser Foo.java should generate a cc.json with Foo directly under root: /root/Foo.java.

Actual Behavior

java.lang.IllegalStateException: root.parentFile must not be null

@Richargh Richargh added pr-analysis Issues that touch the analysis pr(oject). bug Only issues that describe bugs. labels Jun 14, 2019
@Richargh Richargh changed the title IllegalStateException when parsing single file SourceCodeParser: IllegalStateException when parsing single file Jun 14, 2019
alexhunziker added a commit that referenced this issue Oct 15, 2019
@alexhunziker alexhunziker self-assigned this Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Only issues that describe bugs. pr-analysis Issues that touch the analysis pr(oject).
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants