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 with Sonar analysis #2008

Closed
camory opened this issue Jun 6, 2017 · 2 comments
Closed

Error with Sonar analysis #2008

camory opened this issue Jun 6, 2017 · 2 comments
Labels

Comments

@camory
Copy link

camory commented Jun 6, 2017

I am getting an issue when anaylzing my project with the sonar maven plugin.

[ERROR] [15:48:04.269] Unable to create symbol table for : /path/projetc/src/main/java/my/package/Person.java

java.nio.file.InvalidPathException: Malformed input or input contains unmappable characters: javaslang/?.class
	at sun.nio.fs.UnixPath.encode(UnixPath.java:147) ~[na:1.8.0_74]
	at sun.nio.fs.UnixPath.<init>(UnixPath.java:71) ~[na:1.8.0_74]
	at sun.nio.fs.UnixFileSystem.getPath(UnixFileSystem.java:281) ~[na:1.8.0_74]
	at sun.nio.fs.AbstractPath.resolve(AbstractPath.java:53) ~[na:1.8.0_74]
	at org.sonar.java.bytecode.loader.FileSystemLoader.findResource(FileSystemLoader.java:45) ~[java-frontend-4.2.jar:na]
	at org.sonar.java.bytecode.loader.SquidClassLoader.findResource(SquidClassLoader.java:75) ~[java-frontend-4.2.jar:na]
	at java.lang.ClassLoader.getResource(ClassLoader.java:1093) ~[na:1.8.0_74]
  • Javaslang version: 2.0.6
  • sonar-maven-plugin version: 2.6
  • SonarQube version: 5.6.2

It seems that the ?.class is the origin of the issue.

@nfekete
Copy link
Member

nfekete commented Jun 6, 2017

That's the class with an unicode λ as it's name. It got renamed to Lambda. Switch to the renamed project io.vavr:vavr, it has it's first release as 0.9.0 in the central maven repository.

@ruslansennov ruslansennov added this to the vavr-0.9.1 milestone Jun 6, 2017
@camory
Copy link
Author

camory commented Jun 6, 2017

Wow !!! So quik that I did not your answer !!
and it works !!
Thanks you for your reactivity and for your great work

@camory camory closed this as completed Jun 6, 2017
@danieldietrich danieldietrich removed this from the vavr-0.9.1 milestone Sep 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants