I don't think that is the logger. There is something slightly off there too, but it isn't causing the exception. There is a problem with the array on line 81 in SimpleWalkingDroid. Figure out what is causing that and you should be good. I'll try to look at it later today as well. On Nov 15, 2011 4:39 AM, "Christoph Brewing" <[email protected]> wrote:
> Hello, > > trying Droids for the first time, I downloaded the sources and compiled > them successfully. > However, I cannot launch (Droids Core) due to the following error: > > Errors when trying to launch droids-core > [exec:exec] > SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder". > SLF4J: Defaulting to no-operation (NOP) logger implementation > SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further > details. > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0 > at > org.apache.droids.robot.walker.SimpleWalkingDroid.main(SimpleWalkingDroid.java:81) > > ------------------------------------------------------------------------ > BUILD FAILURE > ------------------------------------------------------------------------ > [..] > Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.2:exec > (default-cli) on project droids-core: Command execution failed. Process > exited with an error: 1(Exit value: 1) -> [Help 1] > > Setup > IDE Netbeans 7.0.1 - in fact, I followed descriptions at > https://cwiki.apache.org/DROIDS/installation-guide-for-netbeans-671.html > Maven 3.0.3 > OS Win7 > > Oke, the error messages obviously suggest that StaticLoggerBinder is > missing. I followed URL See > http://www.slf4j.org/codes.html#StaticLoggerBinder and > added 'slf4j-simple-1.6.1.jar' to the Netbeans libraries, without success. > I notice that in the Dependencies of droids-core there is only a > 'slf4j-api-1.6.1'. > > Anyway, I am thankful for any idea. > > Best regards, > Christoph > >
