pbauerochse / youtrack-worklog-viewer

A tool to keep track of the work hours you spent on issues in the YouTrack issue management system
MIT License
39 stars 10 forks source link

Error when clicking "Download Worklogs" #39

Closed DustRaven closed 4 years ago

DustRaven commented 4 years ago

I'm getting the following error:

Cannot construct instance of 'de.pbauerochse.worklogviewer.connector.v2019.model.YouTrackCustomFieldValue' (although at least one Creator exists): no int/int-argument constructor/factory method to deserialize from Number value (2) at [Source: (String)"2": line 1, column: 1]

I'm using the AdoptOpenJDK 11.0.4.11-hotspot.

manne01 commented 4 years ago

Same here with YouTrack 2019.2 Build 6111 and AdoptOpenJDK as above.

pbauerochse commented 4 years ago

I'll look into it. It seems that your YouTrack instance has a custom field in a form that I did not consider.

Could you paste the complete stacktrace from the file ~/.youtrack-worklog-viewer/logs/worklog-viewer.log when this happens?

pbauerochse commented 4 years ago

Nevermind. I think I figured out what's going on. @manne01 @DustRaven could you try again with version 2.6.1 please?

https://github.com/pbauerochse/youtrack-worklog-viewer/releases/tag/2.6.1

manne01 commented 4 years ago

Thank you so much, it's working again!

pbauerochse commented 4 years ago

Glad to hear that. I'll close this issue then. Feel free to reopen, if the issue surfaces again