Opened 5 years ago

Closed 4 years ago

Last modified 4 years ago

#12878 closed defect (fixed)

Issue with plugin cadastre-fr

Reported by: jeremy.hetzel@… Owned by: pieren
Priority: major Milestone:
Component: Plugin cadastre-fr Version: tested
Keywords: template_report cookie wms Cc:


What steps will reproduce the problem?

  1. each launch of an action from the plug-in cadastre-fr

What is the expected result?

What happens instead?

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

Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-05-02 10:23:17 +0200 (Mon, 02 May 2016)
Build-Date:2016-05-03 01:31:45
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10168 fr) Windows 7 64-Bit
Memory Usage: 153 MB / 247 MB (49 MB allocated, but free)
Java version: 1.8.0_60-b27, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [,<java.home>\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=%UserProfile%\AppData\LocalLow\Sun\Java\Deployment\cache\6.0\56\1ee8cfb8-34ba9eb4, -Djnlpx.remove=false, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.splashport=49244, -Djnlp.application.href=, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAC1Eam5scC5hcHBsaWNhdGlvbi5ocmVmPWh0dHBzOi8vam9zbS5vcGVuc3RyZWV0bWFwLmRlL2Rvd25sb2FkL2pvc20uam5scAA=]
Dataset consistency test: No problems found

- apache-commons (32158)
- cadastre-fr (32165)
- ejml (32158)
- geotools (31895)
- jts (31906)
- opendata (32158)
- utilsplugin2 (32158)

Last errors/warnings:
- E: java.lang.StringIndexOutOfBoundsException: String index out of range: -1

java.lang.StringIndexOutOfBoundsException: String index out of range: -1
	at java.lang.String.substring(Unknown Source)
	at cadastre_fr.CadastreInterface.getCookie(
	at cadastre_fr.CadastreInterface.retrieveInterface(
	at cadastre_fr.DownloadWMSVectorImage.realRun(
	at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$ Source)
	at Source)

Attachments (0)

Change History (7)

comment:1 Changed 4 years ago by Don-vip

Ticket #12888 has been marked as a duplicate of this ticket.

comment:2 Changed 4 years ago by Don-vip

Robustness added in [o32205:32206] but I don't know why the plugin doesn't work anymore

comment:3 Changed 4 years ago by Don-vip

Priority: normalmajor

comment:4 Changed 4 years ago by Don-vip

Keywords: cookie wms added

comment:5 Changed 4 years ago by Tyndare

Could it be related to the new CSRF_TOKEN needed to acces the cadastee web site ?

See a fix for another app:

comment:6 Changed 4 years ago by Don-vip

Resolution: fixed
Status: newclosed

Thanks! It was partly because of that. I have fixed the plugin in [o32212].

comment:7 Changed 4 years ago by Yves Autran <yves.autran@…>

Great !
Many thanks for fixing this issue so fast.

Modify Ticket

Change Properties
Set your email in Preferences
as closed The owner will remain pieren.
as The resolution will be set.
The resolution will be deleted.

Add Comment

E-mail address and name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.