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

IllegalArgumentException: invalid symbol format tsec/jws/signature/JWSSignedHeader#<init>().(x5t#S256) #333

Open
olafurpg opened this issue Sep 7, 2021 · 0 comments

Comments

@olafurpg
Copy link
Member

olafurpg commented Sep 7, 2021

While indexing https://sourcegraph.com/github.com/jmcardon/tsec

Generating LSIF... [######### ] 93%  186 files processedcom.sourcegraph.lsif_semanticdb.LsifProcessingException: /Users/olafurpg/dev/jmcardon/tsec/jwt-sig/target/scala-3.0.1/meta/META-INF/semanticdb/jwt-sig/src/main/scala/tsec/jws/signature/JWSSignedHeader.scala.semanticdb
Caused by: java.lang.IllegalArgumentException: invalid symbol format
tsec/jws/signature/JWSSignedHeader#`<init>`().(x5t#S256)
                                                  ^
	at com.sourcegraph.lsif_semanticdb.SymbolDescriptor$Parser.fail(SymbolDescriptor.java:78)
	at com.sourcegraph.lsif_semanticdb.SymbolDescriptor$Parser.parseDescriptor(SymbolDescriptor.java:139)
	at com.sourcegraph.lsif_semanticdb.SymbolDescriptor$Parser.entryPoint(SymbolDescriptor.java:66)
	at com.sourcegraph.lsif_semanticdb.SymbolDescriptor.parseFromSymbol(SymbolDescriptor.java:22)
	at com.sourcegraph.lsif_semanticdb.SymbolDescriptor.toplevel(SymbolDescriptor.java:32)
	at com.sourcegraph.lsif_semanticdb.PackageTable.packageForSymbol(PackageTable.java:59)
	at com.sourcegraph.lsif_semanticdb.ResultSets.apply(ResultSets.java:50)
	at com.sourcegraph.lsif_semanticdb.ResultSets.apply(ResultSets.java:11)
	at java.util.concurrent.ConcurrentHashMap.computeIfAbsent(ConcurrentHashMap.java:1688)
	at com.sourcegraph.lsif_semanticdb.ResultSets.getOrInsertResultSet(ResultSets.java:40)

The build is using Scala 3, which has built-in support to emit SemanticDB. The symbol is not a valid SemanticDB symbol so I'm not sure if there's anything we can do here.

@olafurpg olafurpg changed the title IllegalArgumentException: invalid symbol format tsec/jws/signature/JWSSignedHeader#<init>().(x5t#S256) IllegalArgumentException: invalid symbol format tsec/jws/signature/JWSSignedHeader#<init>().(x5t#S256) Sep 7, 2021
@mmanela mmanela added the Migrated label May 6, 2024 — with Linear
@eseliger eseliger removed the Migrated label May 21, 2024
@linear linear bot closed this as not planned Won't fix, can't repro, duplicate, stale Nov 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants