Modify

Opened 9 years ago

Closed 9 years ago

#10948 closed defect (duplicate)

Error when extracting PBF files.

Reported by: fernandodunha@… Owned by: Don-vip
Priority: critical Milestone:
Component: Plugin pbf Version: latest
Keywords: Cc:

Description

I Got this error when trying to export my osm to osm.pbf

What can i do to solve this?

Revision: 7906
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2014-12-29 00:13:58 +0100 (Mon, 29 Dec 2014)
Build-Date: 2014-12-29 00:11:17
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 7906

Identification: JOSM/1.5 (7906 pt_BR) Windows 7 64-Bit
Memory Usage: 388 MB / 910 MB (241 MB allocated, but free)
Java version: 1.8.0_25, Oracle Corporation, Java HotSpot(TM) 64-Bit Server VM
Dataset consistency test: No problems found

Plugins:
- buildings_tools (30892)
- pbf (30892)
- turnrestrictions (30892)

Last errors/warnings:
- E: org.openstreetmap.josm.io.IllegalDataException: java.lang.IndexOutOfBoundsException: Index: 0. Causa: java.lang.IndexOutOfBoundsException: Index: 0
- E: java.lang.NullPointerException
- E: java.lang.NullPointerException

java.lang.NullPointerException
	at crosby.binary.StringTable.getIndex(StringTable.java:54)
	at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer$Prim.serializeMetadataDense(PbfWriter.java:109)
	at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer$NodeGroup.serializeDense(PbfWriter.java:171)
	at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer$NodeGroup.serialize(PbfWriter.java:146)
	at crosby.binary.BinarySerializer.processBatch(BinarySerializer.java:121)
	at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer.complete(PbfWriter.java:465)
	at org.openstreetmap.josm.plugins.pbf.io.PbfWriter.writeData(PbfWriter.java:479)
	at org.openstreetmap.josm.plugins.pbf.io.PbfWriter.writeLayer(PbfWriter.java:474)
	at org.openstreetmap.josm.plugins.pbf.io.PbfExporter.doSave(PbfExporter.java:32)
	at org.openstreetmap.josm.io.OsmExporter.save(OsmExporter.java:92)
	at org.openstreetmap.josm.io.OsmExporter.exportData(OsmExporter.java:67)
	at org.openstreetmap.josm.io.OsmExporter.exportData(OsmExporter.java:54)
	at org.openstreetmap.josm.actions.SaveActionBase.doInternalSave(SaveActionBase.java:84)
	at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:56)
	at org.openstreetmap.josm.actions.SaveActionBase.doSave(SaveActionBase.java:46)
	at org.openstreetmap.josm.actions.SaveActionBase.actionPerformed(SaveActionBase.java:36)
	at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
	at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
	at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
	at javax.swing.AbstractButton.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
	at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
	at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
	at java.awt.Component.processMouseEvent(Unknown Source)
	at javax.swing.JComponent.processMouseEvent(Unknown Source)
	at java.awt.Component.processEvent(Unknown Source)
	at java.awt.Container.processEvent(Unknown Source)
	at java.awt.Component.dispatchEventImpl(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
	at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
	at java.awt.Container.dispatchEventImpl(Unknown Source)
	at java.awt.Window.dispatchEventImpl(Unknown Source)
	at java.awt.Component.dispatchEvent(Unknown Source)
	at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
	at java.awt.EventQueue.access$400(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.awt.EventQueue$3.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.awt.EventQueue$4.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
	at java.awt.EventQueue.dispatchEvent(Unknown Source)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
	at java.awt.EventDispatchThread.run(Unknown Source)
	Suppressed: java.lang.NullPointerException
		at crosby.binary.StringTable.getIndex(StringTable.java:54)
		at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer$Prim.serializeMetadataDense(PbfWriter.java:109)
		at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer$NodeGroup.serializeDense(PbfWriter.java:171)
		at org.openstreetmap.josm.plugins.pbf.io.PbfWriter$PbfSerializer$NodeGroup.serialize(PbfWriter.java:146)
		at crosby.binary.BinarySerializer.processBatch(BinarySerializer.java:121)
		at crosby.binary.BinarySerializer.flush(BinarySerializer.java:96)
		at crosby.binary.BinarySerializer.close(BinarySerializer.java:101)
		at org.openstreetmap.josm.plugins.pbf.io.PbfWriter.close(PbfWriter.java:484)
		at org.openstreetmap.josm.plugins.pbf.io.PbfExporter.doSave(PbfExporter.java:36)
		... 46 more

Attachments (1)

Guaruja.zip (744.9 KB ) - added by Don-vip 5 years ago.
compressed original file

Download all attachments as: .zip

Change History (7)

comment:1 by Don-vip, 9 years ago

Component: CorePlugin pbf
Owner: changed from team to fernandodunha@…
Status: newneedinfo

can you please attach your .osm file?

in reply to:  1 comment:2 by anonymous, 9 years ago

Replying to Don-vip:

can you please attach your .osm file?

File Attached, I want to convert this file to run with World2Xplane 0.6.0 to create a scenery.

comment:3 by Don-vip, 9 years ago

Owner: changed from fernandodunha@… to Don-vip
Status: needinfonew

comment:4 by Don-vip, 9 years ago

I can't reproduce, can you reproduce the error with this file?

comment:5 by anonymous, 9 years ago

That error appears sometimes. I found another way to convert it.

comment:6 by Don-vip, 9 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #11169.

by Don-vip, 5 years ago

Attachment: Guaruja.zip added

compressed original file

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Don-vip.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.