Skocz do zawartości
  • 👋 Witaj na MPCForum!

    Przeglądasz forum jako gość, co oznacza, że wiele świetnych funkcji jest jeszcze przed Tobą! 😎

    • Pełny dostęp do działów i ukrytych treści
    • Możliwość pisania i odpowiadania w tematach
    • System prywatnych wiadomości
    • Zbieranie reputacji i rozwijanie swojego profilu
    • Członkostwo w jednej z największych społeczności graczy

    👉 Dołączenie zajmie Ci mniej niż minutę – a zyskasz znacznie więcej!

    Zarejestruj się teraz

[Problem] Package i main (JAVA)


Gość RakNieBoRak

Rekomendowane odpowiedzi

Opublikowano

Hej witajcie.


Dziś zaczałęm pisać pluginy.Okej.


Mam problem z tym:


 


---- Minecraft Crash Report ----


// Uh... Did I do that?

 

Time: 19.11.14 17:10

Description: Exception in server tick loop

 

java.lang.NullPointerException: Exception in server tick loop

at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:282)

at net.minecraft.server.v1_7_R1.DedicatedServer.a(DedicatedServer.java:228)

at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:465)

at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)

 

 

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

---------------------------------------------------------------------------------------

 

-- System Details --

Details:

Minecraft Version: 1.7.2

Operating System: Windows 7 (x86) version 6.1

Java Version: 1.7.0_80-ea, Oracle Corporation

Java VM Version: Java HotSpot Client VM (mixed mode), Oracle Corporation

Memory: 6576032 bytes (6 MB) / 17240064 bytes (16 MB) up to 1060372480 bytes (1011 MB)

JVM Flags: 2 total; -Xincgc -Xmx1G

AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used

IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0

CraftBukkit Information: 

   Running: 

   Failed to handle CraftCrashReport:

java.lang.NullPointerException

at org.bukkit.Bukkit.getName(Bukkit.java:74)

at org.bukkit.craftbukkit.v1_7_R1.CraftCrashReport.call(CraftCrashReport.java:20)

at net.minecraft.server.v1_7_R1.CrashReportSystemDetails.a(SourceFile:74)

at net.minecraft.server.v1_7_R1.CrashReport.h(CrashReport.java:45)

at net.minecraft.server.v1_7_R1.CrashReport.<init>(CrashReport.java:33)

at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:474)

at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)

 

Profiler Position: N/A (disabled)

Is Modded: ~~ERROR~~ NullPointerException: null

Type: Dedicated Server (map_server.txt)

 

 

 

 


[17:15:47] [server thread/ERROR]: Encountered an unexpected exception

net.minecraft.server.v1_7_R1.ExceptionWorldConflict: The save is being accessed from another location, aborting

at net.minecraft.server.v1_7_R1.WorldNBTStorage.checkSession(WorldNBTStorage.java:72) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.World.F(World.java:2542) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.WorldServer.a(WorldServer.java:778) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.WorldServer.save(WorldServer.java:762) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.MinecraftServer.saveChunks(MinecraftServer.java:359) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:563) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

[17:15:47] [server thread/ERROR]: This crash report has been saved to: C:\Users\Oktawian\Desktop\Pryzykład\.\crash-reports\crash-2014-11-19_17.15.47-server.txt

in.SimplePluginManager.loadPlugin(SimplePluginManager.java:313) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at org.bukkit.plugin.SimplePluginManager.loadPlugins(SimplePluginManager.java:236) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at org.bukkit.craftbukkit.v1_7_R1.CraftServer.loadPlugins(CraftServer.java:350) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at org.bukkit.craftbukkit.v1_7_R1.CraftServer.<init>(CraftServer.java:312) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.PlayerList.<init>(PlayerList.java:63) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.DedicatedPlayerList.<init>(SourceFile:14) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.DedicatedServer.init(DedicatedServer.java:126) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:424) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617) [craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

Caused by: java.lang.ClassNotFoundException: me.kamynxd.tutorial.Main

at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_80-ea]

at java.net.URLClassLoader$1.run(Unknown Source) ~[?:1.7.0_80-ea]

at java.security.AccessController.doPrivileged(Native Method) ~[?:1.7.0_80-ea]

at java.net.URLClassLoader.findClass(Unknown Source) ~[?:1.7.0_80-ea]

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:77) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at org.bukkit.plugin.java.PluginClassLoader.findClass(PluginClassLoader.java:62) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_80-ea]

at java.lang.ClassLoader.loadClass(Unknown Source) ~[?:1.7.0_80-ea]

at java.lang.Class.forName0(Native Method) ~[?:1.7.0_80-ea]

at java.lang.Class.forName(Unknown Source) ~[?:1.7.0_80-ea]

at org.bukkit.plugin.java.PluginClassLoader.<init>(PluginClassLoader.java:40) ~[craftbukkit.jar:git-Bukkit-1.7.2-R0.3-b3020jnks]

... 10 more

[17:12:43] [server thread/INFO]: Preparing level "world"



 

 

Wszystko mam dobrze. Chyba...

Tu foto 1/40 pluginu ^^:

2145114164146191010629.png

3842914164146191010629.png

Opublikowano

jeszcze ps.

zamiast robić takie coś:

this.logger.info("cos zostalo wlaczone");

i:

public final Logger logger = Logger.getLogger("Minecraft");

można:

System.out.print("Cos zostalo wlaczone ;-)");

Zarchiwizowany

Ten temat przebywa obecnie w archiwum. Dodawanie nowych odpowiedzi zostało zablokowane.

×
×
  • Dodaj nową pozycję...