atlassian-connect-express: "runtime error: invalid memory address or nil pointer dereference"

I'm trying to execute dashboard item example given at,

I have cloned to to my local drive and using visual studio code to debug.

When I ever I start node app.js, it gives following error,

Add-on server running at http://SG-DT-094:3000Failed to establish local tunnelerr = Error: panic: runtime error: invalid memory address or nil pointer dereference .....etc

Backend using




I'm confused at "'jugglingdb', require('jugglingdb-sqlite3'));" is this right way?

1 answer

This widget could not be displayed.

Hi Ramjeevan,

I see you asked this in the Developer Community and they replied with the following:


You don’t need to include‘jugglingdb’, require(‘jugglingdb-sqlite3’)); into your app.js file, also i’d suggest you using sequelize since jugglingdb is not maintained (last commit 1 year ago).

If that helps please accept the answer here and in the developer community so others can benefit from this solution if they are running into the same issue.



Thanks for your quick response!

Yes, I have changed the adapter to "sequelize", type: sqlite3, database: store.db, then giving the error as "url should be defined"

Then changed the type: postgres

url: "postgres://localhost:8080/my_data_base", then gives the error as "Unhandled error: SequelizeConnectionRefusedError: connect ECONNREFUSED"

Please find the attached pictures. As you can see in first pic, if there is a url, we get one type of error...

If there is no url, you can see the error in the next picture...


Suggest an answer

Log in or Sign up to answer
Atlassian Summit 2018

Meet the community IRL

Atlassian Summit is an excellent opportunity for in-person support, training, and networking.

Learn more
Community showcase
Posted Wednesday in New to Jira

Are you planning to trial, or are currently trialling Jira Software? - We want to talk to you!

Hello! I'm Rayen, a product manager at Atlassian. My team and I are working hard to improve the trial experience for Jira Software Cloud. We are interested in   talking to 20 people planning t...

292 views 5 0
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you