MissingFormatArgumentException when running sbt without arguments

6 views
Skip to first unread message

rkl...@gmail.com

unread,
May 3, 2013, 2:45:34 PM5/3/13
to simple-b...@googlegroups.com
Hi all,

I have got a strange error which I don't know how to debug. In a multi-module sbt project, I get an error java.util.MissingFormatArgumentException immediately when starting sbt without arguments. Running specific tasks like sbt compile works fine.

rklaehn@buildserver:~/projects_git/satmon3$ sbt
[info] Loading project definition from /home/rklaehn/projects_git/satmon3/project
[info] Set current project to root (in build file:/home/rklaehn/projects_git/satmon3/)
[error] java.util.MissingFormatArgumentException: Format specifier 's'
[error] Use 'last' for the full log.

The recommended way to get debug info, running "sbt last", does not reveal anything either. I also tried adding -v.

rklaehn@buildserver:~/projects_git/satmon3$ sbt last
[info] Loading project definition from /home/rklaehn/projects_git/satmon3/project
[info] Set current project to root (in build file:/home/rklaehn/projects_git/satmon3/)
[info] Loading project definition from /home/rklaehn/projects_git/satmon3/project
[debug] Running task... Cancelable: false, check cycles: false
[debug]
[debug] Initial source changes:
[debug]     removed:Set()
[debug]     added: Set()
[debug]     modified: Set()
[debug] Removed products: Set()
[debug] Modified external sources: Set()
[debug] Modified binary dependencies: Set()
[debug] Initial directly invalidated sources: Set()
[debug]
[debug] Sources indirectly invalidated by:
[debug]     product: Set()
[debug]     binary dep: Set()
[debug]     external source: Set()
[debug] Initially invalidated: Set()
[debug] Copy resource mappings:
[debug]    
[info] Set current project to root (in build file:/home/rklaehn/projects_git/satmon3/)

There must be some way to at least get a full stack trace of the exception above. I don't think there is anything fundamentally wrong with the build script, or else compile would not work. Sbt version is 0.12.2.

Any ideas how to debug this?

best regards,

Rüdiger
Reply all
Reply to author
Forward
0 new messages