Null Pointer while starting SwiftMQ AMQP router

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Null Pointer while starting SwiftMQ AMQP router

Tomasch
Hello,

I have downloaded SwiftMQ AMQP Router (9.71) and I tried to start a router. I got null pointer exception on Queue Manager. I removed it from routerconfig.xml by removing it from <router> tag, but every next module got an exception. I had had not modified any files before starting the router.

It behaves the same when trying to run it with sudo. I also checked, the original port in configuration, 5671 is not taken by any process.

I also failed to find any useful information across the website, forum and web, only problems with upgrade. What should I do to make it start? Below the log with original exception:

(...)swiftmq_9_7_1_amqp/scripts/unix$ ./router
Booting SwiftMQ 9.7.1 AMQP Router ...
... startup: Trace Swiftlet
... startup: Log Swiftlet
... startup: Authentication Swiftlet
... startup: Threadpool Swiftlet
... startup: Timer Swiftlet
... startup: Network Swiftlet
... startup: Store Swiftlet
... startup: Queue Manager Swiftlet
java.lang.NullPointerException
        at com.swiftmq.impl.queue.standard.SystemQueueFactory.createQueue(Unknown Source)
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.c(Unknown Source)
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.createQueue(Unknown Source)
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.startup(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startUpSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlets(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.initSwiftlets(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startRouter(Unknown Source)
        at com.swiftmq.Router.main(Unknown Source)
com.swiftmq.swiftlet.SwiftletException: java.lang.NullPointerException
        at com.swiftmq.impl.queue.standard.QueueManagerImpl.startup(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startUpSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlet(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startKernelSwiftlets(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.initSwiftlets(Unknown Source)
        at com.swiftmq.swiftlet.SwiftletManager.startRouter(Unknown Source)
        at com.swiftmq.Router.main(Unknown Source)
Exception during startup kernel swiftlet 'sys$queuemanager': java.lang.NullPointerException
Reply | Threaded
Open this post in threaded view
|

Re: Null Pointer while starting SwiftMQ AMQP router

IIT Software
Administrator
A missing configuration attribute, sorry for that. We have fixed it. Download again and it should work.
Reply | Threaded
Open this post in threaded view
|

Re: Null Pointer while starting SwiftMQ AMQP router

Tomasch
It is working now. Thank you very much!