ProgramError.java


current inspection = 2009-09-03 21:56:13 (id #1)


Filter Options
Annotation Kind:
pre
presumption
post
unanalyzed
test_vector


  • void checkResponses(List)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.ui.FatalErrorDialog$4__ static_init.new int[](FatalErrorDialog$4__static_in it#1)[...])
    pre(soft) this.fixedStatus != null
    pre(soft) this.reportStatus != null
    preresponse != null
    presumptionjava.util.List:get(...)@322 != null
    presumptionjava.util.List:get(...)@335 != null
    presumptionjava.util.List:size(...)@322 >= -231+1
    postthis.fixedStatus != null
    postthis.fixedStatus == One-of{old this.fixedStatus, &com.dmdirc.logger.ErrorFixedStatus__static_ init.new ErrorFixedStatus(ErrorFixedStatus__static_ init#1), &com.dmdirc.logger.ErrorFixedStatus__s tatic_init.new ErrorFixedStatus(ErrorFixedStatus...
    postthis.reportStatus != null
    postthis.reportStatus == One-of{old this.reportStatus, &com.dmdirc.logger.ErrorReportStatus__static_ init.new ErrorReportStatus(ErrorReportStatus__ static_init#4), &com.dmdirc.logger. ErrorReportStatus__static_init.new ErrorReportStatu s(ErrorRepo...
    unanalyzedcall on com.dmdirc.logger.ErrorFixedStatus:equals
    unanalyzedcall on com.dmdirc.logger.ErrorReportStatus:equals
    unanalyzedcall on com.dmdirc.logger.ErrorReportStatus:ordinal
    unanalyzedcall on com.dmdirc.util.ListenerList:get
    unanalyzedcall on equals
    unanalyzedcall on errorStatusChanged
    unanalyzedcall on fireErrorStatusChanged
    unanalyzedcall on getErrorManager
    unanalyzedcall on getReportStatus
    unanalyzedcall on java.lang.Object:getClass
    unanalyzedcall on java.lang.Object:notifyAll
    unanalyzedcall on java.lang.String:equals
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.Arrays:equals
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on javax.swing.JButton:setEnabled
    unanalyzedcall on javax.swing.JButton:setText
    test_vectorjava.lang.String:equalsIgnoreCase(...)@322: {0}, {1}
    test_vectorjava.lang.String:matches(...)@336: {0}, {1}
    test_vectorjava.lang.String:matches(...)@338: {0}, {1}
    test_vectorjava.lang.String:matches(...)@340: {0}, {1}
    test_vectorjava.lang.String:matches(...)@342: {0}, {1}
    test_vectorjava.util.List:isEmpty(...)@322: {1}, {0}
    test_vectorjava.util.List:size(...)@330: {-231..0, 2..232-1}, {1}

  • void com.dmdirc.logger.ProgramError(long, ErrorLevel, String, String[], Date)

  • Kind Annotation Text
    predate != null
    preid >= 0
    prelevel != null
    premessage != null
    pretrace != null
    pretrace.length <= 232-1
    presumptionjava.lang.String:isEmpty(...)@103 == 0
    postinit'ed(this.trace)
    postthis.date != null
    postthis.fixedStatus == &amp;com.dmdirc.logger. ErrorFixedStatus__static_init.new ErrorFixedStatus( ErrorFixedStatus__static_init#7)
    postthis.id == id
    postthis.id >= 0
    postthis.level != null
    postthis.level == level
    postthis.message != null
    postthis.message == message
    postthis.reportStatus == &amp;com.dmdirc.logger. ErrorReportStatus__static_init.new ErrorReportStatu s(ErrorReportStatus__static_init#6)

  • com.dmdirc.logger.ProgramError__static_init

  • Kind Annotation Text
    postnew Semaphore(ProgramError__static_init#1) num objects == 1
    postwritingSem == &amp;new Semaphore(ProgramError__ static_init#1)

  • bool equals(Object)

  • Kind Annotation Text
    pre(soft) this.message != null
    postinit'ed(return_value)
    test_vectorjava.lang.String:equals(...)@403: {1}, {0}
    test_vectorjava.util.Arrays:equals(...)@407: {1}, {0}
    test_vectorobj: Inverse{null}, Addr_Set{null}
    test_vectorthis.level == obj.level: {1}, {0}

  • Date getDate()

  • Kind Annotation Text
    prethis.date != null
    postreturn_value != null

  • OutputStream getErrorFile()

  • Kind Annotation Text
    preinit'ed(errorDir)
    prethis.date != null
    presumptionjava.lang.System.err != null
    posterrorDir != null
    posterrorDir == One-of{old errorDir, &amp;new File(getErrorFile#1)}
    postnew File(getErrorFile#1) num objects <= 1
    postnew FileOutputStream(getErrorFile#8) num objects <= 1
    postnew NullOutputStream(getErrorFile#9) num objects <= 1
    postreturn_value in Addr_Set{&amp;new FileOutputStream( getErrorFile#8),&amp;new NullOutputStream(getErrorF ile#9)}
    unanalyzedcall on java.io.OutputStream
    unanalyzedcall on java.util.Date:clone
    test_vectorerrorDir: Addr_Set{null}, Inverse{null}
    test_vectorjava.io.File:exists(...)@245: {1}, {0}
    test_vectorjava.io.File:exists(...)@247: {1}, {0}
    test_vectorjava.io.File:exists(...)@256: {0}, {1}

  • ErrorFixedStatus getFixedStatus()

  • Kind Annotation Text
    preinit'ed(this.fixedStatus)
    postinit'ed(return_value)
    postreturn_value == this.fixedStatus

  • long getID()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.id

  • ErrorLevel getLevel()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.level

  • String getMessage()

  • Kind Annotation Text
    postinit'ed(return_value)
    postreturn_value == this.message

  • ErrorReportStatus getReportStatus()

  • Kind Annotation Text
    preinit'ed(this.reportStatus)
    postinit'ed(return_value)
    postreturn_value == this.reportStatus

  • String getSourceLine()

  • Kind Annotation Text
    pre(soft) this.trace[0] != null
    pre(soft) this.trace[...] != null
    prethis.trace != null
    prethis.trace.length in {1..232-1}
    postreturn_value != null
    test_vectorjava.lang.String:startsWith(...)@372: {0}, {1}

  • String[] getTrace()

  • Kind Annotation Text
    prethis.trace != null
    prethis.trace.length <= 232-1
    postinit'ed(return_value)

  • int hashCode()

  • Kind Annotation Text
    prethis.level != null
    prethis.message != null
    presumption(com.dmdirc.logger.ErrorLevel:hashCode(...)@418*67 + java.lang.String:hashCode(...)@419)*67 + java.util.Arrays:hashCode(...)@420 in {-2_149_588_989..4_292_861_954}
    presumptioncom.dmdirc.logger.ErrorLevel:hashCode(...)@418 in {-65_539_622..33_486_689}
    presumptioncom.dmdirc.logger.ErrorLevel:hashCode(...)@418*67 + java.lang.String:hashCode(...)@419 in {-96_187_407..96_124_561}
    postinit'ed(return_value)

  • bool isValidSource()

  • Kind Annotation Text
    pre(soft) this.trace[0] != null
    pre(soft) this.trace[...] != null
    prethis.trace != null
    prethis.trace.length in {1..232-1}
    postinit'ed(return_value)
    unanalyzedcall on java.lang.String:startsWith

  • void save()

  • Kind Annotation Text
    preinit'ed(errorDir)
    prethis.date != null
    prethis.trace != null
    prethis.trace.length <= 232-1
    presumptionarr$.length <= 232-1
    presumptionjava.util.Arrays:copyOf(...)@148 != null
    posterrorDir != null
    posterrorDir == One-of{old errorDir, &amp;new File(getErrorFile#1)}
    postnew File(getErrorFile#1) num objects <= 1
    unanalyzedcall on com.dmdirc.Main:getConfigDir
    unanalyzedcall on java.io.File
    unanalyzedcall on java.io.File:createNewFile
    unanalyzedcall on java.io.File:exists
    unanalyzedcall on java.io.File:mkdirs
    unanalyzedcall on java.io.File:renameTo
    unanalyzedcall on java.io.FileOutputStream
    unanalyzedcall on java.io.IOException:printStackTrace
    unanalyzedcall on java.io.OutputStream
    unanalyzedcall on java.io.PrintStream:println
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.Arrays:copyOf
    unanalyzedcall on java.util.Date:clone
    unanalyzedcall on java.util.Date:getTime
    unanalyzedcall on java.util.concurrent.Semaphore:acquireUnint erruptibly
    unanalyzedcall on java.util.concurrent.Semaphore:release

  • void send()

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.ui.FatalErrorDialog$4__ static_init.new int[](FatalErrorDialog$4__static_in it#1)[...])
    pre(soft) this.fixedStatus != null
    pre(soft) this.reportStatus != null
    prethis.trace != null
    prethis.trace.length <= 232-1
    presumptioncom.dmdirc.config.IdentityManager:getGlobalConfig(. ..)@287 != null
    presumptioncom.dmdirc.util.Downloader:getPage(...)@300 != null
    presumptionjava.util.List:get(...)@310 != null
    presumptionjava.util.List:size(...)@310 >= -231+1
    presumptionthis.fixedStatus@294 != null
    presumptionthis.reportStatus@294 != null
    postthis.fixedStatus != null
    postthis.reportStatus != null
    unanalyzedcall on com.dmdirc.logger.ErrorFixedStatus:equals
    unanalyzedcall on com.dmdirc.logger.ErrorReportStatus:equals
    unanalyzedcall on com.dmdirc.logger.ErrorReportStatus:ordinal
    unanalyzedcall on com.dmdirc.util.ListenerList:get
    unanalyzedcall on equals
    unanalyzedcall on errorStatusChanged
    unanalyzedcall on fireErrorStatusChanged
    unanalyzedcall on getErrorManager
    unanalyzedcall on getReportStatus
    unanalyzedcall on java.lang.Object:getClass
    unanalyzedcall on java.lang.Object:notifyAll
    unanalyzedcall on java.lang.String:equals
    unanalyzedcall on java.lang.String:equalsIgnoreCase
    unanalyzedcall on java.lang.String:matches
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.Arrays:copyOf
    unanalyzedcall on java.util.Arrays:equals
    unanalyzedcall on java.util.List:get
    unanalyzedcall on java.util.List:isEmpty
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on java.util.List:size
    unanalyzedcall on javax.swing.JButton:setEnabled
    unanalyzedcall on javax.swing.JButton:setText
    test_vectorjava.lang.String:equalsIgnoreCase(...)@310: {1}, {0}
    test_vectorjava.util.List:isEmpty(...)@310: {1}, {0}

  • void setFixedStatus(ErrorFixedStatus)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.ui.FatalErrorDialog$4__ static_init.new int[](FatalErrorDialog$4__static_in it#1)[...])
    pre(soft) this.fixedStatus != null
    pre(soft) this.reportStatus != null
    postthis.fixedStatus != null
    postthis.fixedStatus == One-of{old this.fixedStatus, newStatus}
    unanalyzedcall on com.dmdirc.logger.ErrorReportStatus:ordinal
    unanalyzedcall on com.dmdirc.util.ListenerList:get
    unanalyzedcall on equals
    unanalyzedcall on errorStatusChanged
    unanalyzedcall on getReportStatus
    unanalyzedcall on java.lang.Object:getClass
    unanalyzedcall on java.lang.String:equals
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.Arrays:equals
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on javax.swing.JButton:setEnabled
    unanalyzedcall on javax.swing.JButton:setText
    test_vectorcom.dmdirc.logger.ErrorFixedStatus:equals(... )@200: {1}, {0}
    test_vectornewStatus: Addr_Set{null}, Inverse{null}

  • void setReportStatus(ErrorReportStatus)

  • Kind Annotation Text
    pre(soft) init'ed(com.dmdirc.ui.FatalErrorDialog$4__ static_init.new int[](FatalErrorDialog$4__static_in it#1)[...])
    pre(soft) this.reportStatus != null
    postthis.reportStatus != null
    postthis.reportStatus == One-of{old this.reportStatus, newStatus}
    unanalyzedcall on com.dmdirc.logger.ErrorReportStatus:ordinal
    unanalyzedcall on com.dmdirc.util.ListenerList:get
    unanalyzedcall on equals
    unanalyzedcall on errorStatusChanged
    unanalyzedcall on getReportStatus
    unanalyzedcall on java.lang.Object:getClass
    unanalyzedcall on java.lang.String:equals
    unanalyzedcall on java.lang.Throwable:__curr_excep_obj
    unanalyzedcall on java.util.Arrays:equals
    unanalyzedcall on java.util.List:iterator
    unanalyzedcall on javax.swing.JButton:setEnabled
    unanalyzedcall on javax.swing.JButton:setText
    test_vectorcom.dmdirc.logger.ErrorReportStatus:equals(... )@184: {1}, {0}
    test_vectornewStatus: Addr_Set{null}, Inverse{null}

  • String toString()

  • Kind Annotation Text
    preinit'ed(this.reportStatus)
    postinit'ed(java.lang.StringBuilder:toString(...)._ tainted)
    postreturn_value == &amp;java.lang.StringBuilder:toStri ng(...)