Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-9288

Unable to finish creating an app with App Within Minutes

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.1-milestone-2
    • Fix Version/s: 5.1
    • Component/s: App Within Minutes
    • Labels:
    • Environment:
      Windows 7 / Windows 8
      Java 7
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Steps to reproduce:

      1. Click on "More applications" and then on "Create your own!" in the "Applications" panel
      2. Click "Create Application"
      3. Type a name for your application and click "Next Step"
      4. Click "Next Step"

      You'll get a stacktrace:

      2013-06-27 11:10:08,013 [http://localhost:8080/xwiki/bin/edit/test/WebHome?wizard=true&editor=inline&template=AppWithinMinutes.LiveTableTemplate&AppWithinMinutes.LiveTableClass_0_class=test.testClass&title=%24services.localization
      .render%28%27platform.appwithinminutes.appHomePageTitle%27%2C+%24doc.space%29&parent=AppWithinMinutes.WebHome] ERROR o.x.v.i.DefaultVelocityEngine  - Exception in macro #displayIcon called at xwiki:AppWithinMinutes.LiveTableEditSh
      eet[line 100, column 1]
      2013-06-27 11:10:08,013 [http://localhost:8080/xwiki/bin/edit/test/WebHome?wizard=true&editor=inline&template=AppWithinMinutes.LiveTableTemplate&AppWithinMinutes.LiveTableClass_0_class=test.testClass&title=%24services.localization
      .render%28%27platform.appwithinminutes.appHomePageTitle%27%2C+%24doc.space%29&parent=AppWithinMinutes.WebHome] ERROR o.x.v.i.DefaultVelocityEngine  - Exception in macro #doEdit called at xwiki:AppWithinMinutes.LiveTableEditSheet[l
      ine 10, column 1]
      

      and a "Failed to execute the [velocity] macro" error on the page (error.txt).

      This bug happens randomly on Windows. I was unable to reproduce it on Fedora with Java 7. For example you can see here that I was able to successfully create an app on 5.1M2. Now on the same environment (Win7, Java 7) I always get the error on the second step. Doesn't happen with Java 6 though.

        Attachments

          Activity

            People

            • Assignee:
              mflorea Marius Dumitru Florea
              Reporter:
              msmeria Manuel Smeria
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Date of First Response: