Please help this HPE Fortify Issue for log Forging in GWTP Client side

58 views
Skip to first unread message

Praveen kumar

unread,
Feb 26, 2018, 1:10:45 AM2/26/18
to GWTP



This is my existing code snippet 

 @Override
                    public void onFailure(Throwable throwable) {
                        LOGGER.log(Level.SEVERE, "ChargeGroupActionHistory.addActionHistory.Error", throwable);
                    }

Proposed solution :
---------------------
 @Override
                    public void onFailure(Throwable throwable) {
                        LOGGER.log(Level.SEVERE, "ChargeGroupActionHistory.addActionHistory.Error{0}", new Object[],{throwable});
                    }

After applying this fix we are getting exception like below

 Failed to execute goal org.codehaus.mojo:gwt-maven-plugin:2.8.2:compile (default) on project client: Command failed with status 1:

Please suggest any solution to fix the HPE fortify issue for log Forging 

Thanks 
Praveen Kumar
Reply all
Reply to author
Forward
0 new messages