MOVED: Problems with MS-1722 Barebones build.

This topic has been moved to MSI Notebook.
https://forum-en.msi.com/index.php?topic=125421.0

Thank you for your response and sorry for the length
of code,
Thats was my first idea that it was asking for
or something I dont have but I checked my database and
I dont have any unusually large data entries (most
between 8-15 letters, the others are numbers) could it
be something wrong with how I've entered the database
in MsAccess, or am i barking up the wrong tree again!
Many thanks
RobI think you've misunderstood me. This has nothing to do with unusually large data entries, but rather the opposite. You are wrongly expecting data that is shorter than you think. When you call rs.getString(i) to retrieve a column value of a field, and you only want the first 5 characters in the column (instead of 10 or whatever the column size is), you would do something similar to the following:
String column_value = rs.getString(1).subtstring(0,5);The above expects a String that is at least 5 characters. Your problem is when your column value returned is less than the specified substring index ( in this case 5 ) it will throw an exception. If you changed your code to this, the error will not occur:
String column_value = rs.getString( 1 ).subtstring( 0, 5);
if ( column_value.length() > 5 )
column_value = column_value.substring( 0, 5 );
}Jamie

Similar Messages

  • Provisioning Profile - problems with installation our app build on devices

    We have problems with installation our app build on few devices. There are all in Provisioning Profile, but we don't know why we can't install the build on some devices. Any ideas?

    Apple products needing Apple love/support (athough using Adobe to compile to Apple-code may be an obvious concern since nothing beats native-code)
    The app still however requires code-signing in the correct manner - personally, the more the merrier.

  • MOVED: Problem with SATA DVD/RW

    This topic has been moved to AMD64 nVidia Based board.
    Problem with SATA DVD/RW

    I use the Plextor PX-712SA's with no issues. However...I do not believe the SATA versions require jumpers. Try plugging them in on SATA port 1 or 2, making sure those are enabled in BIOS of course. Make sure all connections are secure. There have been some issues with these particular drives not operating properly, but it has not been an issue with seasoned system builders, so the problems may be with the builder himself. Usually, Plextors are so good, they'll almost burn a paper plate! Try a different medium, maybe another brand of blank CD or DVD.
    You may also want to check Device Manager in Windows, to see if it is listed "This device is working properly"!

  • MOVED: Problems with IDE drives being recognized in Vista

    This topic has been moved to Vista problems.
    https://forum-en.msi.com/index.php?topic=105881.0

    This is a known problem with Internet Exploder 11, which Microsoft has been aware of since October 18 when they released their latest "untested" browser. The pages can't recognize the browser, so they don't recognize any of the plugins, like Flash Player. So far, Microsoft has made NO indication that they have any plan to fix it soon.
    Microsoft's recommendation is to use Compatibility View for affected pages, and "pretend" you're using an different browser. Trouble with that is it has seen limited success at best, and you have to individually enable it for EVERY page that has problems.
    I'm not big on "pretending" so I recommend actually using another browser.
    Firefox (from Mozilla)
    Opera (from Opera)
    Safari (from Apple)
    Chrome (from Google)
    ANY of those will work where IE11 won't, with the Flash Player Plug-in (For all other browsers), and Chrome doesn't even need that because it has its own Flash Player plugin built in.

  • MOVED: Problem with OC

    This topic has been moved to Overclockers & Modding Corner.
    Problem with OC

    Quote
    Originally posted by Deathstalker
    What kind of Hard Drives are you running? Where are they connected?
    I would also try loosening the timmings on the RAM, try 3.4.4.8.
    Take Care,Richard
    My sata I have connect on 3, ram I was try to run on 3-3-3-6 1:1 and too 166mhz, stll prime get down.

  • Problem with working in Flash Builder 4

    Hi there,
    I am working on the develepment of a new kind of website in 3D.
    For this I am using Flash Builder 4 AS3 Project and the 3D program Away3D.
    The problem is that I created a SWF in one AS3 project called PoloSWF.
    In another project I created a plane with the SWF as material.
    For this I copied PoloSWF from the original bin release directory and pasted it in the assets folder of the plane project.
    When running the plane project, the SWF is not visible.
    Any idea where the bug is?

    I tried it in Internet Explorer, Firefox, and Chrome. I was able to get the Akamai download manager but that was all I could download. Currently with firefox the download is stuck at waiting and will not continue any further.

  • I believe I have a problem with my Jar file build.

    Hi, there. New to Java/JavaFX. Testing language features. Operating System: Windows 7; java version 1.7.0_03; javafx version 2.0.3.
    This is a simple test with 2 classes: Test1.class resides in base directory "MyJavaFX"; TextFileLoader.class resides in sub-directory "inout" of "MyJavaFX"(i.e. MyJavaFX\inout).
    Test1.class has an import statement "import inout.TextFileLoader;" TextFileLoader.class has a package statement "package inout;"
    Both classes compile without problems and jar file is created using Ant tasks.
    Within "MyJavaFX" as my current directory, When running Application Test1 (java -jar Test1.jar)
    getting error "ClassNotFoundException: inout.TextFileLoader".
    I believe it has to do with how Test1.jar file is built. I believe line 4 should say "inout/TextFileLoader.class"
    instead of just the simple class name but I can't get my Ant task to set it up that way.
    This is "Test1.jar":
    META-INF/
    META-INF/MANIFEST.MF
    Test1.class
    TextFileLoader.class
    com/
    com/javafx/
    com/javafx/main/
    com/javafx/main/Main$1.class
    com/javafx/main/Main.class
    com/javafx/main/NoJavaFXFallback.class
    This is my "build.xml" file:
    <project name="JavaFxTest" default="default" basedir="."
         xmlns:fx="javafx:com.sun.javafx.tools.ant">
    <target name="default">
         <taskdef resource="com/sun/javafx/tools/ant/antlib.xml"
         uri="javafx:com.sun.javafx.tools.ant"
         classpath="C:/Program Files/Oracle/JavaFX 2.0 SDK/tools/ant-javafx.jar"/>
         <fx:application id="Test1"
         name="Java Test Program"
         mainclass="Test1"/>
         <fx:resources id="appRes">
         <fx:fileset dir="C:/Program Files/Oracle/JavaFX 2.0 Runtime/lib"/>
         </fx:resources>
         <fx:jar destfile="C:/MyjavaFX/Test1.jar">
         <fx:application refid="Test1"/>
         <fx:resources refid="appRes"/>
         <fileset dir="." includes="Test1.class"/>
         <fileset dir="inout" includes="TextFileLoader.class"/>
         </fx:jar>
    </target>
    </project>

    if javaw fails to launch the VM then a dialog should be displayed with an error. The first time I launch an application with javaw (after installing the JVM on a new machine it takes a long time for it to happen. have you tried from the command line >javaw -jar D.jar? I'm wondering if the installation of java went well on your machine. It's supposed to set up things correctly. did you install a new version of java over an existing one? maybe there was a java plugin previously installed on the machine before you installed j2sdk.
    walker

  • MOVED: Problem with Marvell SATA III ports

    This topic has been moved to Intel Core-iX boards.
    https://forum-en.msi.com/index.php?topic=143558.0

    Quote
    The problem appears to be the drive (WD WD1002FAEX 1TB).
    It is a firmware issue with the HDD (or the drive itself is faulty). WD may have a fix for it. Your revision is possibly a 01 series, & the 05 series work fine. I will search for the thread with the exact revisions details & edit my post with it.
    Quote
    They found that there are two versions of WD1002FAEX in the market. They are with firmware version either 01.01v01 or 05.01D05. The Marvell chipset can detect SATA III (6Gb/s) for the WD1002FAEX with 05.01D05 but only 3Gb/s for WD1002FAEX with 01.01v01.

  • MOVED: Problem with K8N Neo4 Platinum and Vista Ultimate

    This topic has been moved to Vista problems.
    https://forum-en.msi.com/index.php?topic=110040.0

    Set the Maxtor hard drive to be a Sata I instead of Sata II hard drive with a jumper.  Also make certain that the Sata controllers in Integrated Peripherals-IDE Devices Configuration are enabled.

  • MOVED: problem with z77a-g45 and gtx660tf

    This topic has been moved to MSI Video Cards.
    https://forum-en.msi.com/index.php?topic=170079.0

    Quote from: flobelix on 22-June-13, 22:13:17
    it is a hdmi issue happening with certain vga/monitor combination.
    Other combinations might work well but the combination of your monitor and your vga does not. As said before use a dvi to hdmi adapter and the problem is solved.

  • Problems with starting the Integration Builder

    Dear all
    We've installed PI 7.0 as a part of a project, and have some consultants working in the integration builder and rwb.
    Recently the we are unable to start the Integration Builder, and we get an error message prompting: "Unable to launch the application"
    The Builder has worked flawlessly earlier, and the problem have suddenly appeared during the last week.
    The Java error is:
    com.sun.deploy.net.FailedDownloadException: Unable to load resource: http://<serveradress>:<port>/dir/directory/iaik_jsse.jar
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    java.io.FileNotFoundException: http://<serveradress>:<port>/dir/directory/iaik_jsse.jar
         at sun.reflect.GeneratedConstructorAccessor2.newInstance(Unknown Source)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
         at java.lang.reflect.Constructor.newInstance(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection$6.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         at sun.net.www.protocol.http.HttpURLConnection.getChainedException(Unknown Source)
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doRequest(Unknown Source)
         at com.sun.deploy.net.BasicHttpRequest.doGetRequest(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.actionDownload(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResourceCacheEntry(Unknown Source)
         at com.sun.deploy.net.DownloadEngine.getResource(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadJarFiles(Unknown Source)
         at com.sun.javaws.LaunchDownload.downloadEagerorAll(Unknown Source)
         at com.sun.javaws.Launcher.downloadResources(Unknown Source)
         at com.sun.javaws.Launcher.prepareLaunchFile(Unknown Source)
         at com.sun.javaws.Launcher.prepareToLaunch(Unknown Source)
         at com.sun.javaws.Launcher.launch(Unknown Source)
         at com.sun.javaws.Main.launchApp(Unknown Source)
         at com.sun.javaws.Main.continueInSecureThread(Unknown Source)
         at com.sun.javaws.Main$1.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: <serveradress>:<port>/dir/directory/iaik_jsse.jar
         at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
         at java.net.HttpURLConnection.getResponseCode(Unknown Source)
         ... 18 more
    Does anyone have a clue or answer to this strange problem?
    Regards
    Andreas

    Hi,
    Refer this thread;
    Unable to Open Integration Builder
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1688 [original link is broken] [original link is broken] [original link is broken]
    Regards,
    Nithiyanandam

  • MOVED: Problem with CPU Voltage

    This topic has been moved to Overclockers & Modding Corner.
    https://forum-en.msi.com/index.php?topic=140957.0

    I have similar issues, it's hard to tell which measurement is the most accurate, there are 2 different measurements in the control center that don't match up with the figures set in the bios.  The only way to be sure would be to get an expensive accurate multimeter but If you're only interested in running a stable overclocked computer without knowing the exact figures then get the computer running stable and lower the voltages until it starts to become unstable with prime95,
    Or you could work the other way round, set the voltages so it boots but doesn't run prime95 for long, then raise the vcore and vtt one at a time until your happy with the length of time prime95 runs without errors.  I'd be happy with 24 hours, I seem to remember errors creeping in at around the 9 hour mark on the setting below what I have it set to now.

  • MOVED: problem with MSI notebook L:715

    This topic has been moved to Megabook.
    https://forum-en.msi.com/index.php?topic=115152.0

    yipppy 
    THX !
    Now work without freezing    , but now my new problem :
    i got a little bit small points in the 3DMark 2005 Demo(1024x768 NoAA) only 3774 point that's not
    very good i think.
    Now i try to enable the 8xAGP settings, or the fast writes, because i feel i loose some VGA Powa don't
    you think ?
    And now it is work, but why ? : my Mobo is bad or my VGA or what?
    Many thanks  :smiley:

  • Problems with BPEL Designer ERROR build.xml:28: ORABPEL-00000

    following problem could someone help me, please
    I'm using Oracle BPEL Designer Plugin bpelz_0.9.10_win32.exe installed manually on Eclipse 3.2 SDK???
    Buildfile: C:\Programme\eclipse\workspace\SyncHelloWorld\build.xml
    main:
    [bpelc] bpelc> validating "C:\Programme\eclipse\workspace\SyncHelloWorld\SyncHelloWorld.bpel" ...
    BUILD FAILED
    C:\Programme\eclipse\workspace\SyncHelloWorld\build.xml:28: ORABPEL-00000
    Exception not handled by the Collaxa Cube system.
    An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NoClassDefFoundError: sun/tools/javac/Main
         at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:234)
         at com.collaxa.cube.util.JavaHelper.javac(JavaHelper.java:204)
         at com.collaxa.cube.lang.compiler.CubeProcessor.compileGeneratedClasses(CubeProcessor.java:1023)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:579)
         at com.collaxa.cube.lang.compiler.CubeProcessor.transformClientSide(CubeProcessor.java:467)
         at com.collaxa.cube.lang.compiler.CubeParserHelper.compileClientSide(CubeParserHelper.java:68)
         at com.collaxa.cube.ant.taskdefs.Bpelc.execute(Bpelc.java:543)
         at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
         at org.apache.tools.ant.Task.perform(Task.java:364)
         at org.apache.tools.ant.Target.execute(Target.java:341)
         at org.apache.tools.ant.Target.performTasks(Target.java:369)
         at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
         at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
         at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
         at org.eclipse.ant.internal.core.ant.EclipseDefaultExecutor.executeTargets(EclipseDefaultExecutor.java:32)
         at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:706)
         at org.eclipse.ant.internal.core.ant.InternalAntRunner.run(InternalAntRunner.java:457)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.ant.core.AntRunner.run(AntRunner.java:356)
         at org.eclipse.ant.internal.ui.launchConfigurations.AntLaunchDelegate$1.run(AntLaunchDelegate.java:230)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: sun/tools/javac/Main
    Handled As: com.collaxa.cube.lang.compiler.CubeCException

    Hi
    Where does your JAVA_HOME variable point to? To JRE or JDK? This looks like Eclipse can't find javac in your path.
    ^_^

  • MOVED: problem with USB speed

    This topic has been moved to AMD64 nVidia boards.
    https://forum-en.msi.com/index.php?topic=132667.0

    Quote from: Bas on 20-November-09, 21:57:20
    Did you install all the drivers listed here?
    http://eu.msi.com/index.php?func=downloaddetail&type=driver&maincat_no=1&prod_no=261
    I also move this topic to the right area.
    Yes, everything is installed and updated with latest drivers even from nVidia WEB for ULi chipset. the devices that we are talking about are USB removable storage like 8GB USB Flash Drive from Kingmax, 2GB Flash Drive from Xerox, 1 GB USB Flash drive from Kingston, USB case for 2,5" HDD from Spire ... I can count till tomorrow

Maybe you are looking for

  • Sharing Iphoto Library in a network

    Hello all, I have been looking for an answer and i hope you can help me. I use two macs, one for me one for my wife, and i just transferred all the pics to the time capsule, so both macs can access the same iphoto library, and they do perfectly fine,

  • Can't copy iPhoto from my backup disk

    I had to restore a lot of apps from my external backup drive yesterday. Most of them went OK, but, among others, iPhoto and iWeb wouldn't copy over to my iMac from the external drive. And, as luck would have it, I can't find my original iLife disks I

  • So should I give up trying to get functionality out of my Audigy 2 in Vis

    Does creative still insist they're going to make fully-functional drivers for my Audigy 2 Plat Pro (which was $350 mind you), or have they finally just given up?

  • Dependencies not included during deployment in JDev3.0

    At the Advanced configuration I have included the package name or the classes name to be included into the archive file but this does not seem to work. There is no problem when using JDev2.0. Is there anyone else facing this problem?

  • Find and Replace across multiple topics

    I haven't used RoboHTML in a few years and am getting back to using it again. this is a fairly simple question, but the Help for RoboHelp doesn't seem to provide an answer.   How do you do a simple find and replace across multiple topics?  I want to