Apache's JIRA Issue Tracker | Dave Cohrs | 3 years ago
  1. 0

    [CURATOR-85] curator-client ConnectionState uses deprecated Closeables method - ASF JIRA | 10 months ago
  2. 0

    Tried to upgrade to guava-16 and started getting these errors from Curator on exit: Exception in thread "Thread-1" java.lang.NoSuchMethodError:;)V at org.apache.curator.ConnectionState.close( at org.apache.curator.CuratorZookeeperClient.close( at org.apache.curator.framework.imps.CuratorFrameworkImpl.close( at com.virident.fmc.service.AbstractService.closeCF( at com.virident.fmc.service.AbstractService.shutdown( at com.virident.fmc.service.AbstractService.access$000( at com.virident.fmc.service.AbstractService$ tail: /var/lib/vgccluster/manager.out: file truncated Investigation shows this code: public void close() throws IOException { log.debug("Closing"); Closeables.closeQuietly(ensembleProvider); This closeQuietly() method is deprecated as of guava 14, and it gone in guava 16. The 2-parameter closeQuietly() needs to be called, eg: Closeables.closeQuietly(ensembleProvider, true); Curator master source still seems to have this bug. The 2-parameter closeQuietly is already be available in guava-14 and the 1-parameter version is marked decorated as deprecated in that release which should have generated deprecation warnings. A visual inspection of the various curator projects shows that this deprecated API is used in many places. They all should be corrected to use the 2-parameter Closeables.closeQuietly().

    Apache's JIRA Issue Tracker | 3 years ago | Dave Cohrs
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    [BAP-244] Compatibility with Maven 3.2.5 - JFrog JIRA | 11 months ago
  5. 0

    Trunk version of Druid throws error for realtime

    Google Groups | 2 years ago | Deepak Jain
    javax.servlet.ServletException: java.lang.NoSuchMethodError:;)V

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.NoSuchMethodError;)V

      at org.apache.curator.ConnectionState.close()
    2. Fabric8
      1. org.apache.curator.ConnectionState.close(
      2. org.apache.curator.CuratorZookeeperClient.close(
      2 frames
    3. Curator Framework
      1. org.apache.curator.framework.imps.CuratorFrameworkImpl.close(
      1 frame
    4. com.virident.fmc
      1. com.virident.fmc.service.AbstractService.closeCF(
      2. com.virident.fmc.service.AbstractService.shutdown(
      3. com.virident.fmc.service.AbstractService.access$000(
      4. com.virident.fmc.service.AbstractService$
      4 frames