Orange-OpenSource / fiware-cepheus

FIWARE Cepheus - CEP for NGSI IoT gateways
GNU General Public License v2.0
17 stars 21 forks source link

Error with cepheus Broker 0.1.7 #52

Closed macu39 closed 8 years ago

macu39 commented 8 years ago

I just downloaded the new release of the cepheus broker and found 1 errors:

  1. When i use this config:
## Broker port
server.port = 1027

## Public URL to this instance
local.url = http://localhost:1027

## URL to the remote broker (Orion)
remote.url = http://localhost:1026

## Remote broker Service Name
# remote.serviceName    =

## Remote broker Service Path
# remote.servicePath    =

## OAuth token for secured broker
# remote.authToken =

## UpdateContext forwarding to remote broker
remote.forward.updateContext = true

## Log level
# logging.level.com.orange.cepheus.broker = INFO

## DataBase url
# spring.datasource.url = jdbc:sqlite:${java.io.tmpdir:-/tmp}/cepheus-broker.db

it throws me this error:

root@PAPELclub-VM013cen-Prod cepheus-broker]# nano application.properties 
[root@PAPELclub-VM013cen-Prod cepheus-broker]# java -jar cepheus-broker-0.1.7.jar 
2016-05-19 11:52:58.680  INFO 54512 --- [           main] com.orange.cepheus.broker.Application    : Starting Application on PAPELclub-VM013cen-Prod with PID 54512 (/home/FiWare-VM013cen-Admin/fiware-cepheus/cepheus-broker/cepheus-broker-0.1.7.jar started by root in /home/FiWare-VM013cen-Admin/fiware-cepheus/cepheus-broker)
2016-05-19 11:53:23.540  INFO 54512 --- [           main] com.orange.cepheus.broker.Application    : Started Application in 26.305 seconds (JVM running for 28.577)
2016-05-19 11:54:31.131  WARN 54512 --- [/O dispatcher 1] c.o.c.broker.controller.NgsiController   : UpdateContext failed for http://localhost:1026: java.lang.NullPointerException
2016-05-19 11:54:31.318  WARN 54512 --- [/O dispatcher 1] c.o.c.broker.controller.NgsiController   : UpdateContext failed for http://localhost:1026: java.lang.NullPointerException
2016-05-19 11:54:31.399  WARN 54512 --- [nio-1027-exec-6] c.o.c.broker.controller.NgsiController   : UpdateContext failed for http://localhost:1026: java.lang.NullPointerException
2016-05-19 11:54:31.514  WARN 54512 --- [nio-1027-exec-8] c.o.c.broker.controller.NgsiController   : UpdateContext failed for http://localhost:1026: java.lang.NullPointerException

Have I something misconfigurated?

macu39 commented 8 years ago

just a misconfiguration . sorry