accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Vines (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-3245) Property.createInstanceFromPropertyName doesn't validate nulls
Date Tue, 21 Oct 2014 16:53:34 GMT
John Vines created ACCUMULO-3245:
------------------------------------

             Summary: Property.createInstanceFromPropertyName doesn't validate nulls
                 Key: ACCUMULO-3245
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-3245
             Project: Accumulo
          Issue Type: Bug
          Components: client
    Affects Versions: 1.6.2
            Reporter: John Vines


I am using Property.createInstanceFromPropertyName in code which is not running via the accumulo
start classloader so it's not being configured (may not be relevent). I get the following
error logged-

{code}2014-10-21 12:44:23,423 [conf.Property] WARN : Failed to load class 
java.lang.NullPointerException
	at org.apache.accumulo.start.classloader.AccumuloClassLoader$2.loadClass(AccumuloClassLoader.java:261)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:316)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:268)
	at org.apache.accumulo.start.classloader.vfs.AccumuloVFSClassLoader.loadClass(AccumuloVFSClassLoader.java:112)
	at org.apache.accumulo.core.conf.Property.createInstance(Property.java:641)
	at org.apache.accumulo.core.conf.Property.createInstanceFromPropertyName(Property.java:668){code}

This is considered public code and should probably have better handling for null configurations



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message