Can't create Confluence space with Gaia plugin

Hi Support,

I am going this error while create the Confluence space with Gaia plugin. Following is the error that I am getting:

org.apache.xmlrpc.XmlRpcException: java.lang.Exception: com.atlassian.confluence.rpc.RemoteException: Could not import space
2014-07-31 15:22:40,263 Thread-4326 ERROR ratanak 922x215172x1 aqtgo4 10.10.30.196 /rest/project-templates/1.0/templates [ca.nuum.gaia] org.apache.xmlrpc.XmlRpcException cannot be cast to java.util.Vector
2014-07-31 15:22:40,265 Thread-4326 ERROR ratanak 922x215172x1 aqtgo4 10.10.30.196 /rest/project-templates/1.0/templates [ca.nuum.gaia] ca.nuum.gaia.util.XMLRPCHelper.getPages(XMLRPCHelper.java:256)
2014-07-31 15:22:40,265 Thread-4326 ERROR ratanak 922x215172x1 aqtgo4 10.10.30.196 /rest/project-templates/1.0/templates [ca.nuum.gaia] ca.nuum.gaia.util.XMLRPCHelper.updateLinks(XMLRPCHelper.java:280)
2014-07-31 15:22:40,265 Thread-4326 ERROR ratanak 922x215172x1 aqtgo4 10.10.30.196 /rest/project-templates/1.0/templates [ca.nuum.gaia] ca.nuum.gaia.jira.SpaceImporter.run(SpaceImporter.java:51)
java.lang.ClassCastException: org.apache.xmlrpc.XmlRpcException cannot be cast to java.util.Vector
at ca.nuum.gaia.util.XMLRPCHelper.getPages(XMLRPCHelper.java:256)
at ca.nuum.gaia.util.XMLRPCHelper.updateLinks(XMLRPCHelper.java:280)
at ca.nuum.gaia.jira.SpaceImporter.run(SpaceImporter.java:51)

Thanks,
Leap

5 answers

1 accepted

Hi Frederick, The release is fixed the problem that I was having before.

Thanks,
Leap

Hi Leap,

Great news! I hope you will enjoy Gaia to it's full extent from now on.

Please feel free to leave a rating on the market page https://marketplace.atlassian.com/plugins/ca.nuum.gaia

Have a nice day,

Frederick Plante

Hi Web Essentials,

First of all, I would like to thank you for trying the Gaia for JIRA plugin. I am really sorry that you are having issues with it and I will do my best to help you setup everything just right.

In order to help you, I would need you to verify the following things in your configuration :

- In Confluence :

  • Make sure the system option to enable remote API is enables. You can find the steps here.
  • Make sure the user you are using to make the import has the space creation rights.
  • Make sure the Confluence Space you are trying to import has been exported with the following procedure.

Usually, this error happens when Confluence is not setup correctly. If the error is still happening, feel free to contact me directly in order to get the fastest answer possibly.

I really hope you can get to see what Gaia for JIRA can do for you when your problem is resolved.

Regards,

Frederick Plante, frederick.plante@nuumsolutions.com

Nuum Solutions

Hi Frederick Plante,

We have followed those instructions already.

  • Remote API is already enabled.
  • We are already using Admin user to create space
  • We also export Confluence space by following procedure too.

This error still happening and we couldn't get the project space in Confluence.

Thanks,

Ratanak

Hi Ratanak,

I would like to know a few more things.

First, what versions of JIRA, Confluence and GAIA are you using?

Also, have you tried a default package before trying to use a custome template? Are these working correctly for you?

One last thing, are you using the special tags to link issues in a Confluence page? I see that you error might be related to this.

Regards,

Frederick Plante, frederick.plante@nuumsolutions.com

Nuum Solutions.

Hi Frederick,

Thanks for your quick reply.

1. This is the version that we are using

- JIRA 6.2.6

- Confluence 5.5.2

2. We are using the Confluence Global Templates and Blueprint. Not sure if I answered your question.

3. No, we did not have any special links. The link the the template is more less link within page tree but not across project.

Best regards,
Leap

Hi Leap,

By default templates, I meant the starter process by example. This is a default template because it comes with Gaia by default. If you haven't already, I would like you to try creating a project using the starter process (which contains a Confluence space) in order to know if it's a bug in Gaia or in your current template configuration.

If anything goes wrong, feel free to post the details here so I can continue to help you.

Regards,

Frederick Plante Nuum Solutions.

Hi Leap,

I just wanted to let you know that we recently found a bug regarding space imports.

It seems that the way the export file from Confluence is generated has changed over the last releases of Confluence. We are hard at work to publish a new version of Gaia in the next week.

In the mean time, we hope that you will continue to test Gaia to it’s full extent since your feedback is really important for us.

Have a nice day,

Frederick Plante

frederick.plante@nuumsolutions.com

Hi Leap,

An update regarding your issue has been publish on the marketplace. Please update your version of the plugin and try the creation of you project again.

We're sorry for any inconveniences that this may have cause you and hope that this will fix your problem.

Regards,

Frederick Plante

frederick.plante@nuumsolutions.com

Hi Frederick,

I just tried to upgrade the plugin and also tried to create the project via Gaia plugin but I am still having problem. Following is the new error

2014-08-15 08:46:56,586 Thread-12301 ERROR leap 946x644989x1 x4h6am xx.xx.xx.xx /rest/project-templates/1.0/templates [ca.nuum.gaia] GAIA.zip (Permission denied)
2014-08-15 08:46:56,586 Thread-12301 ERROR leap 946x644989x1 x4h6am xx.xx.xx.xx /rest/project-templates/1.0/templates [ca.nuum.gaia] java.io.FileOutputStream.open(Native Method)
2014-08-15 08:46:56,586 Thread-12301 ERROR leap 946x644989x1 x4h6am xx.xx.xx.xx /rest/project-templates/1.0/templates [ca.nuum.gaia] java.io.FileOutputStream.<init>(Unknown Source)
2014-08-15 08:46:56,586 Thread-12301 ERROR leap 946x644989x1 x4h6am xx.xx.xx.xx /rest/project-templates/1.0/templates [ca.nuum.gaia] java.io.FileOutputStream.<init>(Unknown Source)
2014-08-15 08:46:56,586 Thread-12301 ERROR leap 946x644989x1 x4h6am xx.xx.xx.xx /rest/project-templates/1.0/templates [ca.nuum.gaia] ca.nuum.gaia.util.SpaceModifier.updateSpaceFileZip(SpaceModifier.java:97)
2014-08-15 08:46:56,587 Thread-12301 ERROR leap 946x644989x1 x4h6am 10.10.2.147 /rest/project-templates/1.0/templates [ca.nuum.gaia] ca.nuum.gaia.jira.SpaceImporter.createConfluenceSpace(SpaceImporter.java:69)
2014-08-15 08:46:56,588 Thread-12301 ERROR leap 946x644989x1 x4h6am 10.10.2.147 /rest/project-templates/1.0/templates [ca.nuum.gaia] ca.nuum.gaia.jira.SpaceImporter.run(SpaceImporter.java:47)
java.io.FileNotFoundException: GAIA.zip (Permission denied)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.<init>(Unknown Source)
at java.io.FileOutputStream.<init>(Unknown Source)
at ca.nuum.gaia.util.SpaceModifier.updateSpaceFileZip(SpaceModifier.java:97)
at ca.nuum.gaia.jira.SpaceImporter.createConfluenceSpace(SpaceImporter.java:69)
at ca.nuum.gaia.jira.SpaceImporter.run(SpaceImporter.java:47)

Leap

Hi Leap,

Sorry about this, a fix will be release as soon as possible.

Please update it once it's released and try again.

Regards,

Frederick Plante

Hi Frederick,

Please let me know when the fix is going to release so I will apply the fix.

Thanks.

Hi, This issue vas bien addressed in our last release. Please update and try again. Let me know how things goes after the update. Best regards, Frederick Plante

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published yesterday in Agile

What is ChatOps? A guide to its evolution, adoption, and significance

I am the product of AIM. I can hear that door swinging open and closed in my mind with absolute fidelity. I’d recognize that ding anywhere. At 15, as I typed away into AOL IM, I never imagined that ...

26 views 1 5
Read article

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