Java 11 - ConcurrentModificationException with 1.2.0 update
See original GitHub issue[07:52:08] [Server thread/INFO]: [BentoBox] Hooking with Vault...
[07:52:08] [Server thread/INFO]: [BentoBox] Hooking with PlaceholderAPI...
[07:52:08] [Server thread/INFO]: [BentoBox] Loading addons...
[07:52:08] [Server thread/ERROR]: [BentoBox] Skipping BSkyBlock due to an unhandled exception...
[07:52:08] [Server thread/ERROR]: [BentoBox] STACKTRACE: ConcurrentModificationException - null - null
[07:52:08] [Server thread/INFO]: [BentoBox] Loaded 2 addons.
[07:52:08] [Server thread/INFO]: [BentoBox] Enabling addons...
[07:52:08] [Server thread/ERROR]: [BentoBox] Skipping Challenges due to an unhandled exception...
[07:52:08] [Server thread/ERROR]: [BentoBox] STACKTRACE: ConcurrentModificationException - null - null
[07:52:08] [Server thread/ERROR]: [BentoBox] Skipping Level due to an unhandled exception...
[07:52:08] [Server thread/ERROR]: [BentoBox] STACKTRACE: ConcurrentModificationException - null - null
[07:52:08] [Server thread/INFO]: [BentoBox] Addons successfully enabled.
BentoBox/BSkyBlock is not running, despite “successfully enabled” above. Similar to (perhaps same as) https://github.com/BentoBoxWorld/BentoBox/issues/488, which was closed.
Steps to reproduce the behavior:
- Download and install bentobox 1.2.0 and bskyblock 1.1
- Edit configuration files as appropriate
- Start server
- See error
Server Information:
- Database being used: YAML
- OS: CentOS current
- Java Version: 11
>bentobox version
[07:58:00 INFO]: Bentobox version: 1.2.0
[07:58:00 INFO]: Loaded Game Worlds:
[07:58:00 INFO]: Loaded Add-Ons
[07:58:00 INFO]: BSkyBlock 1.1
[07:58:00 INFO]: Challenges 0.3.0
[07:58:00 INFO]: Level 0.2.0
Issue Analytics
- State:
- Created 5 years ago
- Comments:10 (5 by maintainers)
Top Results From Across the Web
How to Avoid the Concurrent Modification Exception in Java
The ConcurrentModificationException in Java occurs when an object is attempted to be modified concurrently without permission.
Read more >JSF 1.2: java.util.ConcurrentModificationException
Update As mentioned by Luiggi Mendoza, you don't need to remove and add the element back to the list to alter it.
Read more >ConcurrentModificationException (Java SE 12 & JDK 12 )
This exception may be thrown by methods that have detected concurrent modification of an object when such modification is not permissible.
Read more >ConcurrentModificationException during native ... - GitHub
Describe the bug [INFO] [io.quarkus.deployment.pkg.steps.NativeImageBuildStep] Running Quarkus native-image plugin on GraalVM Version 19.3.0 ...
Read more >Fix the ConcurrentModificationException | TechTarget
Java's ConcurrentModificationException is thrown when a collection is modified while a Java Iterator is trying to loop through it.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This should be fixed for now.
Confirmed fixed in BentoBox 1.2.1 No more ConcurrentModificationException with Java 11