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

Unidata / thredds / 263
33%
5.0.0: 33%

Build:
Build:
LAST BUILD BRANCH: 2090f7f76e49e5ba8a4eb520c36a288da34a2af7
DEFAULT BRANCH: 5.0.0
Ran 16 Jan 2017 12:23PM UTC
Jobs 1
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

pending completion
263

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

Jobs
ID Job ID Ran Files Coverage
1 263.1 16 Jan 2017 12:23PM UTC 0
40.68
Source Files on build 263
Detailed source file information is not available for this build.
  • Back to Repo
  • Jenkins Build #263
  • cce7f179 on github
  • Prev Build on origin/5.0.0 (#262)
  • Next Build on origin/5.0.0 (#264)
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