- 
    Bug 
- 
    Resolution: Done
- 
    Major 
- 
    7.1.0.DR19
- 
    None
- 
        
- 
        
- 
        
- 
        
- 
        
- 
        Workaround Exists
- 
        
- 
        
When running jdr.sh script with non-English locale, the script throws NullPointerException. Problem seems to be that the generate-jdr-output always uses English locale, but when parsing start-date and end-date, SimpleDateFormat uses system defined locales.
Initializing JBoss Diagnostic Reporter...
Trying to connect to http-remoting localhost:9990
Exception in thread "main" java.lang.NullPointerException
	at org.jboss.as.jdr.CommandLineMain.printJdrReportInfo(CommandLineMain.java:150)
	at org.jboss.as.jdr.CommandLineMain.main(CommandLineMain.java:144)
	at org.jboss.modules.Module.run(Module.java:344)
	at org.jboss.modules.Main.main(Main.java:519)
This is not issue when running generate-jdr-report() from CLI. Also easy to workaround by enforcing locale for the script run
LC_ALL=C $JBOSS_HOME/bin/jdr.sh
- is cloned by
- 
                    WFLY-8863 JDR throws NPE when running through jdr.sh with non-English locale -         
- Closed
 
-