You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Dave Brosius (JIRA)" <ji...@apache.org> on 2011/02/08 05:53:57 UTC

[jira] Created: (DERBY-5008) [patch] fix npe in error condition

[patch] fix npe in error condition
----------------------------------

                 Key: DERBY-5008
                 URL: https://issues.apache.org/jira/browse/DERBY-5008
             Project: Derby
          Issue Type: Bug
          Components: Miscellaneous
    Affects Versions: 10.7.1.1
            Reporter: Dave Brosius
            Priority: Trivial
             Fix For: 10.8.0.0
         Attachments: fix_log_npe.diff

code nulls out a variable and then access it, push the nulling down to the end.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Closed: (DERBY-5008) [patch] fix npe in error condition

Posted by "Dave Brosius (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dave Brosius closed DERBY-5008.
-------------------------------

    Bug behavior facts: [Regression]

> [patch] fix npe in error condition
> ----------------------------------
>
>                 Key: DERBY-5008
>                 URL: https://issues.apache.org/jira/browse/DERBY-5008
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0, 10.6.2.1, 10.7.1.1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: fix_log_npe.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> LogToFile#switchLogFile: In the cleanup code that handles failure of initLogFile, we see
> code nulls out a variable and then access it: push the nulling down to the end.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-5008) [patch] fix npe in error condition

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dag H. Wanvik updated DERBY-5008:
---------------------------------

    Component/s:     (was: Miscellaneous)
                 Store
    Description: 
LogToFile#switchLogFile: In the cleanup code that handles failure of initLogFile, we see
code nulls out a variable and then access it: push the nulling down to the end.

  was:code nulls out a variable and then access it, push the nulling down to the end.


Changed category to store, expanded description a bit. Thanks for the patch!

> [patch] fix npe in error condition
> ----------------------------------
>
>                 Key: DERBY-5008
>                 URL: https://issues.apache.org/jira/browse/DERBY-5008
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: fix_log_npe.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> LogToFile#switchLogFile: In the cleanup code that handles failure of initLogFile, we see
> code nulls out a variable and then access it: push the nulling down to the end.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Resolved: (DERBY-5008) [patch] fix npe in error condition

Posted by "Knut Anders Hatlen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Knut Anders Hatlen resolved DERBY-5008.
---------------------------------------

          Resolution: Fixed
            Assignee: Dave Brosius
    Issue & fix info:   (was: [Patch Available])

Thanks for the fix, Dave. It looks correct to me. Committed revision 1068302.

> [patch] fix npe in error condition
> ----------------------------------
>
>                 Key: DERBY-5008
>                 URL: https://issues.apache.org/jira/browse/DERBY-5008
>             Project: Derby
>          Issue Type: Bug
>          Components: Miscellaneous
>    Affects Versions: 10.7.1.1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: fix_log_npe.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> code nulls out a variable and then access it, push the nulling down to the end.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] Updated: (DERBY-5008) [patch] fix npe in error condition

Posted by "Dag H. Wanvik (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/DERBY-5008?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dag H. Wanvik updated DERBY-5008:
---------------------------------

    Affects Version/s: 10.0.2.0
                       10.0.2.1
                       10.1.1.0
                       10.1.2.1
                       10.1.3.1
                       10.2.1.6
                       10.2.2.0
                       10.3.1.4
                       10.3.2.1
                       10.3.3.0
                       10.4.1.3
                       10.4.2.0
                       10.5.1.1
                       10.5.2.0
                       10.5.3.0
                       10.6.1.0
                       10.6.2.1

> [patch] fix npe in error condition
> ----------------------------------
>
>                 Key: DERBY-5008
>                 URL: https://issues.apache.org/jira/browse/DERBY-5008
>             Project: Derby
>          Issue Type: Bug
>          Components: Store
>    Affects Versions: 10.0.2.0, 10.0.2.1, 10.1.1.0, 10.1.2.1, 10.1.3.1, 10.2.1.6, 10.2.2.0, 10.3.1.4, 10.3.2.1, 10.3.3.0, 10.4.1.3, 10.4.2.0, 10.5.1.1, 10.5.2.0, 10.5.3.0, 10.6.1.0, 10.6.2.1, 10.7.1.1
>            Reporter: Dave Brosius
>            Assignee: Dave Brosius
>            Priority: Trivial
>             Fix For: 10.8.0.0
>
>         Attachments: fix_log_npe.diff
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> LogToFile#switchLogFile: In the cleanup code that handles failure of initLogFile, we see
> code nulls out a variable and then access it: push the nulling down to the end.

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira