Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Next challenges

Recent achievements

  • Global
  • Personal

Recognition

  • Give kudos
  • Received
  • Given

Leaderboard

  • Global

Trophy case

Kudos (beta program)

Kudos logo

You've been invited into the Kudos (beta program) private group. Chat with others in the program, or give feedback to Atlassian.

View group

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Cloud instance returns shared_secret null while installing connect app Edited

o.s.web.servlet.DispatcherServlet : Completed 200 OK
2020-01-23 11:04:36.751 DEBUG 22972 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : POST "/installed", parameters={}
2020-01-23 11:04:36.768 DEBUG 22972 --- [nio-8080-exec-5] m.m.a.RequestResponseBodyMethodProcessor : Read "application/json;charset=UTF-8" to [com.atlassian.connect.spring.internal.lifecycle.LifecycleEvent@773b9ce6]
2020-01-23 11:04:36.925 INFO 22972 --- [ task-1] c.a.c.s.i.lifecycle.LifecycleController : Saved installation for host https://rajaboppana.atlassian.net/wiki (62724b09-fab4-3d8c-bded-79417804003c)
2020-01-23 11:04:36.953 ERROR 22972 --- [ task-1] o.h.engine.jdbc.spi.SqlExceptionHelper : ERROR: null value in column "shared_secret" violates not-null constraint
Detail: Failing row contains (62724b09-fab4-3d8c-bded-79417804003c, MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUgL92DjShGcG8W4G/Msiqgj1w..., null, https://rajaboppana.atlassian.net/wiki, confluence, Atlassian Confluence at null , null, t, 2020-01-23 11:04:36.912, 2020-01-23 11:04:36.912, null, null, null).
2020-01-23 11:04:36.979 DEBUG 22972 --- [nio-8080-exec-5] o.s.web.servlet.DispatcherServlet : Failed to complete request: java.lang.RuntimeException: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [shared_secret]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement
2020-01-23 11:04:36.991 ERROR 22972 --- [nio-8080-exec-5] o.a.c.c.C.[.[.[/].[dispatcherServlet] : Servlet.service() for servlet [dispatcherServlet] in context with path [] threw exception [Request processing failed; nested exception is java.lang.RuntimeException: org.springframework.dao.DataIntegrityViolationException: could not execute statement; SQL [n/a]; constraint [shared_secret]; nested exception is org.hibernate.exception.ConstraintViolationException: could not execute statement] with root cause
org.postgresql.util.PSQLException: ERROR: null value in column "shared_secret" violates not-null constraint
Detail: Failing row contains (62724b09-fab4-3d8c-bded-79417804003c, MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCUgL92DjShGcG8W4G/Msiqgj1w..., null, https://rajaboppana.atlassian.net/wiki, confluence, Atlassian Confluence at null , null, t, 2020-01-23 11:04:36.912, 2020-01-23 11:04:36.912, null, null, null).
at org.postgresql.core.v3.QueryExecutorImpl.receiveErrorResponse(QueryExecutorImpl.java:2284) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.core.v3.QueryExecutorImpl.processResults(QueryExecutorImpl.java:2003) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.core.v3.QueryExecutorImpl.execute(QueryExecutorImpl.java:200) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.jdbc.PgStatement.execute(PgStatement.java:424) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.jdbc.PgPreparedStatement.executeWithFlags(PgPreparedStatement.java:161) ~[postgresql-9.4.1208.jar:9.4.1208]
at org.postgresql.jdbc.PgPreparedStatement.executeUpdate(PgPreparedStatement.java:133) ~[postgresql-9.4.1208.jar:9.4.1208]Capture.PNG

1 answer

0 votes

Hello Raja,

Welcome to Atlassian Community. It's nice to have you join us!

Could you help clarify what it is you're trying to do? It appears that you might be developing an add-on for Cloud, and you're not able to add it to your staging instance.

My recommendation would be instead to raise this with our Developer Community, available from our Atlassian Developer resources page. The community there has more hands-on experience with developing for Atlassian products, so it should be a better resource for you.

Let me know if you have any questions about that.

Regards,

Shannon

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Confluence Cloud

Share your Confluence Cloud experience for a chance to win $500!

Take our 5-minute survey to win a $500 Visa gift card! Are you currently using Confluence Cloud? We want to hear from you! Fill out this quick survey about your Confluence Cloud experience so we ...

293 views 5 14
Read article

Community Events

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

Find an event

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

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you