cederberg / mibble

Mibble is an open-source SNMP MIB parser library for Java.
https://www.mibble.org/
Other
113 stars 68 forks source link

NPE in MibDirectoryCache due to missing files or IO error #1

Closed cederberg closed 12 years ago

cederberg commented 12 years ago

The following NPE stacktrace was reported by Mark Ponthier @FireScope:

java.lang.NullPointerException 
at net.percederberg.mibble.MibDirectoryCache.initNameCache(MibDirectoryCache.java:114) 
at net.percederberg.mibble.MibDirectoryCache.findByName(MibDirectoryCache.java:100) 
at net.percederberg.mibble.MibLoader.locate(MibLoader.java:785) 
at net.percederberg.mibble.MibLoader.loadQueue(MibLoader.java:719) 
at net.percederberg.mibble.MibLoader.load(MibLoader.java:550) 
at net.percederberg.mibble.MibLoader.load(MibLoader.java:479) 
at com.firescope.commonservice.mib.compiler.MIBCompiler.loadMib(MIBCompiler.java:176) 
at com.firescope.commonservice.mib.compiler.MIBCompiler.compileAllMibs(MIBCompiler.java:126) 
at com.firescope.commonservice.mib.compiler.MIBCompilerProcessor.compileAllMibs(MIBCompilerProcessor.java:47) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 
at java.lang.reflect.Method.invoke(Method.java:597) 
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:301) 
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:198) 
at $Proxy135.compileAllMibs(Unknown Source) 
at com.firescope.commonservice.mib.compiler.MIBCompilerMain.execute(MIBCompilerMain.java:41) 
at com.firescope.commonservice.mib.compiler.MIBCompilerMain.main(MIBCompilerMain.java:99)