Skip to content

Geocoder does not work and obstructs the normal function of NLP #31

Open
@Iey4iej3

Description

@Iey4iej3

Describe the bug
When Nominatim Geocoder is enabled in microg, it sometimes crashes. Moreover, NLP frequently stops working.

System
Android Version: 12
Custom ROM: LineageOS 19.1 (LOS for MicroG)

Additional context
Seen from logcat:

java.lang.NullPointerException: Attempt to get length of null array
	at java.lang.StringFactory.newStringFromBytes(StringFactory.java:46)
	at org.microg.nlp.backend.nominatim.BackendService$AsyncGetRequest.retrieveString(BackendService.java:288)
	at org.microg.nlp.backend.nominatim.BackendService.getFromLocation(BackendService.java:122)
	at org.microg.nlp.api.GeocoderBackendService$Backend.getFromLocation(GeocoderBackendService.java:73)
	at org.microg.nlp.api.GeocoderBackend$Stub.onTransact(GeocoderBackend.java:63)
	at android.os.Binder.execTransactInternal(Binder.java:1179)
	at android.os.Binder.execTransact(Binder.java:1143)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions