quince-science / QuinCe

QuinCe is an online tool for processing and quality control of data from scientific instruments, with a primary focus on oceanic data.
https://quince.science
GNU General Public License v3.0
7 stars 8 forks source link

Error with empty Y2 axis #2771

Closed squaregoldfish closed 1 year ago

squaregoldfish commented 1 year ago
Caused by: java.lang.NullPointerException: Cannot invoke "uk.ac.exeter.QuinCe.data.Dataset.QC.Flag.isGood()" because the return value of "uk.ac.exeter.QuinCe.web.datasets.plotPage.PlotValue.getFlag2()" is null
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at uk.ac.exeter.QuinCe.web.datasets.plotPage.Plot.lambda$getY2Data$1(Plot.java:156)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.stream.ReferencePipeline$2$1.accept(ReferencePipeline.java:178)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.TreeMap$KeySpliterator.forEachRemaining(TreeMap.java:3064)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.stream.AbstractPipeline.copyInto(AbstractPipeline.java:509)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(AbstractPipeline.java:499)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(ReduceOps.java:921)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.stream.AbstractPipeline.evaluate(AbstractPipeline.java:234)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.util.stream.ReferencePipeline.collect(ReferencePipeline.java:682)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at uk.ac.exeter.QuinCe.web.datasets.plotPage.Plot.getY2Data(Plot.java:157)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at jdk.internal.reflect.GeneratedMethodAccessor3196.invoke(Unknown Source)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at java.base/java.lang.reflect.Method.invoke(Method.java:568)
Oct  4 16:23:40 quince3 catalina.sh[235]: #011at javax.el.BeanELResolver.getValue(BeanELResolver.java:85)