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

Remote project development: file is null error #65

Open
simao-o-cardeal-alb opened this issue Jun 11, 2024 · 0 comments
Open

Remote project development: file is null error #65

simao-o-cardeal-alb opened this issue Jun 11, 2024 · 0 comments

Comments

@simao-o-cardeal-alb
Copy link

simao-o-cardeal-alb commented Jun 11, 2024

Hi,

I'm trying to setup an C/C++remote project analysis but I'm get the following error:

java.lang.NullPointerException: Cannot invoke "java.io.File.toPath()" because "file" is null
	at com.github.philippefichet.sonarlint4netbeans.SonarLintUtils.toFiles(SonarLintUtils.java:581)
	at com.github.philippefichet.sonarlint4netbeans.SonarLintAnalyzerCancelableTask.run(SonarLintAnalyzerCancelableTask.java:81)
	at com.github.philippefichet.sonarlint4netbeans.ui.SonarLintAnalyzerActionTopComponent.lambda$addDeepSonarLintAnalyze$1(SonarLintAnalyzerActionTopComponent.java:129)
	at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1419)
	at org.netbeans.modules.openide.util.GlobalLookup.execute(GlobalLookup.java:45)
	at org.openide.util.lookup.Lookups.executeWith(Lookups.java:287)
[catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:2034)

If i setup a local project, the error not happens.

I know that there is some limitation on the C/C++ analysis, but should i expect empty results on the sonarlint analysis?

Thanks,

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

1 participant