Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.8
-
Fix Version/s: 3.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
2011.05.11 20:46:55 ERROR rails NativeException (java.lang.NullPointerException: null): org/sonar/server/ui/JRubyFacade.java:216:in `getProfileExporterMimeType' app/controllers/profiles_controller.rb:185:in `export' org/jruby/RubyKernel.java:2052:in `send' org/jruby/RubyKernel.java:2064:in `send' org/jruby/RubyProc.java:268:in `call' org/jruby/RubyProc.java:228:in `call' file:lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/head.rb:9:in `call' file:lib/jruby-rack-1.0.0.1.jar!/vendor/rack-1.2.1/rack/methodoverride.rb:24:in `call' file:lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:36:in `serve_rails' file:lib/jruby-rack-1.0.0.1.jar!/rack/adapter/rails.rb:41:in `call' file:lib/jruby-rack-1.0.0.1.jar!/jruby/rack/rails.rb:185:in `call' file:lib/jruby-rack-1.0.0.1.jar!/rack/handler/servlet.rb:19:in `call'
Can't reproduce this issue, but error handling has been improved if the requested profile does not exist. A 404 HTTP status is returned in this case.