Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-5054

JIRA broken with Chinese SQL Server 2000 and MS driver

    XMLWordPrintable

    Details

      Description

      A user of the Chinese version of MSSQL 2000 reports getting the following error at various points in JIRA. Switching to the jTDS driver seems to have solved this issue, so it sounds like a bug in the MS JDBC driver.

      2004-10-25 23:50:42,078 ERROR [jira.issue.cache.IssueCache] Error issue or children from the database: SQL Exception while getting value: ([Microsoft][SQLServer 2000 Driver for JDBC]Underlying input stream returned zero bytes)

      org.ofbiz.core.entity.GenericDataSourceException: SQL Exception while getting value: ([Microsoft][SQLServer 2000 Driver for JDBC]Underlying input stream returned zero bytes)

      at org.ofbiz.core.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:594)

      at org.ofbiz.core.entity.GenericDAO.select(GenericDAO.java:493)

      at org.ofbiz.core.entity.GenericDAO.select(GenericDAO.java:454)

      at org.ofbiz.core.entity.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:77)

      at org.ofbiz.core.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:524)

      at org.ofbiz.core.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:559)

      at com.atlassian.jira.issue.managers.DefaultIssueManager.getIssue(DefaultIssueManager.java:50)

      at com.atlassian.jira.issue.cache.IssueCache.getIssueChildren(IssueCache.java:257)

      at com.atlassian.jira.issue.cache.DefaultCacheManager.getEntitiesByGenericValue(DefaultCacheManager.java:119)

      at com.atlassian.jira.issue.managers.CachingIssueManager.getEntitiesByIssue(CachingIssueManager.java:51)

      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:585)

      at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68)

      at com.atlassian.jira.config.component.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:27)

      at $Proxy4.getEntitiesByIssue(Unknown Source)

      at com.atlassian.jira.mail.IssueMailQueueItem.getIssueContextParams(IssueMailQueueItem.java:184)

      at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:108)

      at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:55)

      at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)

      at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53)

      at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50)

      at org.quartz.core.JobRunShell.run(JobRunShell.java:147)

      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)

      java.sql.SQLException: [Microsoft][SQLServer 2000 Driver for JDBC]Underlying input stream returned zero bytes

      at com.microsoft.jdbc.base.BaseExceptions.createException(Unknown Source)

      at com.microsoft.jdbc.base.BaseExceptions.getException(Unknown Source)

      at com.microsoft.jdbc.base.BaseData.getString(Unknown Source)

      at com.microsoft.jdbc.base.BaseResultSet.getString(Unknown Source)

      at org.apache.commons.dbcp.DelegatingResultSet.getString(DelegatingResultSet.java:198)

      at org.ofbiz.core.entity.jdbc.SqlJdbcUtil.getValue(SqlJdbcUtil.java:497)

      at org.ofbiz.core.entity.GenericDAO.select(GenericDAO.java:493)

      at org.ofbiz.core.entity.GenericDAO.select(GenericDAO.java:454)

      at org.ofbiz.core.entity.GenericHelperDAO.findByPrimaryKey(GenericHelperDAO.java:77)

      at org.ofbiz.core.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:524)

      at org.ofbiz.core.entity.GenericDelegator.findByPrimaryKey(GenericDelegator.java:559)

      at com.atlassian.jira.issue.managers.DefaultIssueManager.getIssue(DefaultIssueManager.java:50)

      at com.atlassian.jira.issue.cache.IssueCache.getIssueChildren(IssueCache.java:257)

      at com.atlassian.jira.issue.cache.DefaultCacheManager.getEntitiesByGenericValue(DefaultCacheManager.java:119)

      at com.atlassian.jira.issue.managers.CachingIssueManager.getEntitiesByIssue(CachingIssueManager.java:51)

      at sun.reflect.GeneratedMethodAccessor10.invoke(Unknown Source)

      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

      at java.lang.reflect.Method.invoke(Method.java:585)

      at com.atlassian.util.profiling.object.ObjectProfiler.profiledInvoke(ObjectProfiler.java:68)

      at com.atlassian.jira.config.component.DelegatingInvocationHandler.invoke(DelegatingInvocationHandler.java:27)

      at $Proxy4.getEntitiesByIssue(Unknown Source)

      at com.atlassian.jira.mail.IssueMailQueueItem.getIssueContextParams(IssueMailQueueItem.java:184)

      at com.atlassian.jira.mail.IssueMailQueueItem.send(IssueMailQueueItem.java:108)

      at com.atlassian.mail.queue.MailQueueImpl.sendBuffer(MailQueueImpl.java:55)

      at com.atlassian.jira.service.services.mail.MailQueueService.run(MailQueueService.java:23)

      at com.atlassian.jira.service.JiraServiceContainer.run(JiraServiceContainer.java:53)

      at com.atlassian.jira.service.ServiceRunner.execute(ServiceRunner.java:50)

      at org.quartz.core.JobRunShell.run(JobRunShell.java:147)

      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:387)

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned
              Reporter:
              jefft Jeff Turner
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: