NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [netcdf-java] Bug

Hi guys,

I feel like a change I made may be the cause here. Rodrigo, are you using
Guava in your project, specifically a version prior to 16.0? That method
you mentioned was removed in that version:
http://docs.guava-libraries.googlecode.com/git-history/v16.0/jdiff/changes/com.google.common.io.Closeables.html

In 4.5.2, I updated NetCDF-Java to use Guava 17.0. I suspect that 17.0 is
being transitively included in your project (superseding any earlier
version you may be using), and that method doesn't exist in 17.0.

Does that sound right?

-Christian


On Wed, Nov 12, 2014 at 10:39 AM, Ryan May <rmay@xxxxxxxx> wrote:

> Rodrigo,
>
> Based on some googling, it looks like that particular error in general
> crops up when building against Android; any chance you're doing that here?
>
> Can you roll back to the last version of netcdfAll-4.5 that you tested and
> verify that it still works?
>
> Ryan
>
> On Wed, Nov 12, 2014 at 10:31 AM, Rodrigo Botafogo <
> rodrigo@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> I have implemented MDArray that uses NetCDF-java.  The last test I did
>> was with netcdfAll-4.5 (I think the first release) and it works fine.
>>
>> I´ve downloaded the latest 4.5 library and now I get the following error:
>>
>> LoadError: load error: T:/Rodrigo/Desenv/SciCom/lib/JRubyR/renjin --
>> java.lang.NoSuchMethodError:
>> com.google.common.io.Closeables.closeQuietly(Ljava/io/Closeable;)V
>>
>>
>> Any idea what is wrong?
>>
>> Thanks,
>>
>> --
>> Rodrigo Botafogo
>>
>>
>>
>>
>> _______________________________________________
>> netcdf-java mailing list
>> netcdf-java@xxxxxxxxxxxxxxxx
>> For list information or to unsubscribe, visit:
>> http://www.unidata.ucar.edu/mailing_lists/
>>
>
>
>
> --
> Ryan May
> Software Engineer
> UCAR/Unidata
> Boulder, CO
>
> _______________________________________________
> netcdf-java mailing list
> netcdf-java@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> http://www.unidata.ucar.edu/mailing_lists/
>
  • 2014 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: