Modify ↓
Opened 11 years ago
Closed 11 years ago
#10202 closed defect (othersoftware)
SAXParseException + OsmApiException
Reported by: | skyper | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | unspecified | Version: | latest |
Keywords: | Cc: |
Description
I have seen the SAX Parse Exception from time to time but the second one is new.
SAX Parse Exception happens if you scroll out to far with notes plugin active and online.
Maybe the number of notes matters, too.
INFO: GET http://api.openstreetmap.org/api/0.6/notes?bbox=7.6937955,47.6801198,8.1580307,48.0235039... INFO: OK INFO: OK [Fatal Error] :69:7: The element type "html" must be terminated by the matching end-tag "</html>". [Fatal Error] :1:1: Content is not allowed in prolog. org.xml.sax.SAXParseException; lineNumber: 69; columnNumber: 7; The element type "html" must be terminated by the matching end-tag "</html>". at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at org.openstreetmap.josm.plugins.notes.NotesXmlParser.parseNotes(NotesXmlParser.java:106) at org.openstreetmap.josm.plugins.notes.api.util.NotesCapableOsmApi.parseNotes(NotesCapableOsmApi.java:195) at org.openstreetmap.josm.plugins.notes.api.util.NotesCapableOsmApi.getNotesInBoundingBox(NotesCapableOsmApi.java:44) at org.openstreetmap.josm.plugins.notes.api.DownloadAction.execute(DownloadAction.java:54) at org.openstreetmap.josm.plugins.notes.NotesPlugin.updateData(NotesPlugin.java:174) at org.openstreetmap.josm.plugins.notes.NotesPlugin$DownloadNotesTask.run(NotesPlugin.java:308) at java.util.TimerThread.mainLoop(Timer.java:555) at java.util.TimerThread.run(Timer.java:505) org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1; Content is not allowed in prolog. at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1239) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:649) at org.openstreetmap.josm.plugins.notes.NotesXmlParser.parseNotes(NotesXmlParser.java:106) at org.openstreetmap.josm.plugins.notes.api.util.NotesCapableOsmApi.parseNotes(NotesCapableOsmApi.java:195) at org.openstreetmap.josm.plugins.notes.api.util.NotesCapableOsmApi.getNotesInBoundingBox(NotesCapableOsmApi.java:44) at org.openstreetmap.josm.plugins.notes.api.DownloadAction.execute(DownloadAction.java:54) at org.openstreetmap.josm.plugins.notes.NotesPlugin.updateData(NotesPlugin.java:174) at org.openstreetmap.josm.plugins.notes.gui.NotesDialog$1.actionPerformed(NotesDialog.java:202) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6505) at javax.swing.JComponent.processMouseEvent(JComponent.java:3311) at java.awt.Component.processEvent(Component.java:6270) at java.awt.Container.processEvent(Container.java:2229) at java.awt.Component.dispatchEventImpl(Component.java:4861) at java.awt.Container.dispatchEventImpl(Container.java:2287) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422) at java.awt.Container.dispatchEventImpl(Container.java:2273) at java.awt.Window.dispatchEventImpl(Window.java:2719) at java.awt.Component.dispatchEvent(Component.java:4687) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735) at java.awt.EventQueue.access$200(EventQueue.java:103) at java.awt.EventQueue$3.run(EventQueue.java:694) at java.awt.EventQueue$3.run(EventQueue.java:692) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87) at java.awt.EventQueue$4.run(EventQueue.java:708) at java.awt.EventQueue$4.run(EventQueue.java:706) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76) at java.awt.EventQueue.dispatchEvent(EventQueue.java:705) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138) at java.awt.EventDispatchThread.run(EventDispatchThread.java:91) INFO: GET http://api.openstreetmap.org/api/0.6/notes?bbox=7.9048862,47.9233582,7.9629156,47.9662044... INFO: OK INFO: GET http://api.openstreetmap.org/api/0.6/notes?bbox=7.8361607,47.9031549,8.0002927,48.0242978... INFO: OK INFO: GET http://api.openstreetmap.org/api/0.6/notes?bbox=7.8361607,47.9031549,8.0002927,48.0242978... INFO: OK INFO: Defaults for osm-server.url differ: https://api.openstreetmap.org/api != http://api.openstreetmap.org/api INFO: GET https://api.openstreetmap.org/api/0.6/map?bbox=7.9047831,47.9741332,7.9060654,47.9750795 INFO: GET https://api.openstreetmap.org/api/0.6/user/details (get number of unread messages) WARNING: org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <body> <img src="/assets/osm_logo.png" style="float:left; margin:10px"> <div style="float:left;"> <h1>Application error</h1> <p>The OpenStreetMap server encountered an unexpected condition that prevented it from fulfilling the request (HTTP 500)</p> <p>Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if your problem persists. Make a note of the exact URL / post data of your request.</p> <p>This may be a problem in our Ruby On Rails code. 500 occurs with exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code)</p> </div> </body> </html>> org.openstreetmap.josm.io.OsmApiException: ResponseCode=500, Error Body=<<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <body> <img src="/assets/osm_logo.png" style="float:left; margin:10px"> <div style="float:left;"> <h1>Application error</h1> <p>The OpenStreetMap server encountered an unexpected condition that prevented it from fulfilling the request (HTTP 500)</p> <p>Feel free to <a href="http://wiki.openstreetmap.org/wiki/Contact" title="Various contact channels explained">contact</a> the OpenStreetMap community if your problem persists. Make a note of the exact URL / post data of your request.</p> <p>This may be a problem in our Ruby On Rails code. 500 occurs with exceptions thrown outside of an action (like in Dispatcher setups or broken Ruby code)</p> </div> </body> </html>> at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:190) at org.openstreetmap.josm.io.OsmServerReader.getInputStreamRaw(OsmServerReader.java:103) at org.openstreetmap.josm.io.OsmServerReader.getInputStream(OsmServerReader.java:67) at org.openstreetmap.josm.io.OsmServerUserInfoReader.fetchUserInfo(OsmServerUserInfoReader.java:169) at org.openstreetmap.josm.io.MessageNotifier$Worker.run(MessageNotifier.java:61) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:744)
Repository Root: http://josm.openstreetmap.de/svn Build-Date: 2014-06-26 01:35:33 Last Changed Author: bastiK Revision: 7271 Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b URL: http://josm.openstreetmap.de/svn/trunk Last Changed Date: 2014-06-25 21:02:07 +0200 (Wed, 25 Jun 2014) Last Changed Rev: 7271 Identification: JOSM/1.5 (7271 en) Linux Debian GNU/Linux 7.5 (wheezy) Memory Usage: 178 MB / 882 MB (99 MB allocated, but free) Java version: 1.7.0_55, Oracle Corporation, OpenJDK 64-Bit Server VM Java package: openjdk-7-jre:amd64-7u55-2.4.7-1~deb7u1 Plugin: OpeningHoursEditor (30416) Plugin: conflation (0.1.7) Plugin: imagery-xml-bounds (30495) Plugin: jts (30416) Plugin: mirrored_download (30495) Plugin: notes (v0.9.2) Plugin: photoadjust (30428) Plugin: reverter (30436) Plugin: terracer (30416) Plugin: todo (29154) Plugin: undelete (30416) Plugin: utilsplugin2 (30460) Plugin: wikipedia (30449)
Attachments (0)
Note:
See TracTickets
for help on using tickets.
First one is a notes issue and should be reported there.
Second one is an OSM server issue and should be reported there there.