Modify

Opened 5 years ago

Closed 5 years ago

#17372 closed defect (duplicate)

JsonException: Cannot auto-detect encoding, not enough chars

Reported by: anonymous Owned by: floscher
Priority: normal Milestone:
Component: Plugin mapillary Version:
Keywords: template_report encoding json Cc:

Description (last modified by Don-vip)

What steps will reproduce the problem?

  1. JOSM Mapillary plugin changeset submit fails

What is the expected result?

What happens instead?

Please provide any additional information below. Attach a screenshot if possible.

URL:https://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2019-02-02 21:01:18 +0100 (Sat, 02 Feb 2019)
Build-Date:2019-02-04 21:50:11
Revision:14760
Relative:URL: ^/trunk

Identification: JOSM/1.5 (14760 fi) Linux Ubuntu 16.04.4 LTS
Memory Usage: 420 MB / 3878 MB (230 MB allocated, but free)
Java version: 1.8.0_191-8u191-b12-2ubuntu0.16.04.1-b12, Oracle Corporation, OpenJDK 64-Bit Server VM
Screen: :0.0 1896x948
Maximum Screen Size: 1896x948
Java package: openjdk-8-jre:amd64-8u191-b12-2ubuntu0.16.04.1
Dataset consistency test: No problems found

Plugins:
+ Mapillary (v1.5.17)
+ PicLayer (34867)
+ apache-commons (34506)
+ apache-http (34632)
+ jna (34867)

Last errors/warnings:
- W: No configuration settings found.  Using hardcoded default values for all pools.
- W: Region [TMS_BLOCK_v2] Resetting cache
- E: Kuvaa "https://www.liikennevirasto.fi/livi-theme/images/general/liikennevirasto_logo_2x.png" ei löytynyt
- E: Kuvaa "https://www.liikennevirasto.fi/livi-theme/images/general/liikennevirasto_logo_2x.png" ei löytynyt
- W: Region [userProfile_BLOCK_v2] Resetting cache
- W: Could not read from URL https://a.mapillary.com/v3/detections?client_id=T1Fzd20xZjdtR0s1VDk5OFNIOXpYdzoxNDYyOGRkYzUyYTFiMzgz&bbox=24.8010725%2C60.1739674%2C24.8088831%2C60.1762085!: java.io.FileNotFoundException: https://a.mapillary.com/v3/detections?client_id=T1Fzd20xZjdtR0s1VDk5OFNIOXpYdzoxNDYyOGRkYzUyYTFiMzgz&bbox=24.8010725%2C60.1739674%2C24.8088831%2C60.1762085
- W: Region [WMS_BLOCK_v2] Resetting cache
- W: Region [WMTS_BLOCK_v2] Resetting cache
- W: Region [mapillary_BLOCK_v2] Resetting cache
- E: Handled by bug report queue: javax.json.JsonException: Cannot auto-detect encoding, not enough chars


=== REPORTED CRASH DATA ===
BugReportExceptionHandler#handleException:
No data collected.

Warning issued by: BugReportExceptionHandler#handleException

=== STACK TRACE ===
Thread: Mapillary changeset upload (360)
javax.json.JsonException: Cannot auto-detect encoding, not enough chars
	at org.glassfish.json.UnicodeDetectingInputStream.detectEncoding(UnicodeDetectingInputStream.java:130)
	at org.glassfish.json.UnicodeDetectingInputStream.<init>(UnicodeDetectingInputStream.java:75)
	at org.glassfish.json.JsonParserImpl.<init>(JsonParserImpl.java:95)
	at org.glassfish.json.JsonReaderImpl.<init>(JsonReaderImpl.java:73)
	at org.glassfish.json.JsonProviderImpl.createReader(JsonProviderImpl.java:136)
	at javax.json.Json.createReader(Json.java:225)
	at org.openstreetmap.josm.plugins.mapillary.actions.MapillarySubmitCurrentChangesetAction.lambda$actionPerformed$0(MapillarySubmitCurrentChangesetAction.java:83)
	at java.lang.Thread.run(Thread.java:748)

Attachments (0)

Change History (2)

comment:1 by Don-vip, 5 years ago

Component: CorePlugin mapillary
Description: modified (diff)
Keywords: encoding json added
Owner: changed from team to floscher
Summary: JOSM Mapillary plugin changeset submit failsJsonException: Cannot auto-detect encoding, not enough chars

comment:2 by Don-vip, 5 years ago

Resolution: duplicate
Status: newclosed

Closed as duplicate of #16512.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain floscher.
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.