[
https://issues.apache.org/jira/browse/DERBY-3733?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12618455#action_12618455
]
Kathey Marsden commented on DERBY-3733:
---------------------------------------
Could you give us some more information so we can try to get a reproducible
case for this issue?
- Can you provide the schema or database and the sql statement you are trying
to execute. You should be able to see the statement that is executing by
setting derby.language.logStatementText=true and
derby.stream.error.logSeverityLevel=0 in your derby.properties file.
- Are you using sqlAuthorization?
> CompilerContextImpl.initRequiredPriv causes Null Pointer Exception - 10.3.2.2
> -----------------------------------------------------------------------------
>
> Key: DERBY-3733
> URL: https://issues.apache.org/jira/browse/DERBY-3733
> Project: Derby
> Issue Type: Bug
> Components: SQL
> Environment: Windows 2003 Server
> Reporter: Di Qiu
> Priority: Minor
>
> We randomly hit into this NullPointerException. Any suggestions would be
> appreciated.
> java.lang.NullPointerException
> at
> org.apache.derby.impl.sql.compile.CompilerContextImpl.initRequiredPriv(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.CompilerContextImpl.resetContext(Unknown
> Source)
> at
> org.apache.derby.impl.sql.compile.CompilerContextImpl.cleanupOnError(Unknown
> Source)
> at
> org.apache.derby.iapi.services.context.ContextManager.cleanupOnError(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.TransactionResourceImpl.handleException(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedConnection.handleException(Unknown
> Source)
> at org.apache.derby.impl.jdbc.ConnectionChild.handleException(Unknown
> Source)
> at org.apache.derby.impl.jdbc.EmbedStatement.executeStatement(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeStatement(Unknown
> Source)
> at
> org.apache.derby.impl.jdbc.EmbedPreparedStatement.executeQuery(Unknown Source)
> at
> org.apache.commons.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:92)
> at
> com.ibm.sysmgmt.resource.caching.db.PreparedStatementUtil.executeQuery(PreparedStatementUtil.java:321)
> at
> com.ibm.sysmgmt.resource.caching.db.DBResourceCachingService.getResourcesByType(DBResourceCachingService.java:3117)
> at
> com.ibm.sysmgmt.resource.caching.db.DBResourceCachingService.getResources(DBResourceCachingService.java:3037)
> at
> com.ibm.sysmgmt.resource.caching.BaseResourceCachingService._getResources(BaseResourceCachingService.java:285)
> at
> com.ibm.sysmgmt.resource.caching.BaseResourceCachingService._getResources(BaseResourceCachingService.java:306)
> at
> com.ibm.sysmgmt.resource.caching.BaseResourceCachingService.getResources(BaseResourceCachingService.java:3552)
>
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.