element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet & Tria Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • About Us
    About the element14 Community
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Japan
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      •  Vietnam
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
RoadTests & Reviews
  • Products
  • More
RoadTests & Reviews
RoadTest Forum Is anyone having issue with roadtest submissions? Having some SQL error message.
  • Blogs
  • Forum
  • Documents
  • RoadTests
  • Reviews
  • Polls
  • Files
  • Members
  • Sub-Groups
  • More
  • Cancel
  • New
Join RoadTests & Reviews to participate - click to join for free!
Actions
  • Share
  • More
  • Cancel
Forum Thread Details
  • State Suggested Answer
  • Replies 14 replies
  • Answers 8 answers
  • Subscribers 2757 subscribers
  • Views 1730 views
  • Users 0 members are here
  • RoadTest
  • problem
Related

Is anyone having issue with roadtest submissions? Having some SQL error message.

jdlui
jdlui over 9 years ago

This is error message I get when I try to submit:

 

PreparedStatementCallback; SQL [ INSERT INTO e14RoadTestApp ( roadTestAppID, containerID, containerType, userID, status, creationDate, modificationDate, title, description, roadTestID, fullName, email, address1, address2, language_code, city, province, postal, phone, fax, country, internalStatus, eeExperience, jobRole, comparableProducts, applicationUsage, projectTitle ) VALUES ( ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ? ); ]; Data truncation; nested exception is java.sql.DataTruncation: Data truncation

  • Sign in to reply
  • Cancel
Parents
  • rscasny
    0 rscasny over 9 years ago

    I submitted a computer ticket to figure out this problem.

     

    Thanks for notifying me.

     

    Randall

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Dudley
    0 Dudley over 9 years ago in reply to rscasny

    I'm here because someone submitted a computer ticket image

     

    I'm not even a little bit up to speed yet, I'm still getting my facts together. But jdlui - can you tell me which roadtest it is that you're applying to?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • Dudley
    0 Dudley over 9 years ago in reply to Dudley

    There are at least two bugs here, one is that we're presenting you the actual error, and the other is that you're getting the error at all image

     

    The first one is a doozy and entirely on me as the coder of that logic, I've got an untrapped error that I'm presenting to the user, and I'll get a ticket raised to get that fixed in the near future. Oops!

     

    The second one is the one that is causing you the drama. The error in question is a database related error, and happens because you the system is trying to insert into a fixed width column, and the data you are inserting is wider than the fixed width of the column. If this error were being trapped, I'd have a lot more information as we automatically log the data that caused a data trunc error, but because somehow this error is slipping the net and not being trapped, none of that has happened.

     

    So one of the fields you are entering is wider than is allowed on the database. The question is, is this one of the ones that you have entered, or is it one of the ones that I enter under the hood for our own internal use. I can't see the data you're trying to insert (because you've not inserted it), and I can't see any more information in the logs than what you've already given me.

     

    jdlui - I suspect you won't want to publish your application here, so is there any chance you can email me a screenshot of you getting this error?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
  • e14megan
    0 e14megan over 9 years ago in reply to mcb1

    ... I think we can make this happen. image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Reply
  • e14megan
    0 e14megan over 9 years ago in reply to mcb1

    ... I think we can make this happen. image

    • Cancel
    • Vote Up +3 Vote Down
    • Sign in to reply
    • Verify Answer
    • Cancel
Children
No Data
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2026 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube