itm / wsn-device-utils

A set of command line utils to reprogram, reset, listen to, ... wireless sensor network devices
2 stars 5 forks source link

Guice errors #53

Closed danbim closed 12 years ago

danbim commented 12 years ago
Experimental:  JNI_OnLoad called.
2012-06-07 11:09:57,277 | main                           | DeviceMacReaderCLI             | ERROR | Reading MAC address failed with Exception: com.google.inject.CreationException: Guice creation errors:

1) No implementation for de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory was bound.
  while locating de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory
    for parameter 5 at de.uniluebeck.itm.wsn.drivers.core.SerialPortDevice.<init>(SerialPortDevice.java:147)
  at de.uniluebeck.itm.wsn.drivers.jennic.JennicModule.configure(JennicModule.java:52)

2) No implementation for de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory was bound.
  while locating de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory
    for parameter 5 at de.uniluebeck.itm.wsn.drivers.core.SerialPortDevice.<init>(SerialPortDevice.java:147)
  while locating de.uniluebeck.itm.wsn.drivers.core.SerialPortDevice
    for field at de.uniluebeck.itm.wsn.drivers.core.serialport.SerialPortProgrammingModeInterceptor.device(SerialPortProgrammingModeInterceptor.java:19)
  at de.uniluebeck.itm.wsn.drivers.jennic.JennicModule.configure(JennicModule.java:45)

3) de.uniluebeck.itm.wsn.drivers.core.operation.IsNodeAliveOperation is an interface, not a concrete class.  Unable to create AssistedInject factory.
  while locating de.uniluebeck.itm.wsn.drivers.core.operation.IsNodeAliveOperation
  at de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory.createIsNodeAliveOperation(OperationFactory.java:1)

3 errors
com.google.inject.CreationException: Guice creation errors:

1) No implementation for de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory was bound.
  while locating de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory
    for parameter 5 at de.uniluebeck.itm.wsn.drivers.core.SerialPortDevice.<init>(SerialPortDevice.java:147)
  at de.uniluebeck.itm.wsn.drivers.jennic.JennicModule.configure(JennicModule.java:52)

2) No implementation for de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory was bound.
  while locating de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory
    for parameter 5 at de.uniluebeck.itm.wsn.drivers.core.SerialPortDevice.<init>(SerialPortDevice.java:147)
  while locating de.uniluebeck.itm.wsn.drivers.core.SerialPortDevice
    for field at de.uniluebeck.itm.wsn.drivers.core.serialport.SerialPortProgrammingModeInterceptor.device(SerialPortProgrammingModeInterceptor.java:19)
  at de.uniluebeck.itm.wsn.drivers.jennic.JennicModule.configure(JennicModule.java:45)

3) de.uniluebeck.itm.wsn.drivers.core.operation.IsNodeAliveOperation is an interface, not a concrete class.  Unable to create AssistedInject factory.
  while locating de.uniluebeck.itm.wsn.drivers.core.operation.IsNodeAliveOperation
  at de.uniluebeck.itm.wsn.drivers.core.operation.OperationFactory.createIsNodeAliveOperation(OperationFactory.java:1)

3 errors
    at com.google.inject.internal.Errors.throwCreationExceptionIfErrorsExist(Errors.java:435)
    at com.google.inject.internal.InternalInjectorCreator.initializeStatically(InternalInjectorCreator.java:154)
    at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:106)
    at com.google.inject.Guice.createInjector(Guice.java:95)
    at com.google.inject.Guice.createInjector(Guice.java:72)
    at com.google.inject.Guice.createInjector(Guice.java:62)
    at de.uniluebeck.itm.wsn.drivers.factories.DeviceFactoryImpl.create(DeviceFactoryImpl.java:83)
    at de.uniluebeck.itm.wsn.drivers.factories.DeviceFactoryImpl.create(DeviceFactoryImpl.java:47)
    at de.uniluebeck.itm.wsn.deviceutils.macreader.DeviceMacReaderImpl.readMacFromDevice(DeviceMacReaderImpl.java:94)
    at de.uniluebeck.itm.wsn.deviceutils.macreader.DeviceMacReaderImpl.readMac(DeviceMacReaderImpl.java:70)
    at de.uniluebeck.itm.wsn.deviceutils.macreader.DeviceMacReaderCLI.main(DeviceMacReaderCLI.java:151)