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

[Bug]: ConcurrentModificationException when compiling nballerina #38339

Open
manuranga opened this issue Oct 21, 2022 · 0 comments
Open

[Bug]: ConcurrentModificationException when compiling nballerina #38339

manuranga opened this issue Oct 21, 2022 · 0 comments
Labels
Area/BIR Compiler BIR related issues #Compiler Planning/SwanLakeDump All issues planned for Swan Lake GA release Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation

Comments

@manuranga
Copy link
Contributor

manuranga commented Oct 21, 2022

Description

[2022-10-21 11:47:43,686] SEVERE {b7a.log.crash} - null
java.util.ConcurrentModificationException
    at java.base/java.util.TreeMap.callMappingFunctionWithCheck(TreeMap.java:750)
    at java.base/java.util.TreeMap.computeIfAbsent(TreeMap.java:558)
    at org.wso2.ballerinalang.compiler.bir.codegen.split.constants.JvmTupleTypeConstantsGen.add(JvmTupleTypeConstantsGen.java:86)
    at org.wso2.ballerinalang.compiler.bir.codegen.split.JvmConstantsGen.getTypeConstantsVar(JvmConstantsGen.java:120)
    at org.wso2.ballerinalang.compiler.bir.codegen.JvmTypeGen.loadType(JvmTypeGen.java:452)
    at org.wso2.ballerinalang.compiler.bir.codegen.JvmTypeGen.loadIntersectionType(JvmTypeGen.java:785)
    at org.wso2.ballerinalang.compiler.bir.codegen.JvmTypeGen.loadType(JvmTypeGen.java:439)
    at org.wso2.ballerinalang.compiler.bir.codegen.JvmTypeGen.loadLocalType(JvmTypeGen.java:1109)
    at org.wso2.ballerinalang.compiler.bir.codegen.split.types.JvmRefTypeGen.populateTypeRef(JvmRefTypeGen.java:71)
    at org.wso2.ballerinalang.compiler.bir.codegen.split.constants.JvmRefTypeConstantsGen.genPopulateMethod(JvmRefTypeConstantsGen.java:101)
    at org.wso2.ballerinalang.compiler.bir.codegen.split.constants.JvmRefTypeConstantsGen.generateTypeRefInits(JvmRefTypeConstantsGen.java:91)
    at org.wso2.ballerinalang.compiler.bir.codegen.split.constants.JvmRefTypeConstantsGen.lambda$add$0(JvmRefTypeConstantsGen.java:80)
    at java.base/java.util.TreeMap.callMappingFunctionWithCheck(TreeMap.java:748)

Affected Version(s)

ballerina-2201.2.2-SNAPSHOT-swan-lake
I got this form distribution github action, so not sure if this a real issue or an issue in the pack.

Related issue(s) (optional)

Could be related the fixes we did to fix tuple issues.

@gimantha gimantha added Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Area/BIR Compiler BIR related issues #Compiler labels Oct 21, 2022
@ballerina-bot ballerina-bot added needTriage The issue has to be inspected and labeled manually userCategory/Compilation labels Oct 21, 2022
@anupama-pathirage anupama-pathirage removed the needTriage The issue has to be inspected and labeled manually label Oct 25, 2022
@gimantha gimantha added the Planning/SwanLakeDump All issues planned for Swan Lake GA release label Nov 8, 2022
@SasinduDilshara SasinduDilshara removed their assignment Sep 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area/BIR Compiler BIR related issues #Compiler Planning/SwanLakeDump All issues planned for Swan Lake GA release Team/CompilerFE All issues related to Language implementation and Compiler, this exclude run times. Type/Bug userCategory/Compilation
Projects
None yet
Development

No branches or pull requests

5 participants