fix profile issue when problem is null

--HG--
branch : java
application.rb.SAMPLE MUST contain new.js
what I said in @8d1e39d548bf is wrong

--HG--
branch : java