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

Error when creating new project and loading it #31

Closed
PranavPurwar opened this issue Nov 28, 2021 · 11 comments
Closed

Error when creating new project and loading it #31

PranavPurwar opened this issue Nov 28, 2021 · 11 comments

Comments

@PranavPurwar
Copy link
Contributor

Build version: 1.0
Build date: 1981-01-01 01:01:02
Current date: 2021-11-28 14:21:40
Device: Xiaomi Redmi Note 5 Pro

Stack trace:
java.lang.NullPointerException: Attempt to read from field 'org.openjdk.source.util.JavacTask com.tyron.completion.CompileBatch.task' on a null object reference
at com.tyron.completion.JavaCompilerService.compile(JavaCompilerService.java:386)
at com.tyron.completion.JavaCompilerService.compile(JavaCompilerService.java:372)
at com.tyron.completion.provider.CompletionEngine.index(CompletionEngine.java:113)
at com.tyron.ProjectManager.lambda$openProject$2$ProjectManager(ProjectManager.java:97)
at com.tyron.ProjectManager$$ExternalSyntheticLambda6.run(Unknown Source:10)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
at java.lang.Thread.run(Thread.java:764)

User actions:
2021-11-28 14:18:18: MainActivity created
2021-11-28 14:18:19: MainActivity resumed
2021-11-28 14:18:19: MainActivity paused
2021-11-28 14:18:20: MainActivity resumed
2021-11-28 14:19:57: MainActivity paused
2021-11-28 14:19:57: SettingsActivity created
2021-11-28 14:19:57: SettingsActivity resumed
2021-11-28 14:20:04: SettingsActivity paused
2021-11-28 14:20:04: MainActivity resumed
2021-11-28 14:20:05: SettingsActivity destroyed
2021-11-28 14:20:38: MainActivity paused
2021-11-28 14:20:38: SettingsActivity created
2021-11-28 14:20:39: SettingsActivity resumed
2021-11-28 14:20:47: SettingsActivity paused
2021-11-28 14:20:47: MainActivity resumed
2021-11-28 14:20:48: SettingsActivity destroyed
2021-11-28 14:21:02: MainActivity paused
2021-11-28 14:21:03: MainActivity destroyed
2021-11-28 14:21:04: MainActivity created
2021-11-28 14:21:04: MainActivity resumed

@PranavPurwar
Copy link
Contributor Author

It happens again and again when I open that blank kotlin project

@PranavPurwar
Copy link
Contributor Author

When indexing the project

@PranavPurwar
Copy link
Contributor Author

Some info:
Installed code assist from github actions
Java project works fine, but kotlin project crashes the app

@gdb417
Copy link

gdb417 commented Nov 28, 2021

I confirm this. Bug when creating the Kotlin project

@PranavPurwar
Copy link
Contributor Author

yes

@alluhemanth27
Copy link
Contributor

We are already aware of it and It happens when you don't have java files in your project, add a java file for temporary fix

@PranavPurwar
Copy link
Contributor Author

ok, i will try tomorrow

@tyron12233
Copy link
Owner

fixed in accbfae

@PranavPurwar
Copy link
Contributor Author

👍

@timscriptov
Copy link

CodeAssist good project 👍

@PranavPurwar
Copy link
Contributor Author

yes

@tyron12233 tyron12233 mentioned this issue Dec 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants