Ask a Question related to Coldfusion Database Access, Design and Development.

  1. #1

    Default 4096 Error

    All the message says is '4096' And the stack trace is as follows
    java.lang.ArrayIndexOutOfBoundsException: 4096 at
    macromedia.jdbc.sqlserver.SQLServerByteOrderedData Writer.putUCS2String(Unknown
    Source) at
    macromedia.jdbc.sqlserver.SQLServerByteOrderedData Writer.writeStringAsUCS2(Unkno
    wn Source) at
    macromedia.jdbc.sqlserver.tds.TDSExecuteRequest.su bmitRequest(Unknown Source)
    at macromedia.jdbc.sqlserver.SQLServerImplStatement.e xecute(Unknown Source)
    at macromedia.jdbc.base.BaseStatement.commonExecute(U nknown Source) at
    macromedia.jdbc.base.BaseStatement.executeInternal (Unknown Source) at
    macromedia.jdbc.base.BaseStatement.execute(Unknown Source) at
    coldfusion.server.j2ee.sql.JRunStatement.execute(J RunStatement.java:212) at
    coldfusion.sql.Executive.executeQuery(Executive.ja va:974) at
    coldfusion.sql.Executive.executeQuery(Executive.ja va:886) at
    coldfusion.sql.SqlImpl.execute(SqlImpl.java:229) at
    coldfusion.tagext.sql.QueryTag.doEndTag(QueryTag.j ava:447) at
    cfcaja_main_save_info2ehtm967805091.runPage(C:\Ine tpub\wwwroot\arquimex\caja_mai
    n_save_info.htm:107) at
    coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.j ava:1871) at
    cfcaja_main_paso6a2ehtm999599981.runPage(C:\Inetpu b\wwwroot\arquimex\caja_main_p
    aso6a.htm:12) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.j ava:1871) at
    cfcaja_main_paso62ehtm1969288794.runPage(C:\Inetpu b\wwwroot\arquimex\caja_main_p
    aso6.htm:9) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.j ava:1871) at
    cfcaja2ehtm628668499.runPage(C:\Inetpub\wwwroot\ar quimex\caja.htm:24) at
    coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.j ava:1871) at
    cfcentral_main2ecfm1372488602.runPage(C:\Inetpub\w wwroot\arquimex\central_main.c
    fm:36) at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.j ava:1871) at
    cfcentral2ecfm1135707634.runPage(C:\Inetpub\wwwroo t\arquimex\central.cfm:10)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.runtime.CfJspPage._emptyTag(CfJspPage.j ava:1871) at
    cfcontenido2ecfm507180174.runPage(C:\Inetpub\wwwro ot\arquimex\contenido.cfm:58)
    at coldfusion.runtime.CfJspPage.invoke(CfJspPage.java :147) at
    coldfusion.tagext.lang.IncludeTag.doStartTag(Inclu deTag.java:357) at
    coldfusion.filter.CfincludeFilter.invoke(Cfinclude Filter.java:62) at
    coldfusion.filter.ApplicationFilter.invoke(Applica tionFilter.java:107) at
    coldfusion.filter.PathFilter.invoke(PathFilter.jav a:80) at
    coldfusion.filter.ExceptionFilter.invoke(Exception Filter.java:47) at
    coldfusion.filter.ClientScopePersistenceFilter.inv oke(ClientScopePersistenceFilt
    er.java:28) at coldfusion.filter.BrowserFilter.invoke(BrowserFilt er.java:35)
    at coldfusion.filter.GlobalsFilter.invoke(GlobalsFilt er.java:43) at
    coldfusion.filter.DatasourceFilter.invoke(Datasour ceFilter.java:22) at
    coldfusion.CfmServlet.service(CfmServlet.java:105) at
    jrun.servlet.ServletInvoker.invoke(ServletInvoker. java:91) at
    jrun.servlet.JRunInvokerChain.invokeNext(JRunInvok erChain.java:42) at
    jrun.servlet.JRunRequestDispatcher.invoke(JRunRequ estDispatcher.java:252) at
    jrun.servlet.ServletEngineService.dispatch(Servlet EngineService.java:527) at
    jrun.servlet.jrpp.JRunProxyService.invokeRunnable( JRunProxyService.java:192)
    at
    jrunx.scheduler.ThreadPool$DownstreamMetrics.invok eRunnable(ThreadPool.java:348)
    at
    jrunx.scheduler.ThreadPool$ThreadThrottle.invokeRu nnable(ThreadPool.java:451)
    at
    jrunx.scheduler.ThreadPool$UpstreamMetrics.invokeR unnable(ThreadPool.java:294)
    at jrunx.scheduler.WorkerThread.run(WorkerThread.java :66)

    FDK Guest

  2. Similar Questions and Discussions

    1. #39520 [Bgs->Opn]: disk_free_space assumes a blocksize of 4096
      ID: 39520 User updated by: david at triax dot jp Reported By: david at triax dot jp -Status: Bogus +Status: ...
    2. 4096
      Does anyone have a clue as to this error? It seemed to be related to a query on the page, but there were no details, and I'm now unable to...
    3. Reducing colors to 4096 before saving?
      Hi. I want to reduce the colors in a picture to 4096 before I export/save it as jpeg. (I think that's 12bit color if I did the math correctly.) I am...
    4. #26238 [Com]: flush() doesn't work with output_buffering = 4096
      ID: 26238 Comment by: scottm at spamcop dot net Reported By: spam at vrana dot cz Status: Open Bug Type: ...
    5. #26238 [NEW]: flush() doesn't work with output_buffering = 4096
      From: spam at vrana dot cz Operating system: Windows XP PHP version: 4.3.3 PHP Bug Type: Output Control Bug description: ...
  3. #2

    Default Re: 4096 Error

    Hi

    i think this error will fire when you are trying to access an array element
    which is not at all exist.
    ex. an array var contains 5 elements and you are trying to access 7 element
    of that array, then you will get this error.

    vkunirs Guest

  4. #3

    Default Re: 4096 Error

    I am getting the same error and stack trace. It happens inside of a query,
    and I am checking the record count from a different query: <cfquery ...>
    select .. from mytable as a where ... <cfif checkForContractors.recordCount gt
    0> ,a.contractor </cfif> </cfquery> I have verified that there are rows being
    returned in the query checkForContractors. The odd thing is that if I put
    several returns before the cfif, it runs without error. Does anyone know what
    is going on? Thanks, John

    john.perez Guest

  5. #4

    Default Re: 4096 Error

    I also get the same error when performing a query. The query itself returns
    results when run against the database manually, and seems to happen in only
    some circumstances. If it does happen for a particular record, it happens
    everytime for that record, but on other records it works just fine. I am using
    a relatively simple SELECT query with AGREGATES.

    Guest

  6. #5

    Default Re: 4096 Error

    Have also noticed that if I log in as a different user and execute the same query it works fine.
    Guest

  7. #6

    Default Re: 4096 Error

    This error is referenced in some earlier archived messages:


    [url]http://www.macromedia.com/cfusion/webforums/forum/messageview.cfm?catid=7&thread[/url]
    id=684637&arctab=arc&highlight_key=y&keyword1=java %2Elang%2EArrayIndexOutOfBound
    sException%3A%204096

    Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139