User Activity

  • Modified a comment on discussion Help on im4java

    I found the following bug in line 252 of ImageCommand.java there is no check if iErrorText is null: protected void finished(int pReturnCode) throws Exception { if (pReturnCode > 0) { CommandException ce; if (iErrorText.size() > 0) { // <-- NullPointer ce = new CommandException(iErrorText.get(0)); // <-- partial error message } else { ce = new CommandException("return code: " + pReturnCode); } ce.setErrorText(iErrorText); ce.setReturnCode(pReturnCode); throw ce; } else { removeTmpFiles(); } } I solved...

  • Modified a comment on discussion Help on im4java

    I found the following bug in line 252 of ImageCommand.java there is no check if iErrorText is null: protected void finished(int pReturnCode) throws Exception { if (pReturnCode > 0) { CommandException ce; if (iErrorText.size() > 0) { // this line ce = new CommandException(iErrorText.get(0)); I solved it as follows: protected void finished(int pReturnCode) throws Exception { if (pReturnCode > 0) { CommandException ce; if (iErrorText != null && iErrorText.size() > 0) { ce = new CommandException(String.join(",",...

  • Posted a comment on discussion Help on im4java

    I found the following bug in line 252 of ImageCommand.java there is no check if iErrorText is null: protected void finished(int pReturnCode) throws Exception { if (pReturnCode > 0) { CommandException ce; if (iErrorText.size() > 0) { // this line ce = new CommandException(iErrorText.get(0)); I solved it as follows: protected void finished(int pReturnCode) throws Exception { if (pReturnCode > 0) { CommandException ce; if (iErrorText != null && iErrorText.size() > 0) { ce = new CommandException(String.join(",",...

View All

Personal Data

Username:
gabfav
Joined:
2017-10-24 11:29:45

Projects

  • No projects to display.

Personal Tools