question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Better fix for editing "Workflow Path" causes NullPointerException

See original GitHub issue

Describe the bug

Attempting to edit the path to the “Workflow Path” (and the “Test File Path”) for a workflow results in a 400 from the API with a NullPointerException.

It appears to “update” in the UI (no user facing error is displayed) but reverts back to the old value on refresh. The returned error is:

{"code":400,"details":"(was java.lang.NullPointerException)","message":"Unable to process JSON"}

To Reproduce Steps to reproduce the behavior:

  1. Go to a workflow (the one in question is published if that makes a difference)
  2. Click on “edit” next to Workflow Path
  3. Change the path and click save
  4. The UI updates, but will revert to the old value on refresh
  5. The API returns a 400 Bad Request but no user facing error is presented.

GIF of Behavior: edit-filename

Expected behavior Workflow file path is successfully updated

Screenshots

API Error: Screen Shot 2020-07-14 at 9 59 33 AM

Desktop (please complete the following information):

  • OS: MacOS 10.15.5
  • Browser: Firefox
  • Version 79

Additional context

  • UI version: 2.6.0
  • Webservice version: 1.9.0
  • host location: dockstore.org

┆Issue is synchronized with this Jira Bug ┆fixVersions: Dockstore 2.X ┆friendlyId: DOCK-1490 ┆sprint: Sprint 53- Bull shark ┆taskType: Bug

Issue Analytics

  • State:open
  • Created 3 years ago
  • Comments:11 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
garyluucommented, Nov 11, 2020

I like 3 the most

0reactions
denis-yuencommented, Nov 13, 2020

I kinda like the pages for debugging if elastic search is down. I could probably live without the starred column with Gary’s caveat

Read more comments on GitHub >

github_iconTop Results From Across the Web

NullPointerException when trying to open edit workflow page ...
We got NullPointerException while trying to open "Edit Workflow" page in Jira Data Center version. Exception log on webpage as follows:
Read more >
Workflow generation failed with "java.lang.NullPointerException
​To resolve this issue, make sure that you have passed all the connection values in the Plan. To verify that edit the plan...
Read more >
Transferring workflows in Process Designer fails with ... - IBM
Transferring workflows in Process Designer fails with NullPointerException after upgrading the Content Platform Engine (CPE).
Read more >
Error caused by java.lang.NullPointerException — oracle-tech
There was a bug in that release that resulted in locked workflows. The fix is available in the update center. ... Also, if...
Read more >
How to Fix and Avoid NullPointerException in Java - Rollbar
NullPointerException in Java occurs when a variable is accessed which is not ... running the above code causes a NullPointerException :
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found