Nova-Committee / McBot

A mod allowed you to connect minecraft and QQ
Other
131 stars 17 forks source link

java.lang.ArithmeticException: BigInteger divide by zero #34

Closed lovepush closed 1 year ago

lovepush commented 2 years ago

---- Minecraft Crash Report ---- // Why did you do that?

Time: 2022/8/24 下午9:52 Description: Exception in server tick loop

java.lang.ArithmeticException: BigInteger divide by zero at java.base/java.math.MutableBigInteger.divide(MutableBigInteger.java:1445) at java.base/java.math.BigDecimal.divideAndRound(BigDecimal.java:4776) at java.base/java.math.BigDecimal.divide(BigDecimal.java:5723) at java.base/java.math.BigDecimal.divide(BigDecimal.java:1636) at java.base/java.math.BigDecimal.divide(BigDecimal.java:1666) at net.minecraft.server.MinecraftServer.handler$dbc001$injectTick(MinecraftServer.java:11823) at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:857) at net.minecraft.server.MinecraftServer.handler$zmk000$modifiedRunLoop(MinecraftServer.java:6380) at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644) at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:258) at java.base/java.lang.Thread.run(Thread.java:833)

A detailed walkthrough of the error, its code path and all known details is as follows:

-- System Details -- Details: Minecraft Version: 1.19 Minecraft Version ID: 1.19 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.1, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation Memory: 2298486584 bytes (2192 MiB) / 4915724288 bytes (4688 MiB) up to 12884901888 bytes (12288 MiB) CPUs: 12 Processor Vendor: GenuineIntel Processor Name: Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz Identifier: Intel64 Family 6 Model 158 Stepping 10 Microarchitecture: Coffee Lake Frequency (GHz): 3.70 Number of physical packages: 1 Number of physical CPUs: 6 Number of logical CPUs: 12 Graphics card #0 name: NVIDIA GeForce GTX 1080 Ti Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x1b06 Graphics card #0 versionInfo: DriverVersion=31.0.15.1694 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 3.20 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 3.20 Memory slot #1 type: DDR4 Virtual memory max (MB): 29625.61 Virtual memory used (MB): 19068.24 Swap memory total (MB): 13312.00 Swap memory used (MB): 539.99 JVM Flags: 2 total; -Xms1G -Xmx12G Fabric Mods: additionalstructures: Additional Structures 4.0.0 alloy_forgery: Alloy Forgery 2.0.16+1.19 antixray: AntiXray 1.2.4 com_moandjiezana_toml_toml4j: toml4j 0.7.2 architectury: Architectury 5.12.42 balm-fabric: Balm 4.5.2+0 bclib: BCLib 2.0.20 betterend: Better End 2.0.11 betterthanmending: BetterThanMending 1.3.0 botapi: Bot-Connect 1.19-1.8.2 cardinal-components: Cardinal Components API 5.0.1 cardinal-components-base: Cardinal Components API (base) 5.0.1 cardinal-components-block: Cardinal Components API (blocks) 5.0.1 cardinal-components-chunk: Cardinal Components API (chunks) 5.0.1 cardinal-components-entity: Cardinal Components API (entities) 5.0.1 cardinal-components-item: Cardinal Components API (items) 5.0.1 cardinal-components-level: Cardinal Components API (world saves) 5.0.1 cardinal-components-scoreboard: Cardinal Components API (scoreboard) 5.0.1 cardinal-components-world: Cardinal Components API (worlds) 5.0.1 carpet: Carpet Mod 1.4.79 cloth-config: Cloth Config v6 7.0.73 cloth-basic-math: cloth-basic-math 0.6.1 clumps: Clumps 9.0.0+10 collective-fabric: Collective (Fabric) 4.27 fiber: fiber 0.23.0-2 creeper_firework: Creeper Firework 1.3.3 dynmap: Dynmap 3.4 easyauth: Easy Authentication Mod 3.0.0-7 at_favre_lib_bcrypt: bcrypt 0.9.0 at_favre_lib_bytes: bytes 1.5.0 de_mkammerer_argon2-jvm: argon2-jvm 2.11 de_mkammerer_argon2-jvm-nolibs: argon2-jvm-nolibs 2.11 mysql_mysql-connector-java: mysql-connector-java 8.0.28 net_java_dev_jna_jna: jna 5.9.0 org_iq80_leveldb_leveldb: leveldb 0.12 org_iq80_leveldb_leveldb-api: leveldb-api 0.12 org_mongodb_bson: bson 4.3.2 org_mongodb_mongodb-driver-core: mongodb-driver-core 4.3.2 org_mongodb_mongodb-driver-sync: mongodb-driver-sync 4.3.2 server_translations_api: Server Translations API 1.4.16+1.19 packet_tweaker: Packet Tweaker 0.3.0+1.18.2 edenring: EdenRing 0.6.3 elytraboosters: Elytra Boosters Mod 1.4.0 enchantinginfuser: Enchanting Infuser 4.0.3 enderscape: Enderscape 0.3.4-1.19 fabric: Fabric API 0.58.0+1.19 fabric-api-base: Fabric API Base 0.4.9+e62f51a3a9 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.7+9ff28f40a9 fabric-biome-api-v1: Fabric Biome API (v1) 9.0.14+b2a4a624a9 fabric-command-api-v1: Fabric Command API (v1) 1.2.6+f71b366fa9 fabric-command-api-v2: Fabric Command API (v2) 2.1.2+0d55f585a9 fabric-commands-v0: Fabric Commands (v0) 0.2.23+df3654b3a9 fabric-containers-v0: Fabric Containers (v0) 0.1.28+df3654b3a9 fabric-content-registries-v0: Fabric Content Registries (v0) 3.2.1+07df213ea9 fabric-convention-tags-v1: Fabric Convention Tags 1.0.8+37622d24a9 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.3+bd0a0d4aa9 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 5.1.2+a680b9b4a9 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.28+a6d2f785a9 fabric-entity-events-v1: Fabric Entity Events (v1) 1.4.16+9ff28f40a9 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.26+9ff28f40a9 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.26+df3654b3a9 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.19+18990361a9 fabric-item-api-v1: Fabric Item API (v1) 1.5.5+35a03c43a9 fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.26+9ff28f40a9 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.1.0+33fbc738a9 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.1+03a4e568a9 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.4+9e7660c6a9 fabric-message-api-v1: Fabric Message API (v1) 1.0.1+513f4a59a9 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.11+33fbc738a9 fabric-networking-api-v1: Fabric Networking API (v1) 1.1.0+442de8b8a9 fabric-networking-v0: Fabric Networking (v0) 0.3.15+df3654b3a9 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 4.0.8+9ff28f40a9 fabric-particles-v1: Fabric Particles (v1) 1.0.8+dc39553aa9 fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.9.18+23c4cfefa9 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.12+9ff28f40a9 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.5+9ff28f40a9 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.0.9+e62f51a3a9 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.5.6+5f1a85e0a9 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.2.7+9ff28f40a9 fabric-transfer-api-v1: Fabric Transfer API (v1) 2.0.9+e62f51a3a9 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 1.1.1+9e7660c6a9 fabric-language-kotlin: Fabric Language Kotlin 1.8.2+kotlin.1.7.10 org_jetbrains_kotlin_kotlin-reflect: kotlin-reflect 1.7.10 org_jetbrains_kotlin_kotlin-stdlib: kotlin-stdlib 1.7.10 org_jetbrains_kotlin_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.7.10 org_jetbrains_kotlin_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.7.10 org_jetbrains_kotlinx_atomicfu-jvm: atomicfu-jvm 0.18.2 org_jetbrains_kotlinx_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.4 org_jetbrains_kotlinx_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.4 org_jetbrains_kotlinx_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0 org_jetbrains_kotlinx_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.3.3 org_jetbrains_kotlinx_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.3.3 org_jetbrains_kotlinx_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.3.3 fabricloader: Fabric Loader 0.14.9 farmersdelight: Farmer's Delight 1.19-0.3.0 flan: Flan 1.19-1.8.1 forgeconfigapiport: Forge Config API Port 4.0.2 com_electronwill_night-config_core: core 3.6.5 com_electronwill_night-config_toml: toml 3.6.5 geckolib3: Geckolib 3.1.6 com_eliotlash_mclib_mclib: mclib 18 com_eliotlash_molang_molang: molang 18 geodes: More Geodes 1.4.4 gobber2: Gobber2 2.6.23 pugh_lib: Pugh Lib 1.4.10 pugh_tools: Pugh Tools 1.3.13 graveyard: The Graveyard 1.10 inmis: Inmis 2.7.0-1.19 omega-config: OmegaConfig 1.2.3-1.18.1 invview: InvView 1.4.9-1.19+ sgui: sgui 1.0.0-rc6+1.18-pre5 java: Java HotSpot(TM) 64-Bit Server VM 17 journeymap: Journeymap 5.8.5 journeymap-api-fabric: JourneyMap API 1.19-1.8-fabric-SNAPSHOT ledger: Ledger 1.2.5 ledger-databases: Ledger Databases 1.1.1 com_h2database_h2: h2 1.4.200 org_postgresql_postgresql: postgresql 42.3.0 lightsaber: SurvivalPlus Lightsabers 0.1.6d luckperms: LuckPerms 5.4.36 fabric-permissions-api-v0: fabric-permissions-api 0.2-SNAPSHOT mcdw: MC Dungeons Weapons 4.4.1-1.19 enchant_giver: Enchant Giver 1.3.0 reach-entity-attributes: Reach Entity Attributes 2.3.0 midashunger: Midas Hunger 2.1.0+1.19.0 midnightlib: MidnightLib 0.6.0 minecraft: Minecraft 1.19 minimotd-fabric: MiniMOTD 2.0.8 moonlight: Moonlight 1.19-2.0.3 morefrogs: More Frogs 1.19-1.1.0 mtr: Minecraft Transit Railway 1.19-3.0.1 mythicmetals: Mythic Metals 0.15.2-hotfix2 mythicmounts: Mythic Mounts 1.19-7.0 naturalist: Naturalist 2.1.1 nochatreports: No Chat Reports 1.19-v1.2.3 owo: oωo 0.7.3+1.19 patchouli: Patchouli 1.19-74-FABRIC plushables: Plushables 0.1.1 pokeball: PokeBall 1.0.0 prefab: Prefab 4.0.0 puzzleslib: Puzzles Lib 4.0.18 randomium: Randomium 1.19-1.13 reborncore: Reborn Core 5.3.2 team_reborn_energy: Energy 2.2.0 reinfbarrel: Reinforced Barrels 2.1.0+1.19 reinfcore: Reinforced Core 2.1.1+1.19 reinfchest: Reinforced Chests 2.0.1+1.19-rc2 reinfshulker: Reinforced Shulker Boxes 2.0.4+1.19 roughlyenoughitems: Roughly Enough Items 9.1.517 simply_houses: Simply Houses 1.1.3-1.19 smoothboot: Smooth Boot 1.19-1.7.1 sqlite-jdbc: SQLite JDBC 3.36.0.3+20211227 styled-nicknames: Styled Nicknames 1.1.2+1.19 player-data-api: Player Data API 0.1.0+1.18 styledchat: Styled Chat 1.3.3+1.19 placeholder-api: Placeholder API 2.0.0-beta.7+1.19 survivalplus: SurvivalPlus 0.1.6f t_and_t: Towns and Towers - Structure Add-on 1.8 tabtps-fabric: TabTPS 1.3.14 adventure-platform-fabric: adventure-platform-fabric 5.4.0-SNAPSHOT net_kyori_adventure-api: adventure-api 4.11.0 net_kyori_adventure-key: adventure-key 4.11.0 net_kyori_adventure-platform-api: adventure-platform-api 4.1.0 net_kyori_adventure-text-logger-slf4j: adventure-text-logger-slf4j 4.11.0 net_kyori_adventure-text-minimessage: adventure-text-minimessage 4.11.0 net_kyori_adventure-text-serializer-gson: adventure-text-serializer-gson 4.11.0 net_kyori_adventure-text-serializer-plain: adventure-text-serializer-plain 4.11.0 net_kyori_examination-api: examination-api 1.3.0 net_kyori_examination-string: examination-string 1.3.0 cloud: Cloud 1.8.0-SNAPSHOT cloud_commandframeworkcloud-brigadier: cloud-brigadier 1.8.0-SNAPSHOT cloud_commandframeworkcloud-core: cloud-core 1.8.0-SNAPSHOT cloud_commandframeworkcloud-services: cloud-services 1.8.0-SNAPSHOT io_leangen_geantyref_geantyref: geantyref 1.3.13 cloud_commandframework_cloud-minecraft-extras: cloud-minecraft-extras 1.8.0-SNAPSHOT com_typesafe_config: config 1.4.2 net_kyori_adventure-serializer-configurate4: adventure-serializer-configurate4 4.11.0 net_kyori_adventure-text-feature-pagination: adventure-text-feature-pagination 4.0.0-SNAPSHOT net_kyori_adventure-text-serializer-legacy: adventure-text-serializer-legacy 4.11.0 org_spongepowered_configurate-core: configurate-core 4.1.2 org_spongepowered_configurate-hocon: configurate-hocon 4.1.2 techreborn: Tech Reborn 5.3.2 terrablender: TerraBlender 2.0.0.120 terramine: TerraMine 1.5.0+1.19 com_github_llamalad7_mixinextras: MixinExtras 0.0.12 expandability: ExpandAbility 6.0.0 libgui: LibGui 6.0.0-beta.5+1.19-pre1 jankson: Jankson 4.1.1+j1.2.1 blue_endless_jankson: jankson 1.2.1 libninepatch: LibNinePatch 1.1.0 step-height-entity-attribute: Step Height Entity Attribute 1.0.0 textile_backup: Textile Backup 2.4.0-1.19 com_github_shevek_parallelgzip: parallelgzip af5f5c297e735f3f2df7aa4eb0e19a5810b8aff6 org_apache_commons_commons-compress: commons-compress 1.21 org_tukaani_xz: xz 1.9 the_bumblezone: The Bumblezone - Fabric 6.1.4+1.19 fake-player-api: Fake Player API 0.4.0 travelersbackpack: Traveler's Backpack 1.19-8.0.2 trinkets: Trinkets 3.4.0 waystones: Waystones 11.1.0 Server Running: true Player Count: 0 / 20; [] Data Packs: vanilla, Fabric Mods World Generation: Stable Is Modded: Definitely; Server brand changed to 'fabric' Type: Dedicated Server (map_server.txt)

lovepush commented 2 years ago

[21:52:00] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:00] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:00] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:00] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:01] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:01] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:02] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:02] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:03] [Worker-Main-1/INFO]: Preparing spawn area: 0% [21:52:03] [Worker-Main-1/INFO]: Preparing spawn area: 1% [21:52:04] [Worker-Main-1/INFO]: Preparing spawn area: 49% [21:52:04] [Server thread/INFO]: Time elapsed: 5341 ms

[21:52:04] [Server thread/INFO]: ▌ §a开始对接机器人框架 §6┈━═☆ [21:52:04] [Server thread/INFO]: §7[§a§l§7] §a启用框架: §ecqhttp [21:52:04] [WebSocketConnectReadThread-110/INFO]: §7[§a§l§7] §a启用框架: §ecqhttp成功 [21:52:04] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for minecraft:overworld [21:52:04] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for minecraft:the_end [21:52:04] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for edenring:edenring [21:52:04] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for minecraft:the_nether [21:52:04] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Minecraft Transit Railway data successfully loaded for the_bumblezone:the_bumblezone [21:52:04] [Server thread/INFO]: [STDOUT]: BlueMap is not loaded [21:52:04] [Server thread/INFO]: [STDOUT]: Squaremap is not loaded [21:52:05] [Server thread/ERROR]: Encountered an unexpected exception java.lang.ArithmeticException: BigInteger divide by zero at java.math.MutableBigInteger.divide(MutableBigInteger.java:1445) ~[?:?] at java.math.BigDecimal.divideAndRound(BigDecimal.java:4776) ~[?:?] at java.math.BigDecimal.divide(BigDecimal.java:5723) ~[?:?] at java.math.BigDecimal.divide(BigDecimal.java:1636) ~[?:?] at java.math.BigDecimal.divide(BigDecimal.java:1666) ~[?:?] at net.minecraft.server.MinecraftServer.handler$dbc001$injectTick(MinecraftServer.java:11823) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_3748(MinecraftServer.java:857) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.handler$zmk000$modifiedRunLoop(MinecraftServer.java:6380) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29741(MinecraftServer.java:644) ~[server-intermediary.jar:?] at net.minecraft.server.MinecraftServer.method_29739(MinecraftServer.java:258) ~[server-intermediary.jar:?] at java.lang.Thread.run(Thread.java:833) [?:?] [21:52:05] [Server thread/ERROR]: This crash report has been saved to: U:\Minecraft-1.19.2-MCDR\server.\crash-reports\crash-2022-08-24_21.52.05-server.txt [21:52:05] [Server thread/INFO]: ▌ §c正在关闭群服互联 §a┈━═☆ [21:52:05] [WebSocketConnectReadThread-110/INFO]: §b[群服互联] §c退出连接

cnlimiter commented 2 years ago

This bug will be fixed this saturday.

cnlimiter commented 1 year ago

Fixed, you can now use /tps command by Custom-Cmd function.