buildr-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Martin Grotzke <martin.grot...@javakaffee.de>
Subject Buildr aborted with unknown exception in scala module
Date Fri, 07 Aug 2009 00:30:39 GMT
Hi,

suddenly we get an "unknown exception" in the build. That's happening on
the machine of one of our developers and on our CI server when doing a
`buildr clean test`. I cannot reproduce this but I also get the same
unknown exception when I run `buildr clean test:SomeTest` in the main
project directory - when I run the same in the directory of the
subproject that provides the test, the build finishes successfully.

Below you find the tail of the output of the `buildr clean
test:SomeTest` and the output of `buildr clean test`.

Do you have an idea what might be the reason for this?

Thanx && cheers,
Martin


==== tail of the output of `buildr clean test:SomeTest` ====

[loaded class file /opt/scala/lib/scala-library.jar(scala/runtime/RichInt.class) in 0ms] 
                                       
[loaded class file /usr/java/jdk1.6.0_13/jre/lib/rt.jar(java/util/Locale.class) in 5ms]  
                                       
[loaded class file /opt/scala/lib/scala-library.jar(scala/Enumeration.class) in 1ms]     
                                       
[loaded class file /home/grotzke/proj/freiheit/final_folder/core/target/ff-core-0.1-SNAPSHOT.jar(com/finalfolder/core/common/configuration/ConfigurationService.class)
in 1ms]                                                                                  
 
Exception while invoking prerequisites of task <Buildr::CompileTask ff:compile => [ff:resources,
ff:core:compile, ff:webapp:compile, ff:processing:compile, ff:converter:compile]>     
                                                                          
Exception while invoking prerequisites of task <Buildr::CompileTask ff:test:compile =>
[ff:compile, ff:test:resources, /home/grotzke/.m2/repository/org/testng/testng/5.9/testng-5.9-jdk15.jar,
/home/grotzke/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar]>  
Exception while invoking prerequisites of task <Buildr::TestTask ff:test => [/home/grotzke/proj/freiheit/final_folder/buildfile,
ff:test:compile, /home/grotzke/.m2/repository/org/testng/testng/5.9/testng-5.9-jdk15.jar,
/home/grotzke/.m2/repository/jmock/jmock/1.2.0/jmock-1.2.0.jar]>                      
                                                                                 
Buildr aborted!                                                                          
                                       
unknown exception                                                                        
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/scala/compiler.rb:111:in `method_missing'
                                   
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/scala/compiler.rb:111:in `compile'   
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:229:in `initialize'  
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `call'                         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `execute'                      
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'                         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'                      
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:633:in `invoke_with_call_chain'
                         
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'                                        
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
                         
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'                         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'         
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:388:in `invoke_prerequisites'
                               
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:626:in `invoke_with_call_chain'
                         
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'                                        
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
                         
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'                         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'         
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:388:in `invoke_prerequisites'
                               
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:626:in `invoke_with_call_chain'
                         
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'                                        
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
                         
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'                         
                                       
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'         
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:476:in `invoke_prerequisites'
                                  
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:626:in `invoke_with_call_chain'
                         
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'                                        
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
                         
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:614:in `invoke'  
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:164:in `run_local_tests'
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:161:in `each'           
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:161:in `run_local_tests'
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `[]'          
                                       
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `local_projects'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `local_projects'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:158:in `run_local_tests'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:542:in `first_time'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:633:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:614:in `invoke'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:553:in `first_time'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:633:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:614:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:499:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:223:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:138:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:499:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:135:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/bin/buildr:19
/usr/bin/buildr:19:in `load'
/usr/bin/buildr:19

=============================================================

==== tail of the output of `buildr clean test` ====

[loaded class file /home/bjrke/opt/scala/lib/scala-library.jar(scala/actors/OutputChannel.class)
in 0ms]
[loaded class file /home/bjrke/opt/scala/lib/scala-library.jar(scala/collection/immutable/Set.class)
in 4ms]
[loaded class file /usr/lib/jvm/java-6-sun-1.6.0.14/jre/lib/rt.jar(java/lang/System.class)
in 1ms]
[loaded class file /home/bjrke/opt/scala/lib/scala-library.jar(scala/collection/Set.class)
in 0ms]
[loaded class file /home/bjrke/opt/scala/lib/scala-library.jar(scala/actors/TIMEOUT.class)
in 0ms]
Buildr aborted!
unknown exception
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/scala/compiler.rb:111:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/scala/compiler.rb:111:in `compile'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:229:in `initialize'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:615:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:633:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:388:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:626:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/compile.rb:388:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:626:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:588:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:585:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:476:in `invoke_prerequisites'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:626:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:614:in `invoke'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:164:in `run_local_tests'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:161:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:161:in `run_local_tests'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `[]'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `local_projects'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/project.rb:349:in `local_projects'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:158:in `run_local_tests'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/test.rb:542:in `first_time'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `call'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:617:in `execute'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `each'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:612:in `execute'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:633:in `invoke_with_call_chain'
/usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:619:in `invoke_with_call_chain'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:614:in `invoke'
/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake.rb:2027:in `invoke_task'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `each'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:232:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:499:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:223:in `top_level'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:138:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:499:in `standard_exception_handling'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/lib/buildr/core/application.rb:135:in `run'
/usr/lib/ruby/gems/1.8/gems/buildr-1.3.4/bin/buildr:19
/usr/bin/buildr:19:in `load'
/usr/bin/buildr:19

=============================================================




Mime
View raw message