I was requested to compile a bunch of MIBs, and the Vaadin UI was complaining about some of them. It was even complaining about dependencies that were already present on the system.
For this reason, I've created a low level JUnit test to figure out what's wrong, and I found a problem on the JsmiMibParser. There was a mistake on the main loop that was never triggered by all the tests that were already there, but I was able to trigger it with the new MIBs I'm trying to compile right now.
That was preventing to finish all the processing, leading to showing dependencies issues for MIBs that were already compiled.
Fortunately, the fix is very easy:
After applying that fix, I was able to parse the new MIBs. All the existing tests are still passing.