cederberg/mibble — Issue #1: NPE in MibDirectoryCache due to missing files or IO error
Author: cederberg
Created: 2011-12-08 12:59:03+00:00
State: open

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)
```