Re: [netcdf-java] Bug

Renjin uses Guava 13.0:

http://nexus.bedatadriven.com/content/groups/public/org/renjin/parent/0.7.0-RC7/parent-0.7.0-RC7.pom

So yeah, they need to update.

In the near term, you ought to be able to fix this problem by removing the
Guava 17.0 classes from netcdfAll-4.5.jar, thus falling back to the 13.0
classes in Renjin. To do this, open netcdfAll-4.5.jar and delete the
"/com/google/collections/" directory. Kludgy for sure, but that's the most
straightforward solution, given that you aren't building with Maven.

Cheers,
Christian


On Wed, Nov 12, 2014 at 1:23 PM, John Caron <caron@xxxxxxxx> wrote:

> what version of guava does renjin use?
> it may be that renjin needs to be upgraded.
>
> On Wed, Nov 12, 2014 at 1:14 PM, Rodrigo Botafogo <
> rodrigo@xxxxxxxxxxxxxxxxxxx> wrote:
>
>> Just checked and Renjin uses Guava.
>>
>> So, I´ll wait for 4.5.4.
>>
>>
>> Thanks,
>>
>>
>> Rodrigo
>>
>>
>> 2014-11-12 18:12 GMT-02:00 John Caron <caron@xxxxxxxx>:
>>
>> sounds right.
>>>
>>> i just noticed that guava release version is now 18.0, and we will
>>> likely upgrade in 4.5.4.
>>>
>>> On Wed, Nov 12, 2014 at 11:08 AM, Christian Ward-Garrison <
>>> cwardgar@xxxxxxxx> wrote:
>>>
>>>> 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/
>>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> netcdf-java mailing list
>>>> netcdf-java@xxxxxxxxxxxxxxxx
>>>> For list information or to unsubscribe, visit:
>>>> http://www.unidata.ucar.edu/mailing_lists/
>>>>
>>>
>>>
>>> _______________________________________________
>>> netcdf-java mailing list
>>> netcdf-java@xxxxxxxxxxxxxxxx
>>> For list information or to unsubscribe, visit:
>>> http://www.unidata.ucar.edu/mailing_lists/
>>>
>>
>>
>>
>> --
>> Rodrigo Botafogo
>>
>>
>>
>>
>
> _______________________________________________
> 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: