hbase-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Amit Sela (JIRA)" <j...@apache.org>
Subject [jira] [Created] (HBASE-10061) TableMapReduceUtil.findOrCreateJar calls updateMap(null, ) resulting in thrown NPE
Date Sun, 01 Dec 2013 15:41:35 GMT
Amit Sela created HBASE-10061:
---------------------------------

             Summary: TableMapReduceUtil.findOrCreateJar calls updateMap(null, ) resulting
in thrown NPE
                 Key: HBASE-10061
                 URL: https://issues.apache.org/jira/browse/HBASE-10061
             Project: HBase
          Issue Type: Bug
          Components: mapreduce
    Affects Versions: 0.94.12
            Reporter: Amit Sela


TableMapReduceUtil.findOrCreateJar line 596:
jar = getJar(my_class);
updateMap(jar, packagedClasses);
In case getJar returns null, updateMap will throw NPE.
Should check null==jar before calling updateMap.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Mime
View raw message