magefree / magefree/mage

1.4.56-V2 IllegalAccessError Exception in main thread when starting local server

Open
#13,315 8 comments 0 reactions 1 assignee Claimed by @JayDi85 View on GitHub
bug server
Dominant language
Java
Stars
2.4k
Forks
940
Avg merge
2d 12h
Merged PRs (30d)
160

Description

Whenever I start a local server after update I run into this exception.

There is no message showing server failed to start, but the Client is unable to connect.

I have tried forced update and deleting current installation.

```
INFO 2025-02-08 10:21:57,494 Starting MAGE SERVER version: 1.4.56-V2 (build: 2025-02-08 13:54) =>[main] Main.main
INFO 2025-02-08 10:21:57,495 Java version: 1.8.0_201 =>[main] Main.main
INFO 2025-02-08 10:21:57,495 Logging level: INFO =>[main] Main.main
INFO 2025-02-08 10:21:57,496 Default charset: windows-1252 =>[main] Main.main
INFO 2025-02-08 10:21:57,497 Reading configuration from path=config\config.xml =>[main] Main.main
INFO 2025-02-08 10:21:57,647 Loading database... =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,960 Database stats: =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,961 - sets: 525 =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,961 - cards: 81659 =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,961 - tokens: 2049 =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,961 - emblems: 130 =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,961 - planes: 21 =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,961 - dungeons: 3 =>[main] RepositoryUtil.bootstrapLocalDb
INFO 2025-02-08 10:22:00,962 Done. =>[main] Main.main
INFO 2025-02-08 10:22:00,962 Loading extension packages... =>[main] Main.main
INFO 2025-02-08 10:22:00,962 Done. =>[main] Main.main
INFO 2025-02-08 10:22:00,963 Loading cards... =>[main] Main.main
INFO 2025-02-08 10:22:14,572 Done. =>[main] Main.main
INFO 2025-02-08 10:22:14,572 Updating user stats DB... =>[main] Main.main
INFO 2025-02-08 10:22:14,849 Done. =>[main] Main.main
Exception in thread "main" java.lang.IllegalAccessError: tried to access field mage.player.ai.ComputerPlayer.COMPUTER_MAX_THREADS_FOR_SIMULATIONS from class mage.player.ai.ComputerPlayer6
at mage.player.ai.ComputerPlayer6.(ComputerPlayer6.java:58)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:348)
at mage.server.Main.loadPlugin(Main.java:511)
at mage.server.Main.main(Main.java:218)

```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.