Eintragsdetails ansehen
ID | Projekt | Kategorie | Sichtbarkeit | Meldungsdatum | Zuletzt aktualisiert |
---|---|---|---|---|---|
0000271 | Magellan | Allgemein | öffentlich | 2008-07-06 15:41 | 2008-07-23 13:41 |
Reporter | habedublin | Bearbeitung durch | Fiete | ||
Priorität | normal | Schweregrad | Blocker | Reproduzierbar | immer |
Status | erledigt | Lösung | erledigt | ||
Produktversion | 2.0.2 | ||||
Behoben in Version | 2.0.3 (Planung) | ||||
Zusammenfassung | 0000271: NullPointerException beim zusammenfügen von Reporten | ||||
Beschreibung | Exception while merging report java.lang.NullPointerException at magellan.library.GameData.mergeIt(GameData.java:1146) at magellan.library.GameData.merge(GameData.java:711) at magellan.library.utils.ReportMerger.mergeReport(ReportMerger.java:719) at magellan.library.utils.ReportMerger.mergeThread(ReportMerger.java:450) at magellan.library.utils.ReportMerger.access$000(ReportMerger.java:43) at magellan.library.utils.ReportMerger$1.run(ReportMerger.java:415) at java.lang.Thread.run(Unknown Source) | ||||
Tags | Keine Tags zugeordnet. | ||||
Project | Magellan 2 | ||||
|
Die NPE habe ich versucht, abzufangen. Es betrifft die Ermittlung der Region eines Gebäudes beim Mergen von Gebäuden. Die Herkunft ist mir noch unklar, wenn das jetzt klappt, könnte ich eine Version basteln, in welcher die Daten des betreffenden Gebäudes ausgegeben werden und dann können wir mal in den CR schauen (lassen) Build 214 ist erstellt, die entscheidenden Dateien versuche ich gleich hier anzuhängen. |
2008-07-07 11:13
|
|
|
Hallo, mit den neuen jar's funktioniert das Mergen. Danke für die schnelle Hilfe. |
|
Sorry, mag Dich noch nicht entlassen. Wir wissen jetzt, wo der Fehler liegt, ober nicht die genaue Ursache. Er tritt bei Mag1 + Mag2 auf. Wenn Du an der Fehlerfindung mitarbeiten magst, versuche bitte folgendes: 1) Lösche die errors.txt (oder benenne sie um, falls für dich wichtig) 2) Ersetze bitte nochmals die magellan-libraray.jar 3) Führe das mergen bitte nochmal aus 4) errors.txt an mich, bzw schau selbst nach, ich befürchte, ganz unten steht was von Building without Region!...die zeile bräuchte ich bitte. Da ist ne ID in Base36 schreibweise, und die liefert einen Hinweis auf die Stelle in dem CR, die den Fehler verursacht. Entweder ein Fehler im CR oder im Magellan-Parser. Danke! |
2008-07-08 08:31
|
|
2008-07-08 18:47
|
errors.txt (12,831 Bytes)
(WW) 08.07.2008 18:44:57.573: Start writing error file with encoding ISO8859_1, log level INFO (WW) 08.07.2008 18:44:57.593: This is Magellan Version 2.0.2 (build 206) (WW) 08.07.2008 18:44:57.593: OS: Windows XP x86 5.1 (WW) 08.07.2008 18:44:57.603: Java Version: 1.6.0_05 Sun Microsystems Inc. (WW) 08.07.2008 18:44:57.603: Java Spec: 1.6 Sun Microsystems Inc. Java Platform API Specification (WW) 08.07.2008 18:44:57.613: VM Version: 10.0-b19 Sun Microsystems Inc. Java HotSpot(TM) Client VM (WW) 08.07.2008 18:44:57.613: VM Specification: 1.0 Sun Microsystems Inc. Java Virtual Machine Specification (WW) 08.07.2008 18:44:57.623: Java Class Version: 50.0 Tue Jul 08 18:44:57 CEST 2008 (II) 08.07.2008 18:44:57.833: Client.loadSettings: successfully loaded E:\Eressea\magelan202\.\magellan.ini (II) 08.07.2008 18:44:57.843: GUI locale: dede, orders locale: dede (II) 08.07.2008 18:44:59.326: MagellanLookAndfeel.setLookAndFeel(Windows): class magellan.client.swing.MagellanLookAndFeel$MagLookAndFeelWrapper, Windows, Windows (II) 08.07.2008 18:44:59.376: Searching for magellan plugins... (II) 08.07.2008 18:44:59.396: Searching E:\Eressea\magelan202\magellan-client.jar... (II) 08.07.2008 18:44:59.416: Searching E:\Eressea\magelan202\.\magellan-plugins.jar... (II) 08.07.2008 18:44:59.426: Found magellan.plugin.MagellanMapEditPlugIn (II) 08.07.2008 18:44:59.436: Found magellan.plugin.extendedcommands.ExtendedCommandsPlugIn (II) 08.07.2008 18:44:59.446: Searching for magellan plugins done. Found 2 instances in 70 msecs (II) 08.07.2008 18:44:59.456: Initializing resources for prefix...'mapedit_' (II) 08.07.2008 18:44:59.466: Searching resources in E:\Eressea\magelan202\.\etc (II) 08.07.2008 18:44:59.476: Load resource 'mapedit_resources.properties' as default (II) 08.07.2008 18:44:59.476: Load resource 'mapedit_resources_de.properties' as de (II) 08.07.2008 18:44:59.486: MapEdit initialized...(client) (II) 08.07.2008 18:44:59.496: Initializing resources for prefix...'extendedcommands_' (II) 08.07.2008 18:44:59.496: Searching resources in E:\Eressea\magelan202\.\etc (II) 08.07.2008 18:44:59.506: Load resource 'extendedcommands_resources.properties' as default (II) 08.07.2008 18:44:59.526: Load resource 'extendedcommands_resources_de.properties' as de (II) 08.07.2008 18:44:59.576: Reading XML E:\Eressea\magelan202\.\extendedcommands.xml (II) 08.07.2008 18:44:59.816: Found 0 unitcontainer commands (II) 08.07.2008 18:44:59.816: Found 0 unit commands (II) 08.07.2008 18:44:59.816: ExtendedCommands initialized...(Client) (II) 08.07.2008 18:44:59.876: Searching for additional renderers... (II) 08.07.2008 18:44:59.997: Checking magellan-client.jar...Nothing found! (II) 08.07.2008 18:45:00.007: Checking magellan-help.jar...Nothing found! (II) 08.07.2008 18:45:00.017: Checking magellan-library.jar...Nothing found! (II) 08.07.2008 18:45:00.017: Checking magellan-plugins.jar...Nothing found! (II) 08.07.2008 18:45:00.067: Checking xxx_magellan-client.jar...Nothing found! (II) 08.07.2008 18:45:00.087: Checking xxx_magellan-library.jar...Nothing found! (II) 08.07.2008 18:45:00.097: Searching for additional renderers done. Found 0 instances in 221 msecs (EE) 08.07.2008 18:45:00.978: ImageFactory.loadImage(background): found:false (II) 08.07.2008 18:45:02.821: Checking for dock-providers...(MagellanPlugIns) (II) 08.07.2008 18:45:02.901: Using Desktopfile: E:\Eressea\magelan202\.\magellan_desktop.ini (II) 08.07.2008 18:45:02.951: Parsing split-set definition for "Standard"... (II) 08.07.2008 18:45:02.951: Successful! (II) 08.07.2008 18:45:02.961: Loading layout "Standard"...Successful! (II) 08.07.2008 18:45:03.722: Loading Docking Layouts (II) 08.07.2008 18:45:05.384: Found 1 Docking layouts. (WW) 08.07.2008 18:45:05.384: Lade Layout Standard (II) 08.07.2008 18:45:05.394: Loaded 1 Docking layouts. (II) 08.07.2008 18:45:06.105: Don't remove Menu Entry Exportiere Layouts (javax.swing.JMenu$1) (II) 08.07.2008 18:45:06.115: Don't remove Menu Entry Importiere Layouts (javax.swing.JMenu$1) (II) 08.07.2008 18:45:06.115: Don't remove Menu Entry Neues Layout anlegen (javax.swing.JMenu$1) (II) 08.07.2008 18:45:06.125: Don't remove Menu Entry Speichere Layouts (javax.swing.JMenu$1) (II) 08.07.2008 18:45:06.125: Don't remove Menu Entry L?sche dieses Layout (javax.swing.JMenu$1) (II) 08.07.2008 18:45:06.135: Add Layout Menu Entry (0): Standard (II) 08.07.2008 18:45:06.366: Checking for menu-providers... (II) 08.07.2008 18:45:06.386: Checking for menu-providers...(MagellanPlugIns) (II) 08.07.2008 18:45:08.749: Newest Version on server: 2.0.2 (build 206) (II) 08.07.2008 18:45:08.749: Current Version: 2.0.2 (build 206) (II) 08.07.2008 18:45:09.270: Loading report E:\Eressea\Zwerge v. Earkdenn\zuege\zve_2008_07_06_one zusammenfuegen.cr (II) 08.07.2008 18:45:11.032: Done. (II) 08.07.2008 18:45:11.032: start GameData postProcess (II) 08.07.2008 18:45:11.383: finished GameData postProcess (II) 08.07.2008 18:45:11.413: starting calculation of coasts (II) 08.07.2008 18:45:11.443: finished calculation of coasts, found 572 coasts. (II) 08.07.2008 18:45:14.087: MapEdit initialized...(GameData) (II) 08.07.2008 18:45:14.097: ExtendedCommands initialized...(GameData) (EE) 08.07.2008 18:45:15.148: ImageFactory.loadImage(etc/images/icons/items/pferde): found:false (WW) 08.07.2008 18:45:25.033: Start writing error file with encoding ISO8859_1, log level INFO (WW) 08.07.2008 18:45:25.043: This is Magellan Version 2.0.2 (build 206) (WW) 08.07.2008 18:45:25.053: OS: Windows XP x86 5.1 (WW) 08.07.2008 18:45:25.053: Java Version: 1.6.0_05 Sun Microsystems Inc. (WW) 08.07.2008 18:45:25.063: Java Spec: 1.6 Sun Microsystems Inc. Java Platform API Specification (WW) 08.07.2008 18:45:25.073: VM Version:Tue Jul 08 18:45:25 CEST 2008 10.0-b19 Sun Microsystems Inc. Java HotSpot(TM) Client VM (WW) 08.07.2008 18:45:25.103: VM Specification: 1.0 Sun Microsystems Inc. Java Virtual Machine Specification (WW) 08.07.2008 18:45:25.113: Java Class Version: 50.0 (II) 08.07.2008 18:45:25.233: Client.loadSettings: successfully loaded E:\Eressea\magelan202\.\magellan.ini (II) 08.07.2008 18:45:25.243: GUI locale: dede, orders locale: dede (II) 08.07.2008 18:45:25.523: MagellanLookAndfeel.setLookAndFeel(Windows): class magellan.client.swing.MagellanLookAndFeel$MagLookAndFeelWrapper, Windows, Windows (II) 08.07.2008 18:45:25.553: Searching for magellan plugins... (II) 08.07.2008 18:45:25.563: Searching E:\Eressea\magelan202\magellan-client.jar... (II) 08.07.2008 18:45:25.583: Searching E:\Eressea\magelan202\.\magellan-plugins.jar... (II) 08.07.2008 18:45:25.603: Found magellan.plugin.MagellanMapEditPlugIn (II) 08.07.2008 18:45:25.613: Found magellan.plugin.extendedcommands.ExtendedCommandsPlugIn (II) 08.07.2008 18:45:25.613: Searching for magellan plugins done. Found 2 instances in 60 msecs (II) 08.07.2008 18:45:25.633: Initializing resources for prefix...'extendedcommands_' (II) 08.07.2008 18:45:25.643: Searching resources in E:\Eressea\magelan202\.\etc (II) 08.07.2008 18:45:25.643: Load resource 'extendedcommands_resources.properties' as default (II) 08.07.2008 18:45:25.653: Load resource 'extendedcommands_resources_de.properties' as de (II) 08.07.2008 18:45:25.683: Reading XML E:\Eressea\magelan202\.\extendedcommands.xml (II) 08.07.2008 18:45:25.774: Found 0 unitcontainer commands (II) 08.07.2008 18:45:25.774: Found 0 unit commands (II) 08.07.2008 18:45:25.784: ExtendedCommands initialized...(Client) (II) 08.07.2008 18:45:25.784: Initializing resources for prefix...'mapedit_' (II) 08.07.2008 18:45:25.794: Searching resources in E:\Eressea\magelan202\.\etc (II) 08.07.2008 18:45:25.804: Load resource 'mapedit_resources.properties' as default (II) 08.07.2008 18:45:25.804: Load resource 'mapedit_resources_de.properties' as de (II) 08.07.2008 18:45:25.814: MapEdit initialized...(client) (II) 08.07.2008 18:45:25.834: Searching for additional renderers... (II) 08.07.2008 18:45:25.914: Checking magellan-client.jar...Nothing found! (II) 08.07.2008 18:45:25.924: Checking magellan-help.jar...Nothing found! (II) 08.07.2008 18:45:25.944: Checking magellan-library.jar...Nothing found! (II) 08.07.2008 18:45:25.944: Checking magellan-plugins.jar...Nothing found! (II) 08.07.2008 18:45:25.964: Checking xxx_magellan-client.jar...Nothing found! (II) 08.07.2008 18:45:25.974: Checking xxx_magellan-library.jar...Nothing found! (II) 08.07.2008 18:45:25.974: Searching for additional renderers done. Found 0 instances in 130 msecs (EE) 08.07.2008 18:45:26.435: ImageFactory.loadImage(background): found:false (II) 08.07.2008 18:45:27.476: Checking for dock-providers...(MagellanPlugIns) (II) 08.07.2008 18:45:27.506: Using Desktopfile: E:\Eressea\magelan202\.\magellan_desktop.ini (II) 08.07.2008 18:45:27.516: Parsing split-set definition for "Standard"... (II) 08.07.2008 18:45:27.526: Successful! (II) 08.07.2008 18:45:27.526: Loading layout "Standard"...Successful! (II) 08.07.2008 18:45:28.037: Loading Docking Layouts (II) 08.07.2008 18:45:29.249: Found 1 Docking layouts. (WW) 08.07.2008 18:45:29.259: Lade Layout Standard (II) 08.07.2008 18:45:29.259: Loaded 1 Docking layouts. (II) 08.07.2008 18:45:29.990: Don't remove Menu Entry Exportiere Layouts (javax.swing.JMenu$1) (II) 08.07.2008 18:45:30.000: Don't remove Menu Entry Importiere Layouts (javax.swing.JMenu$1) (II) 08.07.2008 18:45:30.000: Don't remove Menu Entry Neues Layout anlegen (javax.swing.JMenu$1) (II) 08.07.2008 18:45:30.010: Don't remove Menu Entry Speichere Layouts (javax.swing.JMenu$1) (II) 08.07.2008 18:45:30.020: Don't remove Menu Entry L?sche dieses Layout (javax.swing.JMenu$1) (II) 08.07.2008 18:45:30.030: Add Layout Menu Entry (0): Standard (II) 08.07.2008 18:45:30.250: Checking for menu-providers... (II) 08.07.2008 18:45:30.280: Checking for menu-providers...(MagellanPlugIns) (II) 08.07.2008 18:45:34.386: Newest Version on server: 2.0.2 (build 206) (II) 08.07.2008 18:45:34.386: Current Version: 2.0.2 (build 206) (II) 08.07.2008 18:45:34.957: Loading report E:\Eressea\Zwerge v. Earkdenn\zuege\zve_2008_07_06_one zusammenfuegen.cr (II) 08.07.2008 18:45:37.000: Done. (II) 08.07.2008 18:45:37.010: start GameData postProcess (II) 08.07.2008 18:45:37.380: finished GameData postProcess (II) 08.07.2008 18:45:37.440: starting calculation of coasts (II) 08.07.2008 18:45:37.470: finished calculation of coasts, found 572 coasts. (II) 08.07.2008 18:45:41.096: ExtendedCommands initialized...(GameData) (II) 08.07.2008 18:45:41.096: MapEdit initialized...(GameData) (EE) 08.07.2008 18:45:41.737: ImageFactory.loadImage(etc/images/icons/items/pferde): found:false (II) 08.07.2008 18:46:03.918: Loading report E:\Eressea\Zwerge v. Earkdenn\zuege\zve_2008_06_29.cr (II) 08.07.2008 18:46:06.082: Done. (II) 08.07.2008 18:46:06.082: start GameData postProcess (II) 08.07.2008 18:46:06.152: finished GameData postProcess (II) 08.07.2008 18:46:06.182: starting calculation of coasts (II) 08.07.2008 18:46:06.222: finished calculation of coasts, found 1076 coasts. (EE) 08.07.2008 18:46:06.622: ImageFactory.loadImage(etc/images/icons/items/amulett der keuschheit): found:false (II) 08.07.2008 18:46:07.113: MapEdit initialized...(GameData) (II) 08.07.2008 18:46:07.123: ExtendedCommands initialized...(GameData) (II) 08.07.2008 18:46:25.209: Loading report E:\Eressea\aktuell.cr (II) 08.07.2008 18:46:26.481: Done. (II) 08.07.2008 18:46:26.481: start GameData postProcess (II) 08.07.2008 18:46:26.531: finished GameData postProcess (II) 08.07.2008 18:46:28.233: Found 1 translations in layer 0 for aktuell.cr (best(maxScore):RegionID, BuildingID, RegionName: 0, 0 = 972) (II) 08.07.2008 18:46:28.233: no known translation (no translation saved in CR) (II) 08.07.2008 18:46:28.243: Using this translation: 0, 0 (II) 08.07.2008 18:46:28.243: Old Encoding: UTF-8 (II) 08.07.2008 18:46:28.253: New Encoding: UTF-8 (II) 08.07.2008 18:46:28.253: Result: UTF-8 (EE) 08.07.2008 18:46:28.293: java.lang.NullPointerException at magellan.library.GameData.mergeIt(GameData.java:1146) at magellan.library.GameData.merge(GameData.java:711) at magellan.library.utils.ReportMerger.mergeReport(ReportMerger.java:719) at magellan.library.utils.ReportMerger.mergeThread(ReportMerger.java:450) at magellan.library.utils.ReportMerger.access$000(ReportMerger.java:43) at magellan.library.utils.ReportMerger$1.run(ReportMerger.java:415) at java.lang.Thread.run(Unknown Source) (II) 08.07.2008 18:46:30.807: starting calculation of coasts (II) 08.07.2008 18:46:30.877: finished calculation of coasts, found 1076 coasts. (II) 08.07.2008 18:46:30.987: MapEdit initialized...(GameData) (II) 08.07.2008 18:46:30.997: ExtendedCommands initialized...(GameData) |
|
Hallo, ich helfe gerne weiter. habe meine error.txt als Anhang hochgeladen. |
|
Hm, da ist immer noch ein Fehler....: (EE) 08.07.2008 18:46:28.293: java.lang.NullPointerException at magellan.library.GameData.mergeIt(GameData.java:1146) at magellan.library.GameData.merge(GameData.java:711) at magellan.library.utils.ReportMerger.mergeReport(ReportMerger.java:719) at magellan.library.utils.ReportMerger.mergeThread(ReportMerger.java:450) at magellan.library.utils.ReportMerger.access$000(ReportMerger.java:43) at magellan.library.utils.ReportMerger$1.run(ReportMerger.java:415) at java.lang.Thread.run(Unknown Source) Jetzt gerade muss ich zweifeln, ob das die alte 206er Version ist oder die neue. Machen wir weiter? Bitte den aktuellen nightly Build installieren und test wiederholen...ich erwarte anstelle der NullPointerException eigentlich eine Fehlermeldung bzw zumindest andere Zeilennummer.... Danke |
|
Wir können abkürzen: bist du durch ein Portal gegangen? Dann ist der Bug von Enno gefunden + gefixed worden. Fiete |
2008-07-13 19:44
|
errors_neu.txt (1,242 Bytes)
(II) 13.07.2008 19:41:30.271: Loading report E:\Eressea\aktuell.cr (II) 13.07.2008 19:41:31.783: Done. (II) 13.07.2008 19:41:31.793: start GameData postProcess (II) 13.07.2008 19:41:31.853: finished GameData postProcess (II) 13.07.2008 19:41:33.065: Found 1 translations in layer 0 for aktuell.cr (best(maxScore):RegionID, BuildingID, RegionName: 0, 0 = 972) (II) 13.07.2008 19:41:33.075: DEBUG: all found translations: (II) 13.07.2008 19:41:33.075: RegionID, BuildingID, RegionName: 0, 0 = 972 (II) 13.07.2008 19:41:33.075: no known translation (no translation saved in CR) (II) 13.07.2008 19:41:33.085: Using this translation: 0, 0 (II) 13.07.2008 19:41:33.085: Old Encoding: UTF-8 (II) 13.07.2008 19:41:33.095: New Encoding: UTF-8 (II) 13.07.2008 19:41:33.095: Result: UTF-8 (EE) 13.07.2008 19:41:33.125: Ship without Region! (II) 13.07.2008 19:41:33.706: start GameData postProcess (II) 13.07.2008 19:41:33.736: finished GameData postProcess (II) 13.07.2008 19:41:33.816: starting calculation of coasts (II) 13.07.2008 19:41:33.846: finished calculation of coasts, found 1078 coasts. (II) 13.07.2008 19:41:33.956: MapEdit initialized...(GameData) (II) 13.07.2008 19:41:33.956: ExtendedCommands initialized...(GameData) |
|
Da ich durch kein Portal gegangen bin, habe ich eine neue error.txt hochgeladen |
|
Enno hat einen analogen Fehler entdeckt und behoben. Der Code wurde angepasst, eine NPE tritt nicht mehr auf, anstelle eine Fehlerinfo. |
Änderungsdatum | Benutzername | Feld | Änderung |
---|---|---|---|
2008-07-06 15:41 | habedublin | Neuer Eintrag | |
2008-07-07 08:46 | Fiete | Status | neu => zugewiesen |
2008-07-07 08:46 | Fiete | Bearbeitung durch | => Enno |
2008-07-07 08:46 | Fiete | Bearbeitung durch | Enno => Fiete |
2008-07-07 11:13 | Fiete | Datei hinzugefügt: magellan-client.jar | |
2008-07-07 11:14 | Fiete | Datei hinzugefügt: magellan-library.jar | |
2008-07-07 11:14 | Fiete | Beziehung hinzugefügt | verwandt mit 0000287 |
2008-07-08 08:28 | Fiete | Datei gelöscht: magellan-library.jar | |
2008-07-08 08:31 | Fiete | Datei hinzugefügt: magellan-library.jar | |
2008-07-08 18:47 | habedublin | Datei hinzugefügt: errors.txt | |
2008-07-13 19:44 | habedublin | Datei hinzugefügt: errors_neu.txt | |
2008-07-23 13:41 | Fiete | Status | zugewiesen => erledigt |
2008-07-23 13:41 | Fiete | Behoben in Version | => 2.0.3 (Planung) |
2008-07-23 13:41 | Fiete | Lösung | offen => erledigt |