Universal Wiki Converter

A frequent request we've heard from both prospective and existing Confluence customers is along the lines of, "We really like Confluence, but we started with this other wiki and have a plethora of existing content laying around. Can you help us convert it?"

The Universal Wiki Converter (UWC) is both a standalone GUI tool and a well documented, extensible framework for conversion. It handles the common tasks associated with converting pages from other wikis to Confluence.

Currently supports

  • TWiki to Confluence
  • PmWiki to Confluence
  • DokuWiki to Confluence
  • MoinMoin to Confluence
  • Mediawiki to Confluence
  • JotSpot to Confluence
  • TikiWiki to Confluence
  • Jspwiki to Confluence
  • Swiki to Confluence

Getting started


UWC Issue Tracking
Please see the UWC Bug Report page for information about how to submit a bug report or feature request.

Help other users considering the switch

Do you wish you'd had an independent comparison of Confluence and old wiki when you were encouraging users to make the switch?
Why not help us create one! Just login with your free user account, click on a comparison and let us know what problems or features were critical to you.

Labels

 
  1. Nov 10, 2006

    Immo Huneke says:

    I am trying to get the UWC (Universal Wiki Converter) to convert a set of 300 pa...

    I am trying to get the UWC (Universal Wiki Converter) to convert a set of 300 pages with attachments from TWiki to Confluence. I have discovered a number of things in the process:

    • The converter relies on the target Confluence installation supporting the
      Unknown macro: {html}
      macro
    • The converter relies on the target Confluence installation recognising CamelCaseWords as links
    • The converter recognises bullet lists, but not numbered lists - the regexp in the twiki-cleaner module is wrong. I can fix this if Atlassian gives me access to the Subversion repository that contains the source

    I am at the moment trying to see if I can get the converter to recognise CamelCase words (that don't contain <nop> or start with an exclamation mark) and automatically put square brackets around them. This should not be too difficult with a Java regexp. I wouldn't like to switch on the CamelCase option in the target Confluence server, as there are thousands of pages there already which might then contain "broken links".

    1. Nov 10, 2006

      Brendan Patterson says:

      Hi Immo, Thanks for your interest in this. Yes the current TWiki converter doe...

      Hi Immo,

      Thanks for your interest in this.

      Yes the current TWiki converter does require that the HTML macro is turned on. This is true for some of the other converters as well. This was one way to handle some of the TWiki syntax that Confluence otherwise did not support.

      It's been a while since I was working on this code so I don't remember all of the specifics, but here is what I think the deal is on CamelCase. Yes the TWiki converter does want you to turn on CamelCase for the conversion, however pre-existing camel case links are not a problem. They get explicitly escaped by this regex:
      src\com\atlassian\uwc\converters\twiki\cleaners\CamelCaseEscape.java
      So it should be OK.

      As for the numbered lists you can get access to the repository by sending an email to Jonathan Nolen - jnolen AT atlassian.com However I think it's going to be much easier for you to add the regular expression directly to the converter.twiki.properties file. This is how I develop. The cleaners were mainly there as a port from another conversion system. You should be able to download the source code without any specific access, you just won't be able to check it back in. But please do check in any fixes you make.

      Hope that helps,
      Brendan

  2. Jan 31, 2007

    Pat Richards says:

    when running the converter I am getting the following error when trying to uploa...

    when running the converter I am getting the following error when trying to uploaded converted pages.

    java.io.FileNotFoundException: http://WWW.xxx.COM/CONFLUENCE/rpc/xmlrpc

    if I paste the url into a browser tomcat returns  a 404 error page with the following

    Type Status report

    message /CONFLUENCE/rpc/xmlrpc

    description The requested resource (/CONFLUENCE/rpc/xmlrpc) is not available.

    I am running SLL and I get the same message with http2 and http. 

    and yes RPC is enabled on the admin page 

    1. Jan 31, 2007

      Brendan Patterson says:

      I'm not sure off hand what the problem is. Does

      I'm not sure off hand what the problem is. Does http://WWW.xxx.COM/CONFLUENCE bring up your confluence page?

      You also mention you're running SSL. The UWC doesn not currently work over SSL....so I'm not sure if that is part of your issue.

      Is the exception happening on the UWC side? If so can you email me the stack trace?

      The other common things are that the space you're writing pages to defined in the UWC settings needs to exist and the user/password needs to have write permissions to that space.

      Which version of the UWC are you using?

      1. Jan 31, 2007

        Pat Richards says:

        Well its all working now. I think the problem was that the url didn't actually c...

        Well its all working now.

        I think the problem was that the url didn't actually change when I edited it saved and then reran the upload ( the first time I set the url it was in error). When I shut the app down and restarted it ,it all worked like magic.

        1. Jan 31, 2007

          Brendan Patterson says:

          Great. Thanks for posting. It is possible that 'new settings not taking affect u...

          Great. Thanks for posting. It is possible that 'new settings not taking affect until a restart' is an issue. I'll have a look.

        2. Jan 31, 2007

          Brendan Patterson says:

          Also when you have time please take 60 seconds to check a box or two and add a c...

          Also when you have time please take 60 seconds to check a box or two and add a comment to the UWC feedback form. Thanks!!!

  3. Jan 31, 2007

    John Pierce says:

    I have about 60 pages in dokuwiki format...&nbsp;&nbsp; I select wikitype: dokuw...

    I have about 60 pages in dokuwiki format...   I select wikitype: dokuwiki, give it the appropriate confluence settings (btw, should 'attachments' be the 'media' folder in doku ?), leave the converters alone, choose a bunch of *.txt pages, and try to send them to confluence, and nothing happens.    on screen 5, I hit 'Convert Pages to Confluence', and get the popup 'Do you want to send these pages to Confluence', click Yes, and nothing.

     am I missing something?   I'm running the converter on a windows machine that has java 1.5.0_something JDK in the path.    The DokuWiki files are from a Linux machine, I've copied them to a folder on my local hd....  Does the converter need access to the other metadata (history etc), or just the wiki/data/pages/*.txt files ?

    1. Jan 31, 2007

      Brendan Patterson says:

      We should add some feedback about how many files were successfully sent. If you ...

      We should add some feedback about how many files were successfully sent. If you just select a few files it might all happen so fast that you don't see anything else. If you select dozens or hundreds you typically see a progress bar.

      That's all you should need to do assuming your settings are correct. Give Confluence a minute or two and then check the dashboard to see if the pages appear in the 'recently added' list.

      If it's not working for you can you run the UWC from a DOS window and copy/paste/email me the output?

      1. Jan 31, 2007

        John Pierce says:

        k, I found my pages.&nbsp; for some silly reason, I expected them to show up in ...

        k, I found my pages.  for some silly reason, I expected them to show up in the new workspace I'd put them in.  guess i have to link up everything by hand.

         the dokuwiki converter didn't handle the links between 'folders' at all well, I have to go back and link up everything by hand.

        1. Jan 31, 2007

          Brendan Patterson says:

          Thanks for the info. Glad you found your pages. I do understand how that was con...

          Thanks for the info. Glad you found your pages. I do understand how that was confusing.

          Yes we've only recently added the ability to arrange wiki pages with child parent relationships to the core framework (thanks to Rolf Staflin). However this has not yet made it's way into most of the converters. I assume that's along the lines of what you're talking about.

          Originally the wikis I was looking to convert (MediaWiki and TikiWiki) didn't have the concept of parent child relationships or folders or groups or whatever else you might call those associations.

          Feel free to open open an enhancement request at the UWC Jira project

        2. Feb 01, 2007

          Rolf Staflin says:

          Hi! First, let me confirm that when converting from DokuWiki you should indeed s...

          Hi!
          First, let me confirm that when converting from DokuWiki you should indeed select the "media" folder as the attachment folder.

          There is indeed support for subpages or folders of pages now, and depending on how your wiki looks you may be able to use it "out of the box" by adding a hierarchy builder to the converter list:

          DokuWiki.0.hierarchy-builder=com.atlassian.uwc.hierarchies.BaseHierarchy

          In fact, if you check out the latest version of the UWC, you will find that the converter is already in the file (devel/conf/converter.dokuwiki.properties) although it's commented out.

          I designed the default implementation of the page hierarchy in UWC so that wikis like DokuWiki (i.e., wikis that store pages on disk in folders corresponding to the hierarchy) should work with it. One thing to look out for, though, is that in Confluence page names must be unique within a space. In DokuWiki, pages that are in different folders may have the same name and thus overwrite each other.

  4. Feb 17, 2007

    Renjith V says:

    The exported fails for with titles having '?'. 1. The Export funtionality works ...

    The exported fails for with titles having '?'.

    1. The Export funtionality works fine.

    2. But when "Send Pages to Confluence" is used, the conversion fails (as seen in the command prompt) for all the titles having '?' because windows does not allow file names with '?'

     Any ideas?

    1. Feb 17, 2007

      Brendan Patterson says:

      We need more information than this. Which type of wiki are you trying to convert...

      We need more information than this. Which type of wiki are you trying to convert? Can you email me the output from the command prompt? brendan @ atlassian(dot)com

      thanks!

    2. Feb 21, 2007

      Brendan Patterson says:

      Oh sorry. I didn't read your bug report correctly the first time. Special char...

      Oh sorry. I didn't read your bug report correctly the first time.

      Special characters in page titles are something that we can handle with a bit of tweaking by adding the title to the top of the exported files as metadata.

      Which converter are you using? For which wiki?

  5. Feb 21, 2007

    Patty Case says:

    I'm having a problem similar to one reported above.&nbsp; I'm trying to convert ...

    I'm having a problem similar to one reported above.  I'm trying to convert DokuWiki.  I have Remote API enabled in Admin, I'm running JDK 1.5, and I'm using an admin login.  I tried to convert just one page.  When I run run_uwc.bat, I get:

    Second(s): 0
    INFO  [Thread-3] - -------------------------------------
    INFO  [Thread-3] - converting page file: file.txt
    INFO  [Thread-3] -                    time to convert 62ms
    java.io.FileNotFoundException: http://<ip addr>/rpc/xmlrpc
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
            at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
            at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.getLoginToken(RemoteWikiBrokerOld.java:241)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:155)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:99)
            at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:547)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:508)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:477)
            at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:113)
            at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:77)
            at com.atlassian.uwc.ui.UWCForm2$7$1.construct(UWCForm2.java:349)
            at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
            at java.lang.Thread.run(Unknown Source)
    ERROR [Thread-3] - Error while adding page Page
    org.apache.xmlrpc.XmlRpcClientException: Failure writing request
            at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequest(XmlRpcClientRequestProcessor.java:76)
            at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequestBytes(XmlRpcClientRequestProcessor.java:102)
            at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:70)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:168)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:99)
            at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:547)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:508)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:477)
            at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:113)
            at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:77)
            at com.atlassian.uwc.ui.UWCForm2$7$1.construct(UWCForm2.java:349)
            at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
            at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.xmlrpc.XmlRpcException: null values not supported by XML-RPC
            at org.apache.xmlrpc.XmlWriter.writeObject(XmlWriter.java:231)
            at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequest(XmlRpcClientRequestProcessor.java:72)
            ... 15 more
    java.io.FileNotFoundException: http://<ip addr>/rpc/xmlrpc
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
            at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
            at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.getLoginToken(RemoteWikiBrokerOld.java:241)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.populatePageXmlRpcData(RemoteWikiBrokerOld.java:128)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:181)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:99)
            at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:547)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:508)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:477)
            at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:113)
            at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:77)
            at com.atlassian.uwc.ui.UWCForm2$7$1.construct(UWCForm2.java:349)
            at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
            at java.lang.Thread.run(Unknown Source)
    INFO  [Thread-3] - could not retrieve infor for page space:title - test:Page

    java.io.FileNotFoundException: http://<ip addr>/rpc/xmlrpc
            at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
            at org.apache.xmlrpc.DefaultXmlRpcTransport.sendXmlRpc(DefaultXmlRpcTransport.java:87)
            at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:72)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.getLoginToken(RemoteWikiBrokerOld.java:241)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:188)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:99)
            at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:547)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:508)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:477)
            at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:113)
            at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:77)
            at com.atlassian.uwc.ui.UWCForm2$7$1.construct(UWCForm2.java:349)
            at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
            at java.lang.Thread.run(Unknown Source)
    ERROR [Thread-3] - Failed to update page  Page
    org.apache.xmlrpc.XmlRpcClientException: Failure writing request
            at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequest(XmlRpcClientRequestProcessor.java:76)
            at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequestBytes(XmlRpcClientRequestProcessor.java:102)
            at org.apache.xmlrpc.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:70)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:194)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:185)
            at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:178)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:199)
            at com.atlassian.uwc.ui.xmlrpcwrapperOld.RemoteWikiBrokerOld.storeNewOrUpdatePage(RemoteWikiBrokerOld.java:99)
            at com.atlassian.uwc.ui.ConverterEngine.sendPage(ConverterEngine.java:547)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:508)
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:477)
            at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:113)
            at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:77)
            at com.atlassian.uwc.ui.UWCForm2$7$1.construct(UWCForm2.java:349)
            at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
            at java.lang.Thread.run(Unknown Source)
    Caused by: org.apache.xmlrpc.XmlRpcException: null values not supported by XML-RPC
            at org.apache.xmlrpc.XmlWriter.writeObject(XmlWriter.java:231)
            at org.apache.xmlrpc.XmlRpcClientRequestProcessor.encodeRequest(XmlRpcClientRequestProcessor.java:72)
            ... 15 more

    1. Feb 21, 2007

      Brendan Patterson says:

      Hmmm. Can you give me the full URL of a Confluence page...any page within your c...

      Hmmm. Can you give me the full URL of a Confluence page...any page within your confluence instance? Feel free to change the IP address, but just substitute something else in.

      Is it running on a specific port such as 8080?

      Also sometimes when Confluence is being run as a webapp it might not be just like:

      http://www.xyz.com/

      It might something like

      http://www.xyz.com/confluence in which case the UWC setting for Confluence URL needs to be
      http://www.xyz.com/confluence

      and if there is a specific port it might need to be something like
      http://www.xyz.com:8080/confluence

  6. Feb 22, 2007

    Patty Case says:

    Thanks\!&nbsp; The problem was that I just specified the IP address when instead...

    Thanks!  The problem was that I just specified the IP address when instead I needed "/confluence" after it.

    1. Apr 10, 2007

      Brendan Patterson says:

      There is now a test settings button

      There is now a test settings button that will be a big help for these situation.

  7. Apr 30, 2007

    John Pierce says:

    Trying to do another conversion with version 41 of the universal converter, down...

    Trying to do another conversion with version 41 of the universal converter, downloaded it on Friday...   source pages are dokuwiki format, abut 20-30 of them, I point to the media directory...

    Test Settings works, says "The user was authneticaed on the server and has the following permissions on the space with space key: 'fisWiki'[view, modify, comment, admin]".  

    when I go to do the actual conversion, the console dumps this error....

    INFO  [Thread-7] - ::: total time to convert files: 0 seconds.
    DEBUG [Thread-7] - >buildHierarchy(0 pages)
    Exception in thread "Thread-7" java.lang.NullPointerException
            at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:624)
            at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:137)
            at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:101)
            at com.atlassian.uwc.ui.UWCForm2$8$1.construct(UWCForm2.java:358)
            at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
            at java.lang.Thread.run(Unknown Source)
     

    and I can't find my pages on the workspace. 

    1. Apr 30, 2007

      Laura Kolker says:

      Hi John, Thanks for the heads up. I'm unable to reproduce the error you're hav...

      Hi John,

      Thanks for the heads up.

      I'm unable to reproduce the error you're having.

      However, I can tell from the debug message "DEBUG [Thread-7] - >buildHierarchy(0 pages)" that the HierarchyBuilder thinks that you are trying to convert 0 pages, which would cause the NPE that occurs just after it.

      So, some thoughts:

      • Can you think of any reason why the converter might think you had requested 0 files to be converted? If so, let me know, and I'll see what I can do about trying to reproduce it.
      • I'm a little unclear on what you mean by "I point to the media directory".
      • When you add pages, are you adding a directory instead of the individual files (this should work, but it's worth asking)?
      • When you try to do the conversion on 1 of your files, does the same thing happen? If so, can you can you create a JIRA issue for this problem here: UWC JIRA, and attach that file to the issue?
      • I'm in the midst of refactoring the HierarchyBuilder feature that happens to be barfing on you. While refactoring, I've noticed a couple of problems with the way that feature works. It's possible that your problem will go away when I release the new version (42) sometime this week.

      Cheers,
      Laura

      1. Apr 30, 2007

        John Pierce says:

        by pointing to the media directory, I meant the 'attachments' folder...&nbsp;&nb...

        by pointing to the media directory, I meant the 'attachments' folder...    I've explicitly loaded the .txt files. 

        ok, tried loading JUST my start.txt file, and got...
        C:\uwc\uwc>run_uwc.batC:\uwc\uwc>REM set classpath=target\uwc\classes;lib\jakarta-oro-2.0.8.jar;lib\lo
        g4j-1.2.13.jar;C:\uwc\uwc>REM run out of the sample-files dirC:\uwc\uwc>echo off
        DEBUG [main] - initializing listeners
        Second(s): 0
        INFO  [Thread-3] - ::: total time to convert files: 0 seconds.
        DEBUG [Thread-3] - >buildHierarchy(0 pages)
        Exception in thread "Thread-3" java.lang.NullPointerException
                at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:624)
                at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:137)
                at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:101)
                at com.atlassian.uwc.ui.UWCForm2$8$1.construct(UWCForm2.java:358)
                at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
                at java.lang.Thread.run(Unknown Source)


        oh.  meant to add...    looks like this box has Sun java 1.5.0_06, which I know isn't the latest.    I'll update it to _11 or whatever (had too many issues with 1.6 on other things, going to avoid for now).

        1. Apr 30, 2007

          Laura Kolker says:

          Hi John, Thanks for checking that. re: just start.txt ok. good to know that i...

          Hi John,

          Thanks for checking that.

          re: just start.txt

          ok. good to know that it happens for just one file.
          I've created a JIRA issue for this:
          http://developer.atlassian.com/jira/browse/UWC-120

          Since I'm not entirely sure what's happening yet, would it be possible for you to attach start.txt to the JIRA issue?

          re: Sun 1.5.0_06
          I would not expect that to be an issue, but I'll bear it in mind.

          Thanks
          Laura

          1. Apr 30, 2007

            John Pierce says:

            updated to J2SE JDK 1.5.011 and get exact same problem\\ \\ DEBUG main initiali...

            updated to J2SE JDK 1.5.0_11 and get exact same problem

            DEBUG [main] - initializing listeners
            Second(s): 0
            INFO  [Thread-3] - ::: total time to convert files: 0 seconds.
            DEBUG [Thread-3] - >buildHierarchy(0 pages)
            Exception in thread "Thread-3" java.lang.NullPointerException
                    at com.atlassian.uwc.ui.ConverterEngine.writeHierarchy(ConverterEngine.java:624)
                    at com.atlassian.uwc.ui.ConverterEngine.convert(ConverterEngine.java:137)
                    at com.atlassian.uwc.ui.ConverterEngine.processPages(ConverterEngine.java:101)
                    at com.atlassian.uwc.ui.UWCForm2$8$1.construct(UWCForm2.java:358)
                    at com.atlassian.uwc.ui.SwingWorker$2.run(SwingWorker.java:108)
                    at java.lang.Thread.run(Unknown Source)
             
            C:\uwc\uwc>java -version
            java version "1.5.0_11"
            Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03)
            Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing)

             

            1. May 01, 2007

              John Pierce says:

              a wrap on this for the sake of anyone else following...&nbsp;&nbsp; the clue was...

              a wrap on this for the sake of anyone else following...   the clue was (0 pages)...  I removed the *.txt filter from the Confluence Settings page, and it all worked for me.

  8. Jul 11, 2007

    Thomas Lamay says:

    Hi.&nbsp; I'm using Windows, Java 1.6.002, and Eclipse and I'm having a problem ...

    Hi.  I'm using Windows, Java 1.6.0_02, and Eclipse and I'm having a problem with the UWC source.  When I grabbed it today and built it, I get the following runtime error:

    Exception in thread "main" java.lang.NullPointerException
        at com.atlassian.uwc.ui.ConverterListForm.createActionListeners(ConverterListForm.java:44)
        at com.atlassian.uwc.ui.ConverterListForm.init(ConverterListForm.java:35)
        at com.atlassian.uwc.ui.ConverterListForm.<init>(ConverterListForm.java:31)
        at com.atlassian.uwc.ui.UWCForm2.<init>(UWCForm2.java:209)
        at com.atlassian.uwc.ui.UWCForm2.getInstance(UWCForm2.java:183)
        at com.atlassian.uwc.ui.UWCForm2.main(UWCForm2.java:148)

    I ultimately want to add my own attachment handling class.  Could this be an Eclipse configuration issue?  Any helpful tips or advice would be great.  Thanks!

    1. Jul 11, 2007

      Brendan Patterson says:

      After you build the UWC try running it from the command line using runuwc.bat. I...

      After you build the UWC try running it from the command line using run_uwc.bat. If that works (and I think it will) then it is the way you have Eclipse configured. Just make sure that your Eclipse project is including all of the jar files in the lib dir.

      Hope that helps.

      1. Jan 07

        Blair Motchan says:

        It would appear that the instructions I posted below are no longer necessary for...

        It would appear that the instructions I posted below are no longer necessary for using the UWC within Eclipse.

        1. Nov 01, 2007

          Brendan Patterson says:

          Many thanks Blair!

          Many thanks Blair!

  9. Aug 26, 2007

    Steven Ngo says:

    Hi guys, I was just wondering if I could get some help with the UWC. Do I have t...

    Hi guys,

    I was just wondering if I could get some help with the UWC.

    Do I have to run the UWC off the server confluence is running off or will it work of any computer with access to the Wiki?

    Currently I am trying to migrate some jspwiki content to the confluence Wiki with an admin login. The url is in the format (https://abc.au.123.com:10056/wiki/dashboard.action) and I have been using - https://abc.au.123.com:10056/wiki/ in UWC but to no avail. Is this correct?

    Whenever I test the connection it says that the user has been authenticated but does not have access to the space; even if i leave the username/password fields blank or enter a user/pw that does not exist.

    Any help would be much appreciated.

    Thanks in advance.