db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5543) include debug info in derby builds uploaded to maven
Date Mon, 06 Nov 2017 23:51:01 GMT

    [ https://issues.apache.org/jira/browse/DERBY-5543?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16241199#comment-16241199

ASF subversion and git services commented on DERBY-5543:

Commit 1814447 from [~rhillegas] in branch 'code/trunk'
[ https://svn.apache.org/r1814447 ]

DERBY-5543: Add line numbers to stack traces produced by production artifacts; commit derby-5543-01-ab-insaneWithLineNumbers.diff.

> include debug info in derby builds uploaded to maven
> ----------------------------------------------------
>                 Key: DERBY-5543
>                 URL: https://issues.apache.org/jira/browse/DERBY-5543
>             Project: Derby
>          Issue Type: Improvement
>          Components: Build tools
>    Affects Versions:
>            Reporter: Sean Bridges
>            Assignee: Rick Hillegas
>            Priority: Minor
>         Attachments: derby-5543-01-ab-insaneWithLineNumbers.diff
> Looking at a strack trace from derby retrieved through maven, I see that derby is compiled
without debug information, this means line numbers are not available in stack traces,
> Caused by: java.lang.NullPointerException
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openContainer(Unknown
>         at org.apache.derby.impl.store.raw.data.BaseDataFileFactory.openDroppedContainer(Unknown
>         at org.apache.derby.impl.store.raw.xact.Xact.openDroppedContainer(Unknown Source)
>         at org.apache.derby.impl.store.raw.data.PageBasicOperation.findpage(Unknown Source)
>         at org.apache.derby.impl.store.raw.data.PageBasicOperation.needsRedo(Unknown
> and it is harder to debug code by setting breakpoints within derby.  Derby deployed to
maven should have debug information included.  
> I'm not sure how this is controlled, but looking at pom.xml I see,
>     <!-- Specifies whether to package the sane (debug) or insane jar.
>          Valid values: sane|insane
>       -->
>     <sanity>insane</sanity>
> The default should be sane.

This message was sent by Atlassian JIRA

View raw message