Import Excel gives Java error

When I try to import an excel spreadsheet, I get the following error:
org.apache.poi.hssf.record.RecordFormatException: Unable to construct record instance, the following exception occured: null
     at org.apache.poi.hssf.record.RecordFactory.createRecord(RecordFactory.java:237)
     at org.apache.poi.hssf.record.RecordFactory.createRecords(RecordFactory.java:160)
     at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:163)
     at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:210)
     at org.apache.poi.hssf.usermodel.HSSFWorkbook.<init>(HSSFWorkbook.java:191)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportUtil.insertExcelToTable(ExcelImportUtil.java:37)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportEditor.importExcelToTable(ExcelImportEditor.java:79)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportEditor.importExcel(ExcelImportEditor.java:50)
     at oracle.dbtools.raptor.dialogs.actions.ExcelImport.launch(ExcelImport.java:11)
     at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:124)
     at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
     at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
     at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
     at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
     at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
     at java.awt.Component.processMouseEvent(Component.java:5488)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
     at java.awt.Component.processEvent(Component.java:5253)
     at java.awt.Container.processEvent(Container.java:1966)
     at java.awt.Component.dispatchEventImpl(Component.java:3955)
     at java.awt.Container.dispatchEventImpl(Container.java:2024)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
     at java.awt.Container.dispatchEventImpl(Container.java:2010)
     at java.awt.Window.dispatchEventImpl(Window.java:1774)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
SQLDeveloper 1.1 .0.23
Import/Export Support     oracle.ide.importexport     11.1.1.0.11.42.44     Loaded
Win XP (SP2)
Java JRE 1.5.0_06
connecting to
Oracle 10.2 on same box (Win)
Oracle 10.2 (Solaris)
Oracle 9.2 (Win)
However, from home over a VPN connection it works.
Same version of SQL Dev, but
Mac OS X 10.4.8.
JRE 1.5.0_06 (same as on Windows box)
Apart from convincing my boss to buy me a Mac for the office, what do I need to do to make Import/Excel work on the Windows box?
Simon

Similar thing happens here with SQL Developer v1.1. Error message is:
java.lang.NullPointerException
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportDialog.getStringValue(ExcelImportDialog.java:239)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportDialog.populateModel(ExcelImportDialog.java:295)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportDialog.displayExcelDialog(ExcelImportDialog.java:143)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportUtil.insertExcelToTable(ExcelImportUtil.java:41)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportEditor.importExcelToTable(ExcelImportEditor.java:79)
     at oracle.dbtools.raptor.dialogs.importdata.ExcelImportEditor.importExcel(ExcelImportEditor.java:50)
     at oracle.dbtools.raptor.dialogs.actions.ExcelImport.launch(ExcelImport.java:11)
     at oracle.dbtools.raptor.controls.sqldialog.ObjectActionController.handleEvent(ObjectActionController.java:124)
     at oracle.ide.controller.IdeAction.performAction(IdeAction.java:551)
     at oracle.ide.controller.IdeAction$2.run(IdeAction.java:804)
     at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:823)
     at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:521)
     at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
     at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
     at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
     at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
     at javax.swing.AbstractButton.doClick(AbstractButton.java:302)
     at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1000)
     at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1041)
     at java.awt.Component.processMouseEvent(Component.java:5488)
     at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
     at java.awt.Component.processEvent(Component.java:5253)
     at java.awt.Container.processEvent(Container.java:1966)
     at java.awt.Component.dispatchEventImpl(Component.java:3955)
     at java.awt.Container.dispatchEventImpl(Container.java:2024)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
     at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
     at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
     at java.awt.Container.dispatchEventImpl(Container.java:2010)
     at java.awt.Window.dispatchEventImpl(Window.java:1774)
     at java.awt.Component.dispatchEvent(Component.java:3803)
     at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
     at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
     at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
     at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
     at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

Similar Messages

  • Oracle Report Server gives java error message

    Hi All,
    We have an oracle report server (or service) in Oracle application server 10gR2 running in Red Hat Enterprise Linux 4.5. And it was working fine.
    But recently it gives some error message in the terminal like below.
    java.lang.Exception
    at com.sun.corba.se.internal.iiop.IIOPConnection.cleanUp(IIOPConnection.java:903)
    at com.sun.corba.se.internal.iiop.ConnectionTable.cleanUp(ConnectionTable.java:303)
    at com.sun.corba.se.internal.iiop.ConnectionTable.checkConnectionTable(ConnectionTable.java:320)
    at com.sun.corba.se.internal.iiop.ListenerThread.run(ListenerThread.java:75)
    java.lang.Exception
    at com.sun.corba.se.internal.iiop.IIOPConnection.cleanUp(IIOPConnection.java:903)
    at com.sun.corba.se.internal.iiop.ConnectionTable.cleanUp(ConnectionTable.java:303)
    at com.sun.corba.se.internal.iiop.ConnectionTable.checkConnectionTable(ConnectionTable.java:320)
    at com.sun.corba.se.internal.iiop.ListenerThread.run(ListenerThread.java:75)
    java.lang.Exception
    at com.sun.corba.se.internal.iiop.IIOPConnection.cleanUp(IIOPConnection.java:903)
    at com.sun.corba.se.internal.iiop.ConnectionTable.cleanUp(ConnectionTable.java:303)
    at com.sun.corba.se.internal.iiop.ConnectionTable.checkConnectionTable(ConnectionTable.java:320)
    at com.sun.corba.se.internal.iiop.ListenerThread.run(ListenerThread.java:75)
    java.lang.Exception
    at com.sun.corba.se.internal.iiop.IIOPConnection.cleanUp(IIOPConnection.java:903)
    at com.sun.corba.se.internal.iiop.ConnectionTable.cleanUp(ConnectionTable.java:303)
    at com.sun.corba.se.internal.iiop.ConnectionTable.checkConnectionTable(ConnectionTable.java:320)
    at com.sun.corba.se.internal.iiop.ListenerThread.run(ListenerThread.java:75)
    java.lang.Exception
    at com.sun.corba.se.internal.iiop.IIOPConnection.cleanUp(IIOPConnection.java:903)
    at com.sun.corba.se.internal.iiop.ConnectionTable.cleanUp(ConnectionTable.java:303)
    at com.sun.corba.se.internal.iiop.ConnectionTable.checkConnectionTable(ConnectionTable.java:320)
    at com.sun.corba.se.internal.iiop.ListenerThread.run(ListenerThread.java:75)
    When I restart the report server it works fine for a while and the error message appears again.
    Dear Experts,Please response early.

    Please check at http://<server>/dev60html/runrep.htm for follwings :
    01. your test.rdf must be in report60 folder
    02. your db must contain scott user
    03. connect string must be tested and give the same inplace of test
    04. your webhost may contain a dot, please check this should be the same as yours
    hope this will help
    bye !

  • Weblogic.version gives java error after install of D33T

    Hi,
    I just installed patch D33T (Oracle WebLogic Server Patch Set Update 10.3.6.0.4) - released April 2013. Before installing the patch, I checked my weblogic version (running setWLSEnv and java weblogic.version) following the instructions in the readme and the command worked.
    The patch installed fine, I then checked the version again (first doing setWLSEnv and then running java weblogic.version) - however this produced the java error 'NoClassDefFoundError' - could not find the main class: weblogic.version.
    I found a blog entry that suggested adding the weblogic.jar to the classpath, so I did that, then exported the classpatch, ran the setWLSEnv.sh again and tried the java weblogic.version command again - but still received the java error. I then tried running the command from the folder containg the weblogic.jar and still no luck.
    Anyone have any ideas why this may be producing errors?
    Thanks,
    Connie
    Environment info: RHEL 64 - Weblogic SErver 11gR1 (10.3.6.0) - The servers start and seem to be running fine after the patch install.

    I was trying a few more things after I sent my last reply and wondered if my classpath and path values might have not had correct values after running setWLSENV.sh
    When I echo'ed their values, they came back without any of the values being set by setWLSEnv.sh
    I then set them by copying and pasting the values echo'ed back from the setWLSEnv.sh file - by using export CLASSPATH=$CLASSPATH:<<paste of echo'ed classpath from setWLSEnv.sh>> and then the same for the path. After this, I tried the java weblogic.version and that worked - so now, I guess I am left to deal with issue of my setWLSEnv.sh not setting the CLASSPATH and PATH variables.
    Thanks,
    Connie

  • Rhythmbox cannot import files; gives ridiculous error

    When I try to import the contents of my Music folder in Rhythmbox, it is unable to append any of the OGG, M4A, or MP3 files in said folder to its library. The error it gives (for each and every file) is "The file is not an audio stream: [file]". I've tried importing individual files, and directories within my Music folder, but I get the same error no matter what. :?

    I think the issue has resolved, though not sure how.  In the right-side panel, I could see all the files I have tried to import over the last week, but the folder names were in italics.  I think I imported from there, somehow, and now I have a duplicate 2014 subfolder inside my original 2014 folder in the left-side panel.  The photos I was trying to import are there now, and everything else I have tried to import is now going into that new 201 subfolder.  So, I think you were right but I don't know enough about the ins and outs of Lightroom to understand how to follow your instructions. So, things are importing now, but into the new 2014 subfolder.  I can't seem to get them to import into my original 2014 folder.  I just wish I knew what I did to cause this! 

  • I have a an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes. All of the other movies on the card download with out a problem.

    I have an iMac 27" and am trying to import some videos of a friends wedding into iMovie however one of the movies won't import. It doesn't say why or give any error message or codes.
    All of the other movies on the card download with out a problem. The movie in question is not 'corrupt' as you can watch it in iMovie direct from the SD card but as soon as you try to import it, it  just says 'error'. iIve tried moving the file to an external drive ( and other variations on this theme) then importing but have had no luck.
    Can anyone please help me.

    The mystery remains....
    Thanks for the pointers. The file type is .mts (a proprietry sony one).
    I have now found some video converter software (Wondershare and iSkysoft) at a cost. Either will convert this file for me into .mp4. This I can then import into iMovie without any problems. I've checked this on the trial versions and it worked well but without paying am left with a giant watermark in the video
    The mystery (which I still havent solved) is why did 20 other .mts files import fine and then this one not?
    If you could point me in the direction of some free .mts converter software that would be the cherry on the cake.
    Thanks

  • Eclipse give following error :could not find Java 2 runtime environment

    When I try to start eclipse it is giving me following error could not find Java 2 runtime environment.It was working fine untill I installed a new verson of eclipse although I am not whethar that is the source of problem.
    When i give java -version command in command prompt it shows
    Registry key 'Software\JavaSoft\Java Runtime Environment\CurrentVersion'
    has value '1.4', but '1.6' is required.
    Error: could not find java.dll
    Error: could not find Java 2 Runtime Environment.
    My java Home ,classpath , and path are all set as I say it was earliar woking fine.
    Please Help.

    I know this is a relatively old post, but some people can stumble on this page when doing a search for this problem.
    Anyway, I ran into this on my PC after I installed Sybase which had an older jre.
    Solution:
    1. Run regedit
    2. Look for Java Runtime Environment
    You may have to do multiple searches. Eventually you'll find one with the version number.
    3. Modify the value and change it to the correct version number. (in your case, you would have changed it from 1.4 to 1.6).
    This is much quicker than reinstalling Java every time installing something that uses an older version of Java hoses up the registry value.

  • Error while importing excel sheet in Import manager

    Hi Experts,
    Please find below error while importing Excels sheet as a source into import manger and advice.
    logon error: failed to open table Text Table for insertion
    Error: Query must have at least one destination filed in sap MDM Import manager
    Regards,
    MFH

    Hi,
    Its clear now.
    Merci
    MFH

  • Java Error while executing the excel template in the BIP 10g report server

    Hello Gurus,
    While we are executing the excel template we are getting the following java error and the report cannot be rendered to user who triggers the report. Where as the same excel template is generating output when user run it against the same data locally.
    "oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:652] Document file to deliver not found : C:\Oracle\bipublisher\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\tmp\xmlp3307tmp
    at oracle.apps.xdo.servlet.scheduler.XDOJob.deliver(XDOJob.java:1172)
    at oracle.apps.xdo.servlet.scheduler.XDOJob.execute(XDOJob.java:495)
    at org.quartz.core.JobRunShell.run(JobRunShell.java:195)
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:520)"
    We have tried with designing the .rtf template for this report and we are able to generate the report form the server. Please let us know the cause for this error in the server and way to rectify the exception from the report server.
    Thanks,
    Kamath.

    "oracle.apps.xdo.servlet.scheduler.ProcessingException: [ID:652] Document file to deliver not found : C:\Oracle\bipublisher\oc4j_bi\j2ee\home\applications\xmlpserver\xmlpserver\xdo\tmp\xmlp3307tmp
    imho it's about empty result file
    Data are there
    may be yes but is some data from all for report itself ?
    in other words data can be in output ( in xml ) but report can filters data and so report doesn't have appropriate data to representation ( it's assumption for error )
    Data are there, when we are using rtf template, it is generating the output.
    if you sure about data for report and on this data report works fine by bip desktop, so no ideas, only SR
    btw you can first check my assumption and try to catch "no data found" in template
    also you can check data itself, is it well-formed xml

  • "DBSTATUS_UNAVAILABLE" Error while importing Excel File

    Hello,
    I am getting following error while importing data from Excel 2003 to SQL server using SSIS 2008,  [Excel Source [1]] Error: There was an error with output "Excel Source Output" (9) on component "Excel Source" (1). The column status
    returned was: "DBSTATUS_UNAVAILABLE".
    If i open the excel file and done any editing then the same file loads without any issue. Can you guide me why it's  happening ? , i have edited "TypeGuessRow" property to 0 , IMEX = 1 but no help.
    Thanks

    Hi Ved_Prakash,
    The error is generic and can occur due to various causes. In order to troubleshoot this issue, I need to clarify some information:
    Could you please post some sample data for that column in the error message?
    Have you modify some properties after accessing data from that Excel file?
    Since the error message is incomplete, could you post other error messages from the Output pane?
    Besides, we can also use
    SQL Server Import Export Wizard to import Excel into SQL Server database.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • I am editing a video in MP4 in Premiere 2014 cc When I import to Indesign 2014 cc gives the error message.

    I am editing a video in MP4 in Premiere 2014 cc When I import to Indesign 2014 cc gives the error message.

    I'm sorry for a MOST obvious couple of questions, but we need to get them out of the way... 
    Exactly HOW are you switching layers?  If by clicking with the mouse, exactly where on the layer panel are you clicking with the mouse?
    -Noel

  • Running ptlconfig gives a java error

    Hi,
    I am working on SR 3-1153247051,
    Running ptlconfig -dad portal -site, is giving a Java error
    P:\OraPortal\portal\conf>ptlconfig -dad portal -site
    Portal Instance ''/pls/portal'' (cn=porthgt,cn=oraclecontext) wird verarbeitet
    Geben Sie das Kennwort f³r das Portal-Schema oder f³r OID-Admin ein: Exception i
    n thread "main" java.lang.UnsatisfiedLinkError: t2cParseExecuteDescribe
    at oracle.jdbc.driver.T2CStatement.t2cParseExecuteDescribe(Native Method)
    at oracle.jdbc.driver.T2CStatement.executeForDescribe(T2CStatement.java:725)
    at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1036)
    at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1131)
    at oracle.jdbc.driver.OracleStatement.executeQuery(OracleStatement.java:1271)
    at oracle.webdb.config.VersionHandler.getPortalVersion(Unknown Source)
    at oracle.webdb.config.PortalConfigAction.installAction(Unknown Source)
    at oracle.webdb.config.PortalWiring.wireOHS(Unknown Source)
    at oracle.webdb.config.wiring.data.PortalElement.updateReposConfig(Unknown Source)
    at oracle.webdb.config.wiring.ConfigUpdateTool.updateReposConfig(Unknown Source)
    at oracle.webdb.config.wiring.ConfigUpdateTool.processPortalInstance(Unknown Source)
    at oracle.webdb.config.wiring.ConfigUpdateTool.<init>(Unknown Source)
    at oracle.webdb.config.wiring.ConfigUpdateTool.main(Unknown Source)
    1.- We have reload all the Portal java objects without success
    2.- Install all the recommended patch for portal
    3.- We have set on CLASS_PATH and PATH, the $ORACLE_HOME/lib Without success
    4.- The OS is Windows
    5.- P:\OraPortal\jdk\bin>java -version
    java version "1.4.2_08"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_08-b03)
    Java HotSpot(TM) Client VM (build 1.4.2_08-b03, mixed mode)
    in the jdbc directory are following files
    P:\OraPortal\jdbc\lib
    10.10.2002 17:47 1.426.297 classes111.jar
    10.10.2002 17:47 1.440.343 classes111.zip
    16.01.2007 09:26 1.593.625 classes12.jar
    16.01.2007 09:26 1.593.625 classes12.zip
    16.01.2007 09:26 1.600.899 classes12dms.jar
    01.12.2009 10:23 2.064.313 classes12dms_g.jar
    01.12.2009 10:22 2.055.921 classes12_g.jar
    10.10.2002 17:21 1.783.219 nls_charset11.jar
    10.10.2002 17:21 1.812.830 nls_charset11.zip
    23.11.2005 01:31 5.079.871 nls_charset12.jar
    14.12.2005 12:26 55.434 ocrs12.jar
    14.12.2005 12:26 1.378.359 ojdbc14.jar
    14.12.2005 12:26 1.385.777 ojdbc14dms.jar
    14.12.2005 12:26 1.730.821 ojdbc14dms_g.jar
    14.12.2005 12:26 1.722.772 ojdbc14_g.jar
    23.11.2005 01:31 5.079.871 orai18n.jar
    6.- I have seen similar errors in some forums, but all of them solved the issue setting the CLASSPATH correctly.
    Have somebody got this error previuosly? What more I can check?
    Thanks in advance and Happy New Year
    Rosa

    Hi Rosa,
    The error message most likely occurs due to incorrect setup of the CLASSPATH environment variable.
    Can you ask the customer to check whether he can access the database through JDBC with the following java program ?
    Note :
    Replace connString, connUser and connPassword with the values for your installation
    +// JDBCVersion.java+
    +// get the Jdbc version from the database connexion+
    import java.sql.*;
    import oracle.jdbc.*;
    import oracle.jdbc.pool.OracleDataSource;
    import java.util.*;
    +class JDBCVersion{+
    public static void main (String args[])
    +throws SQLException {+
    String connString="jdbc:oracle:thin:@dbserver.acme.org:1521:orcl";
    String connUser="scott";
    String connPassword="tiger";
    Locale.setDefault(Locale.ENGLISH);
    OracleDataSource ods = new OracleDataSource();
    ods.setURL(connString);
    ods.setUser(connUser);
    ods.setPassword(connPassword);
    Connection conn = ods.getConnection();
    +// Create Oracle DatabaseMetaData object+
    DatabaseMetaData meta = conn.getMetaData();
    +// gets driver info:+
    System.out.println("JDBC driver version is " +
    meta.getDriverVersion());
    +}+
    +}+
    Instructions :
    1. save the java source as JDBCVersion.java
    2. set the Java environment :
    e.g.
    % export JAVA_HOME=$ORACLE_HOME/jdk
    % export PATH=$PATH:$JAVA_HOME/bin
    % export CLASSPATH=$ORACLE_HOME/jdbc/lib/ojdbc14.jar !!!!! This is the correct JAR for Java SDK 1.4
    3. Compile the java source :
    % javac JDBCVersion.java
    4. Run the code :
    % java JDBCVersion
    Output:
    JDBC driver version is 10.1.0.5.0
    If that works, you can try ptlconfig as well
    Hope this helps,
    EJ

  • Getting exporting to excel gives a run time error.

    Hi,
    I am getting exporting to excel gives a run time error.
    <outbind://127/cid:656371011@08092010-11C9>
    while exporting a query to excel from bw
    Regards
    Karan

    Not sure why this thread bubbled up, but for more recent advice on this topic see Troubleshooting issues with iTunes for Windows updates.
    tt2

  • ZfD401 - WS Import Java Error

    Hi,
    after upgrading from ZfD 3.x to ZfD 4.01 and patching with IR-6 we aren't
    able to import workstations. I don't find the error in the Knowledgebase.
    I activated the debug mode for the zenlog. In the importScreen I see the
    following output:
    First all the information of the workstation is displayed, then follows the
    message that the workstation is created. Just after that, the Java Error is
    displayed: java.lang.NoSuchMethodError[...].zenWS.setIDex[...]
    at
    AutoImportWorkstationUtil.createWorkstation(AutoIm portWorkstationUtil.java:736)
    AutoImportWorkstationUtil.importWorkstation(AutoIm portWorkstationUtil.java:314)
    ServiceRequestsThread.serviceRequest(ServiceReques tsThread.java:255)
    ServiceRequestsThread.run(ServiceRequestsThread.ja va:516)
    and the service stops working. In the DOS-Box on the workstation the cursor
    blinks after the command zwsres -importserver <ip> and after several
    minutes the message "Zenwsreg returned the following error code: 12002" is
    displayed.
    The workstation object is created but this is not the normal behaviour of
    the ZEN Service.
    Has anyone a idea how to fix this problem?
    Thank you very much for any advice.

    DockhornE,
    It appears that in the past few days you have not received a response to your posting. That concerns us, and has triggered this automated reply.
    Has your problem been resolved? If not, you might try one of the following options:
    - Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
    - Check all of the other support tools and options available at http://support.novell.com in both the "free product support" and "paid product support" drop down boxes.
    - You could also try posting your message again. Make sure it is posted in the correct newsgroup. (http://support.novell.com/forums)
    If this is a reply to a duplicate posting, please ignore and accept our apologies and rest assured we will issue a stern reprimand to our posting bot.
    Good luck!
    Your Novell Product Support Forums Team
    http://support.novell.com/forums/

  • Reading from text file gives IndexOutOfBoundsException error

    Dear All
    I really need your help in doing my assignment as soon as possible
    I am reading from a text file the following data
    4231781,Ali,AlAli
    4321790,Adnan,AlAli
    using two classes first one is
    public class Student
    private String studFName;
    private String studLName;
    private String studID;
    private double assignment1;
    private double assignment2;
    private double final_exam;
    private double total;
    public String getstudfName() {
    return studFName;
    public void setstudfName(String studFName) {
    this.studFName = studFName;
    public String getstudlName() {
    return studLName;
    public void setstudlName(String studLName) {
    this.studLName = studLName;
    public String getstudid() {
    return studID;
    public void setStudID(String studID){
    this.studID = studID;
    public double getAssignment1() {
    return assignment1;
    public void setAssignment1(double Assignment1) {
    this.assignment1 = assignment1;
    public double getAssignment2() {
    return assignment1;
    public void setAssignment2(double Assignment2) {
    this.assignment2 = assignment2;
    public double getFinal_exam() {
    return final_exam;
    public void setFinal_exam(double final_exam) {
    this.final_exam = final_exam;
    public double getTotal() {
    return total;
    public void setTotal(double total) {
    this.total = total;
    Student[] students = new Student[30];
    the second is manager one which is:
    import java.io.*;
    import java.io.IOException;
    import java.util.Arrays;
    import java.util.ArrayList;
    public class manager {
    public static Student[] students = new Student[30];
    public static void main(String args[]) {
    // We want to let the user specify which file we should open
    // on the command-line. E.g., 'java TextIO TextIO.java'.
    if(args.length != 1) {
    System.err.println("usage: java manager (file_name)");
    System.exit(1);
    // We're going to read lines from 'input', which will be attached
    // to a text-file opened for reading.
    BufferedReader input = null;
    try {
    FileReader file = new FileReader(args[0]); // Open the file.
    input = new BufferedReader(file); // Tie 'input' to this file.
    catch(FileNotFoundException x) { // The file may not exist.
    System.err.println("File not found: " + args[0]);
    System.exit(2);
    // Now we read the file, line by line, echoing each line to
    // the terminal.
    try {
    String line;
    // Student[] students = new Student[30];
    while( (line = input.readLine()) != null ) {
    // System.out.println(line);
    int m = line.indexOf(",");
    int j = line.lastIndexOf(",");
    String sID = line.substring(0,m);
    String sfn = line.substring(m+1,j) ;
    String sln = line.substring(j+1);
    int n = 0;
    students[n] = new Student();
    students[n].setStudID(sID);
    students[n].setstudfName(sfn);
    students[n].setstudlName(sln);
    students[n].setAssignment1(0.0);
    students[n].setAssignment2(0.0);
    students[n].setFinal_exam(0.0);
    students[n].setTotal(0.0);
                        ++n;
    catch(IOException x) {
    x.printStackTrace();
    // Arrays.sort(Student.students);
         int length = args.length;
    System.out.println();
    // System.out.println("Sorted by stuID");
    for (int i=0; i<length; i++) {
    System.out.print("Student ID "+students.getstudid() + "|||");
    System.out.print("Student Fname "+students[i].getstudfName() + "|||");
    System.out.print("Student name "+students[i].getstudlName());
    when I comile progrma it doesn't give any error but when I run it gives me the following exception:
    java.lang.String.substring. IndexOutOfBoundsException string index out of range : -1
    as can be seen from the manager class I form the read line from readline method as follows:
    int m = line.indexOf(",");
    int j = line.lastIndexOf(",");
    String sID = line.substring(0,m);
    String sfn = line.substring(m+1,j) ;
    String sln = line.substring(j+1);
    Therefore, student ID should be read from the beggining tel the character before the comma (,) then from the character after first comma tel that before second comma will be firstname, finally the rest after second comma will be last name.
    I want my program to read all lines in the text file and put them in order as above forming the array like database record and print them all.
    Could you please Help me in this matter friends as soon as possible.
    Regards,
    Java_Hobby

    please, format you code first (select your java code and hit the code button), then post all the error log message.

  • Import excel/csv data to oracle table problem

    hello sir,
    i am using application importing csv/excel data to oracle table which is developed by vikas and that i want but when i add csv file and upload. My cvs file will displayed but when i click on create table button then it gives error like ...
    1) invalid datatype. vikas link as :
    http://htmldb.oracle.com/pls/otn/wwv_flow_custom_auth_std.login_page?p_flow_page=38131:1:1287783765705596
    i search in forum for solution i got following link but it also gives me error
    Re: File Browse, File Upload
    still i am trying but i dont get solution . plz help me!!! give me steps ......
    Report on table created
    says:
    failed to parse SQL query:
    ORA-00942: table or view does not exist

    Hi
    Firstly, are you trying to upload your data into a new table or an existing table? If it's a new table, what name are you using?
    Secondly, it may help if we could see a sample of the csv

Maybe you are looking for

  • Vendor invoice posting through IDOC - Cost center determination (OBCC)

    Dear experts As per SAP Notes 31126 and 137686 I have maintain all configuration settings for "Automatic posting of vendor invoice from Billing" in different company codes. It is working perfectly the way we need, we need help in Transaction Code "OB

  • Ibooks author on ipad air2

    This must be easier than I'm making it, but I've just bought a new Ipad Air2 and can't get Ibooks Author on to it at all. It doesn't appear in App store, and when I email the content it just stores it on drive, which I'm not sure how to access. I may

  • Thunderbird wont send emails on certain internet wifi connection

    It says, whenever i try to send an email "The Kerberos/GSSAPI ticket was not accepted by the SMPT server mail.pm.telstra/com. Please check that you are logged into the Kerberos/GSSAPI realm." and only on this certain internet (telstra). it works fine

  • Which user/schema executed query in V$SQLAREA

    I am looking on one row/query in view "V$SQLAREA" and want to which user/schema was used to log in to the database when that one query was executed. How i can get that schema name? Should i look this column maybe: V$SQLAREA PARSING_SCHEMA_NAME       

  • Problem when update kernel NW 7.0 To NW7.0 EHP1

    Dear ! I use OS Redhat Enterprise 4 32bit I'm upgrading or updating my Netweaver 7.0 with SPS 18/BI Patch 20 to Netweaver 7.0 EHP1 and when running tcode SAINT and selecting all the queue suggested by SAINT, the following message pops up: OCS package