xebia/Xebium — Issue #29: MavenClasspathExtractionException when saucelab propertie file is missing
Author: cwortel
Created: 2012-01-03 11:57:51+00:00
State: open
Labels: bug

When no saucelabs.properties file is available the maven classpath generation causes an exception:

fitnesse.wikitext.widgets.MavenClasspathExtractionException: org.apache.maven.project.ProjectBuildingException: 12 problems were encountered while building the effective model for com.xebia.incubator:xebium:0.6-SNAPSHOT
[ERROR] Resolving expression: '${sauce.user}': Detected the following recursive expression cycle in 'sauce.user': [sauce.user] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.user}': Detected the following recursive expression cycle in 'sauce.user': [sauce.user] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.user}': Detected the following recursive expression cycle in 'sauce.user': [sauce.user] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.user}': Detected the following recursive expression cycle in 'sauce.user': [sauce.user] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
[ERROR] Resolving expression: '${sauce.accesskey}': Detected the following recursive expression cycle in 'sauce.accesskey': [sauce.accesskey] @
for project com.xebia.incubator:xebium:0.6-SNAPSHOT at /Users/cirilowortel/Documents/xebia/Xebium/master/pom.xml
fitnesse.wikitext.widgets.MavenClasspathExtractor.extractClasspathEntries(MavenClasspathExtractor.java:50)
fitnesse.wikitext.widgets.MavenClasspathSymbolType.getClasspathElements(MavenClasspathSymbolType.java:51)
fitnesse.wikitext.widgets.MavenClasspathSymbolType.toTarget(MavenClasspathSymbolType.java:30)
fitnesse.wikitext.parser.Translator.translate(Translator.java:24)
fitnesse.wikitext.parser.Translator.translate(Translator.java:29)
fitnesse.wikitext.parser.Collapsible.toTarget(Collapsible.java:52)
fitnesse.wikitext.parser.Translator.translate(Translator.java:24)
fitnesse.wikitext.parser.Translator.translateTree(Translator.java:17)
fitnesse.wiki.PageData.translateToHtml(PageData.java:243)
fitnesse.wiki.PageData.getHtml(PageData.java:198)
fitnesse.html.HtmlUtil.makePageHtmlWithHeaderAndFooter(HtmlUtil.java:241)
fitnesse.responders.WikiPageResponder.generateHtml(WikiPageResponder.java:101)
fitnesse.responders.WikiPageResponder.makeHtml(WikiPageResponder.java:89)
fitnesse.responders.WikiPageResponder.makePageResponse(WikiPageResponder.java:71)
fitnesse.responders.WikiPageResponder.makeResponse(WikiPageResponder.java:46)
fitnesse.FitNesseExpediter.createGoodResponse(FitNesseExpediter.java:123)
fitnesse.FitNesseExpediter.makeResponse(FitNesseExpediter.java:106)
fitnesse.FitNesseExpediter.start(FitNesseExpediter.java:48)
fitnesse.FitNesseServer.serve(FitNesseServer.java:24)
fitnesse.FitNesseServer.serve(FitNesseServer.java:17)
fitnesse.socketservice.SocketService$ServerRunner.run(SocketService.java:95)
java.lang.Thread.run(Thread.java:680)