DB2

 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me



Go Back   Tutorialized ForumsDatabasesDB2

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Tutorialized Forums Sponsor:
  #1  
Old February 10th, 2011, 09:29 AM
tejz tejz is offline
Registered User
Tutorialized Newbie (0 - 499 posts)
 
Join Date: Feb 2011
Posts: 1 tejz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 38 m 53 sec
Reputation Power: 0
Question GetBinaryStream,getBytes not Working more than 1MB gives Nullpointer Exception

resultset.getBinaryStream gives error for more than 1MB size of data.

Error:-


java.lang.NullPointerException
at com.ibm.db2.jcc.t4.j.b(j.java:293)
at com.ibm.db2.jcc.b.jk.a(jk.java:4599)
at com.ibm.db2.jcc.b.rf.a(rf.java:292)
at com.ibm.db2.jcc.b.rf.b(rf.java:248)
at com.ibm.db2.jcc.b.td.a(td.java:272)
at com.ibm.db2.jcc.b.sd.getBytes(sd.java:99)
at com.ibm.db2.jcc.b.td.getBytes(td.java:136)
at org.apache.jsp.WEB_002dINF.jsp.agendapdf_jsp._jspS ervice(agendapdf_jsp.java:102)
at org.apache.jasper.runtime.HttpJspBase.service(Http JspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.jasper.servlet.JspServletWrapper.servic e(JspServletWrapper.java:331)
at org.apache.jasper.servlet.JspServlet.serviceJspFil e(JspServlet.java:329)
at org.apache.jasper.servlet.JspServlet.service(JspSe rvlet.java:265)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.inv oke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.pro cessRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doF orward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.for ward(ApplicationDispatcher.java:302)
at org.apache.struts.chain.commands.servlet.PerformFo rward.handleAsForward(PerformForward.java:113)
at org.apache.struts.chain.commands.servlet.PerformFo rward.perform(PerformForward.java:96)
at org.apache.struts.chain.commands.AbstractPerformFo rward.execute(AbstractPerformForward.java:54)
at org.apache.struts.chain.commands.ActionCommandBase .execute(ActionCommandBase.java:51)
at org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:191)
at org.apache.commons.chain.generic.LookupCommand.exe cute(LookupCommand.java:305)
at org.apache.commons.chain.impl.ChainBase.execute(Ch ainBase.java:191)
at org.apache.struts.chain.ComposableRequestProcessor .process(ComposableRequestProcessor.java:283)
at org.apache.struts.action.ActionServlet.process(Act ionServlet.java:1913)
at org.apache.struts.action.ActionServlet.doPost(Acti onServlet.java:462)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:637)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:717)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(H ttp11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11Conn ectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run( JIoEndpoint.java:447)
at java.lang.Thread.run(Unknown Source)

some databases have limits on the default transfer sizes.

I am having Admin privileges.

How to increase the Default Transfer size in the DB2?

Reply With Quote
Reply

Viewing: Tutorialized ForumsDatabasesDB2 > GetBinaryStream,getBytes not Working more than 1MB gives Nullpointer Exception


Developer Shed Advertisers and Affiliates


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 

Powered by: vBulletin Version 3.0.5
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.

© 2003-2017 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap