otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
 Follow New Posts:Twitter
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTM Wiki

OTM SIG
OTM Wiki
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Functional Topics > Data Loading
Reload this Page

Error while uploading the rate_offering stops through multi table csv


Data Loading Loading data into OTM / G-Log through CSVs, XML, and the UI.

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 28th, 2008, 12:01
Senior Member
 
Join Date: Dec 2007
Location: Mumbai
Posts: 133
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 4 Times in 4 Posts
Rep Power: 3
cool_brat is on a distinguished road
Send a message via AIM to cool_brat Send a message via Yahoo to cool_brat Send a message via Skype™ to cool_brat
Error while uploading the rate_offering stops through multi table csv

Hi,

I am getting this error when trying to upload multi-table csv. can some one let me know whether this is some issue with the structure of the csv or something else?


java.lang.ArrayIndexOutOfBoundsException: 11 >= 11

java.lang.ArrayIndexOutOfBoundsException: 11 >= 11

java.lang.ArrayIndexOutOfBoundsException: 11 >= 11
at java.util.Vector.elementAt(Vector.java:431)
at glog.database.admin.CSVUtil$ControlInfo.getColumnN ame(CSVUtil.java:532)
at glog.database.admin.CSVUtil$ControlInfo.getColumnD ataType(CSVUtil.java:547)
at glog.database.admin.CSVUtil$InsertCsvHandler.bind( CSVUtil.java:842)
at glog.database.admin.CSVUtil.bindGeneric(CSVUtil.ja va:1184)
at glog.database.admin.CSVUtil.processCSVDataLine(CSV Util.java:166
at glog.database.admin.CSVUtil.processMultiTableCSV(C SVUtil.java:1756)
at glog.database.admin.CSVUtil.processCSV(CSVUtil.jav a:1855)
at glog.database.admin.CSVUtil.run(CSVUtil.java:2521)
at glog.integration.servlet.CSVUtilServletHelper.proc essCSV(CSVUtilServletHelper.java:121)
at glog.integration.servlet.CSVUtilServletHelper.proc ess(CSVUtilServletHelper.java:239)
at glog.integration.servlet.CSVUtilServlet.process(CS VUtilServlet.java:26)
at glog.webserver.util.BaseServlet.service(BaseServle t.java:652)
at javax.servlet.http.HttpServlet.service(HttpServlet .java:802)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at glog.webserver.screenlayout.ClientSessionTracker.d oFilter(ClientSessionTracker.java:56)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at glog.webserver.util.SetCharacterEncodingFilter.doF ilter(SetCharacterEncodingFilter.java:44)
at org.apache.catalina.core.ApplicationFilterChain.in ternalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.do Filter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invo ke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invo ke(StandardContextValve.java:17
at org.apache.catalina.core.StandardHostValve.invoke( StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke (ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invok e(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.servic e(CoyoteAdapter.java:14
at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyo teHandler.java:199)
at org.apache.jk.common.HandlerRequest.invoke(Handler Request.java:282)
at org.apache.jk.common.ChannelSocket.invoke(ChannelS ocket.java:754)
at org.apache.jk.common.ChannelSocket.processConnecti on(ChannelSocket.java:684)
at org.apache.jk.common.ChannelSocket$SocketConnectio n.runIt(ChannelSocket.java:876)
at org.apache.tomcat.util.threads.ThreadPool$ControlR unnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:534)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old December 1st, 2008, 21:38
Member
 
Join Date: Dec 2007
Posts: 87
Groans: 1
Groaned at 1 Time in 1 Post
Thanks: 5
Thanked 16 Times in 16 Posts
Rep Power: 3
james_foran is on a distinguished road
Re: Error while uploading the rate_offering stops through multi table csv

I do get this every now and again also.

Ensure that you view each CSV file in a Text editor.

Also, if you load them individually, does this work successfully?
__________________
James Foran
Toll Solutions
http://www.tollgroup.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old December 6th, 2008, 09:17
Senior Member
 
Join Date: Dec 2007
Location: Mumbai
Posts: 133
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 4 Times in 4 Posts
Rep Power: 3
cool_brat is on a distinguished road
Send a message via AIM to cool_brat Send a message via Yahoo to cool_brat Send a message via Skype™ to cool_brat
Re: Error while uploading the rate_offering stops through multi table csv

Hi James,

When I load individual files like Rate Offering, Rate Offering Stops then they get loaded successfully. However, when I am trying to load them together in a single file by keeping multitable csv then I am getting the error of array outbound.

Does OTM support uploading multi table files like X_lane,Rate_offering,Rate_offering_Stops,Rate_GEO, Rate_Geo_cost in a single file (multitable format) and loading into OTM.

I have seen the datamanagement guide which show the example of location having multiple table uploaded in a single file.So this case should be possible as well , but I had no luck so far.

Can you confirm if this functionality is supported ?

-Vipin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old December 6th, 2008, 11:41
Senior Member
 
Join Date: Feb 2008
Location: Hyderabad, India
Posts: 129
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 2
Thanked 2 Times in 2 Posts
Rep Power: 3
MURTHYKO is on a distinguished road
Re: Error while uploading the rate_offering stops through multi table csv

It can be either of the below reasons:
1) There might be a lot of records without any data (only commas) after the last record.
2) If you are uploading Saved query csv's then there might be lot of space between line to line in the query

If either didn't help you attach you zip, i will check and suggest something.

Regards,
Lakshman
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old December 6th, 2008, 12:03
Senior Member
 
Join Date: Dec 2007
Location: Mumbai
Posts: 133
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 4 Times in 4 Posts
Rep Power: 3
cool_brat is on a distinguished road
Send a message via AIM to cool_brat Send a message via Yahoo to cool_brat Send a message via Skype™ to cool_brat
Re: Error while uploading the rate_offering stops through multi table csv

Hi Lakshman,

I dont think, I have too many records. and if these files get loaded correctly when I am loading them one by one in the same format then why is it that these tables don;t get loaded when I try to load them together.

Attached file which I am trying to upload.(I hv converted it to .xls format as .csv was not getting loaded on this site. Pls change it to .csv when you are trying to test this.)

-VipinOTM_RATE_GEO_MULTI.xls
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6 (permalink)  
Old December 10th, 2008, 02:53
Senior Member
 
Join Date: Dec 2007
Location: Mumbai
Posts: 133
Groans: 0
Groaned at 0 Times in 0 Posts
Thanks: 13
Thanked 4 Times in 4 Posts
Rep Power: 3
cool_brat is on a distinguished road
Send a message via AIM to cool_brat Send a message via Yahoo to cool_brat Send a message via Skype™ to cool_brat
Re: Error while uploading the rate_offering stops through multi table csv

Hi,

I figured out that error was coming because when csv file is opened in excel and then post changes this file is saved, we get a warning message that csv format is not compatible with the excel and you may loose some features of csv file.

If all the editing is done in textpad then I am not facing any problem.
Can someone share their experience on this.

-Vipin
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7 (permalink)  
Old December 11th, 2008, 11:09
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 1,167
Blog Entries: 8
Groans: 0
Groaned at 1 Time in 1 Post
Thanks: 143
Thanked 259 Times in 161 Posts
Rep Power: 10
chrisplough is a jewel in the roughchrisplough is a jewel in the roughchrisplough is a jewel in the rough
Send a message via AIM to chrisplough
Re: Error while uploading the rate_offering stops through multi table csv

Typically, I use Programmer's Notepad (Windows) or Textmate (Mac) - so I haven't run into this specifically.

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Multi-stops Sell Shipment Siewlng Planning 21 August 14th, 2009 13:53
Multi-stops and Bulk Planning slimjim30215 Planning 2 October 17th, 2008 15:21
Uploading document? Croc Data Loading 0 October 1st, 2008 09:25
Help for beginner. Documents uploading. ASAP! Croc Data Loading 0 September 30th, 2008 13:18
Can not plan multi-stop on multi-leg itinerary murban2110 Planning 0 April 8th, 2008 11:20



All times are GMT. The time now is 06:59.
Copyright © 2006-2009, Open Book Solutions LLC. All rights reserved.


Inactive Reminders By Icora Web Design

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