• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

Unidata / thredds / 263 / 1
33%
5.0.0: 33%

Build:
Build:
LAST BUILD BRANCH: 2090f7f76e49e5ba8a4eb520c36a288da34a2af7
DEFAULT BRANCH: 5.0.0
Ran 16 Jan 2017 12:23PM UTC
Files 1892
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

15 Jan 2017 09:02PM UTC coverage: 40.676% (+0.001%) from 40.675%
263.1

push

jenkins

cwardgar
Catch NoSuchMethodError in CoverageDatasetFactory

When trying to load a netCDF file as via FeatureDatasetFactoryManager.open(...), the openGrib method thows a NoSuchMethodError. openGrib is called in the open method as a test to see if the dataset is a Grib file, and because the NoSuchMethodError wasn't being caught, the whole thing stops and the FeatureDatasetFactoryManager returns a null dataset with an error message in the Formatter. Adding this error to the catch allows FeatureDatasetFactoryManager to do the right thing and see that the file isn't a Grib file.

Because the error can be triggered by reflection, need to look at the target of a InvocationTargetException. Refactored the try...catch block to check both in one catch rather than dupicate code with two catch blocks.

97781 of 240388 relevant lines covered (40.68%)

0.41 hits per line

Source Files on job 263.1
  • Tree
  • List 0
  • Changed 3
  • Source Changed 1
  • Coverage Changed 3
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 263
  • cce7f179 on github
  • Prev Job for on origin/5.0.0 (#262.1)
  • Next Job for on origin/5.0.0 (#264.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc