eclipse / eavp

Eclipse advanced visualization project
Eclipse Public License 1.0
9 stars 15 forks source link

When creating a plot with CSVVizService URI is not validated properly #150

Closed anarak closed 5 years ago

anarak commented 7 years ago

The null pointer exception is thrown #149 because the current implementation doesn't validate the file path specified in URI in createPlot properly. There are some validations that check if URI is null or that check the extension of a file but not the existence of a file at the specified directory.

It seems that independent series returned by getIndependentSeries in CSVProxyPlot are still null and that's where execution halts and it still works, however, debugging lets executing the rest of code successfully and it seems that independent series get reassigned later. I think this may be a thread issue.

SmithRWORNL commented 5 years ago

The old CSVVizService will be replaced in 0.3