Comments (5)
This appears to be the main issue:
15:00:34.855 [main] ERROR o.t.engine.core.modes.StateLoading - Error while loading org.terasology.engine.core.modes.loadProcesses.LoadPrefabs@7d7097af
java.lang.IllegalArgumentException: Can not set java.util.SortedMap field org.terasology.crafting.listCrafting.components.ListRecipesComponent.recipes to java.util.LinkedHashMap
at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:167)
at java.base/jdk.internal.reflect.UnsafeFieldAccessorImpl.throwSetIllegalArgumentException(UnsafeFieldAccessorImpl.java:171)
at java.base/jdk.internal.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:81)
at java.base/java.lang.reflect.Field.set(Field.java:780)
at org.terasology.reflection.reflect.ReflectionReflectFactory$ReflectionFieldAccessor.setValue(ReflectionReflectFactory.java:127)
at org.terasology.reflection.metadata.FieldMetadata.setValue(FieldMetadata.java:173)
at org.terasology.persistence.typeHandling.Serializer.deserializeOnto(Serializer.java:84)
at org.terasology.persistence.typeHandling.Serializer.deserializeOnto(Serializer.java:140)
at org.terasology.engine.persistence.serializers.ComponentSerializer.deserializeOnto(ComponentSerializer.java:185)
at org.terasology.engine.persistence.serializers.ComponentSerializer.deserialize(ComponentSerializer.java:101)
at org.terasology.engine.persistence.serializers.PrefabSerializer.applyComponentChanges(PrefabSerializer.java:152)
at org.terasology.engine.persistence.serializers.PrefabSerializer.deserialize(PrefabSerializer.java:124)
at org.terasology.engine.persistence.serializers.PrefabSerializer.deserialize(PrefabSerializer.java:104)
at org.terasology.engine.entitySystem.prefab.internal.PrefabFormat.load(PrefabFormat.java:45)
at org.terasology.engine.entitySystem.prefab.internal.PrefabFormat.load(PrefabFormat.java:23)
at org.terasology.gestalt.assets.format.producer.UnloadedAssetData$AssetSourceResolver.load(UnloadedAssetData.java:311)
at org.terasology.gestalt.assets.format.producer.UnloadedAssetData.load(UnloadedAssetData.java:181)
at org.terasology.gestalt.assets.format.producer.AssetFileDataProducer.getAssetData(AssetFileDataProducer.java:227)
at org.terasology.gestalt.assets.AssetType.lambda$reload$2(AssetType.java:360)
at java.base/java.security.AccessController.doPrivileged(Native Method)
at org.terasology.gestalt.assets.AssetType.reload(AssetType.java:358)
at org.terasology.gestalt.assets.AssetType.getNormalAsset(AssetType.java:387)
at org.terasology.gestalt.assets.AssetType.getAsset(AssetType.java:265)
at org.terasology.gestalt.assets.management.AssetManager.getAsset(AssetManager.java:225)
at org.terasology.engine.core.modes.loadProcesses.LoadPrefabs.step(LoadPrefabs.java:30)
at org.terasology.engine.core.modes.StateLoading.update(StateLoading.java:259)
The ListRecipesComponent
component in the BasicCrafting
module is failing to deserialise.
public class ListRecipesComponent implements Component<ListRecipesComponent>, RecipeComponent {
public List<String> categories = Collections.singletonList("InHand");
public SortedMap<String, ListRecipeContainer> recipes = new TreeMap<>();
I'll need to double-check if SortedMap
is supported.
from terasology.
Did you manually enable the BasicCrafting
module yourself? It still needs to be fixed but it shouldn't be enabled by-default. If you disable it then the game should load.
from terasology.
yes i did. will give it a shot. ty
from terasology.
Hey there @ , we want to express our appreciation for your initial contribution to this issue. However, we now mark it as stale since we haven't received any response from you in the past 30 days. If you're still available, we would greatly appreciate it if you could provide answers to any open questions and/or share the requested feedback/input. Thank you for your consideration, we hope to hear from you soon!
from terasology.
Hey there @ , we want to express our appreciation for your initial contribution to this issue. However, we now mark it as closed since we haven't received any response from you in the past 90 days. If you're still available, we would greatly appreciate it if you could provide answers to any open questions and/or share the requested feedback/input. Thank you for your consideration, we hope to hear from you soon!
from terasology.
Related Issues (20)
- A link (Gooey Tour) in the Contributor Guide is not working (Terasology Website)
- Crash on F5
- Crash when trying to start the game HOT 4
- Bug on trying to change display mode to fullscreen : cursor disappears HOT 4
- Bug on trying to break a block HOT 5
- Crash when pressing CTRL HOT 4
- Bug on trying to apply AZERTY input settings HOT 3
- Bug on trying to change display settings to windowed fullscreen HOT 6
- Add setting for tone mapping HOT 4
- Chest name displaying incorrectly HOT 6
- Inventory management shortcut HOT 1
- [macOS Sonoma] Crash "No context is current or a function that is not available in the current context was called" HOT 6
- Revisit Sonar for Terasology
- Outdated Documentation and Broken Links HOT 2
- No UI error on headless server on player death
- Roadmap for refactor and improvement of player movement code HOT 1
- SocketException on Arch Linux with Java 21 HOT 2
- Workspace Setup Issues on Windows HOT 5
- Is the game legal or not?? We need an answer from the developers HOT 6
- RepositoryNotFoundException HOT 8
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terasology.