When i am trying to extract Dimension into .txt file. I am getting error.

Hi All,
When i am trying to extract the Essbase Dim into .txt file, i am getting below error.
Please find the details.
V10.1.3.5.0 and MySql server as database.
com.sunopsis.sql.c: com.sunopsis.jdbc.file.FileDriver
     at com.sunopsis.sql.SnpsConnection.a(SnpsConnection.java)
     at com.sunopsis.sql.SnpsConnection.t(SnpsConnection.java)
     at com.sunopsis.sql.SnpsConnection.connect(SnpsConnection.java)
     at com.sunopsis.sql.SnpsQuery.updateExecStatement(SnpsQuery.java)
     at com.sunopsis.sql.SnpsQuery.executeUpdate(SnpsQuery.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.execStdOrders(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTaskTrt(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSqlI.treatTaskTrt(SnpSessTaskSqlI.java)
     at com.sunopsis.dwg.dbobj.SnpSessTaskSql.treatTask(SnpSessTaskSql.java)
     at com.sunopsis.dwg.dbobj.SnpSessStep.treatSessStep(SnpSessStep.java)
     at com.sunopsis.dwg.dbobj.SnpSession.treatSession(SnpSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandSession.treatCommand(DwgCommandSession.java)
     at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
     at com.sunopsis.dwg.cmd.e.i(e.java)
     at com.sunopsis.dwg.cmd.h.y(h.java)
     at com.sunopsis.dwg.cmd.e.run(e.java)
     at java.lang.Thread.run(Thread.java:662)
Please help me in this issue.
Regards,
Krish
Edited by: 897734 on Dec 20, 2011 2:40 AM

If you think a file doesn't exists when you think it should, you can use code like this to print out what files are there:
import java.io.*;
public class Periscope {
    public static void check(File file) {
        if (file.exists()) {
            System.out.println("file exists: " + getPath(file));
            System.out.println();
            System.out.println("DUMP:");
            System.out.println();
            dump(file, "");
        } else {
            System.out.println("file does not exist: " + getPath(file));
            goUp(file);
    static void goUp(File file) {
        File parent = file.getAbsoluteFile().getParentFile();
        if (parent == null) {
            System.out.println("file does not have a parent: " + getPath(file));
        } else {
            check(parent);
    static void dump(File file, String indent) {
        System.out.println(indent + getPath(file));
        File[] children = file.listFiles();
        if (children != null) {
            indent += "    ";
            for(File child : children) {
                dump(child, indent);
    static String getPath(File file) {
        try {
            return file.getCanonicalPath();
        } catch (IOException e) {
            e.printStackTrace();
            return file.getName();
    public static void main(String[] args) {
        check(new File("foo.bar"));
}

Similar Messages

  • ITunes crashes when I'm trying to log in into iTunes store

    After I've made my first purchase (of a music album) in iTunes store iTunes has crashed. And now iTunes crashes when I'm trying to log in into iTunes store. I've tried removing it, deleting iTunes folder in C:\Users\USER_NAME\Music and then installing iTunes. The problem's remained.
    Additional info:
    iTunes version: 11.3.1.2
    Windows 8.1 64-bit.

    I've solved the problem by updating Windows.

  • When trying to sign into the Itunes Store I get error message "Itunes store not available at this time- please try again later". I've updated everything and still can't get in. Any ideas??

    When trying to sing into the Itunes Store I get error message "Itunes store not availble at this time. Please try again later" I've updated everything and doesn't help. Anyone have any ideas?

    Send a PM(Private Message) to ATT Uverse Care.

  • Java.io.NotSerializableException when overwrite the JTable data into .txt file

    hi everyone
    this is my first time to get help from sun forums
    i had java.io.NotSerializableException: java.lang.reflect.Constructor error when overwrite the JTable data into .txt file.
    At the beginning, the code will be generate successfully and the jtable will be showing out with the data that been save in the studio1.txt previously,
    but after i edit the data at the JTable, and when i trying to click the save button, the error had been showing out and i cannot succeed to save the JTable with the latest data.
    After this error, the code can't be run again and i had to copy the studio1.txt again to let the code run 1 more time.
    I hope i can get any solution at here and this will be very useful for me.
    the following is my code...some of it i create it with the GUI netbean
    but i dunno how to attach my .txt file with this forum
    did anyone need the .txt file?
    this is the code that suspect maybe some error here
    private void jButton1ActionPerformed(java.awt.event.ActionEvent evt) {
    String filename = "studio1.txt";
              try {
                  FileOutputStream fos = new FileOutputStream(new File(filename));
                  ObjectOutputStream oos = new ObjectOutputStream(fos);
                   oos.writeObject(jTable2);
                   oos.close();
              catch(IOException e) {
                   System.out.println("Problem creating table file: " + e);
                   return;
              System.out.println("JTable correctly saved to file " + filename);
    }the full code will be at the next msg

    this is the part 1 of the code
    this is the full code...i had /*....*/ some of it to make it easier for reading
    package gui;
    import javax.swing.*;
    import java.io.*;
    public class timetables extends javax.swing.JFrame {
        public timetables() {
            initComponents();
        @SuppressWarnings("unchecked")
        private void initComponents() {
            jDialog1 = new javax.swing.JDialog();
            buttonGroup1 = new javax.swing.ButtonGroup();
            buttonGroup2 = new javax.swing.ButtonGroup();
            buttonGroup3 = new javax.swing.ButtonGroup();
            buttonGroup4 = new javax.swing.ButtonGroup();
            jTextField1 = new javax.swing.JTextField();
            jLayeredPane1 = new javax.swing.JLayeredPane();
            jLabel6 = new javax.swing.JLabel();
            jTabbedPane1 = new javax.swing.JTabbedPane();
            jScrollPane3 = new javax.swing.JScrollPane();
            jTable2 = new javax.swing.JTable();
            jScrollPane4 = new javax.swing.JScrollPane();
            jTable3 = new javax.swing.JTable();
            jButton1 = new javax.swing.JButton();
            jButton2 = new javax.swing.JButton();
    /*       org.jdesktop.layout.GroupLayout jDialog1Layout = new org.jdesktop.layout.GroupLayout(jDialog1.getContentPane());
            jDialog1.getContentPane().setLayout(jDialog1Layout);
            jDialog1Layout.setHorizontalGroup(
                jDialog1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 400, Short.MAX_VALUE)
            jDialog1Layout.setVerticalGroup(
                jDialog1Layout.createParallelGroup(org.jdesktop.layout.GroupLayout.LEADING)
                .add(0, 300, Short.MAX_VALUE)
            setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
            jLayeredPane1.add(jLabel6, javax.swing.JLayeredPane.DEFAULT_LAYER);
            String filename1 = "studio1.txt";
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   jTable2 = (JTable) ois.readObject();
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
            try {
                   ObjectInputStream ois = new ObjectInputStream(new FileInputStream(filename1));
                   jTable3 = (JTable) ois.readObject();
                   System.out.println("reading for " + filename1);
              catch(Exception e) {
                   System.out.println("Problem reading back table from file: " + filename1);
                   return;
            jTable2.setRowHeight(20);
            jTable3.setRowHeight(20);
            jScrollPane3.setViewportView(jTable2);
            jScrollPane4.setViewportView(jTable3);
            jTable2.getColumnModel().getColumn(4).setResizable(false);
            jTable3.getColumnModel().getColumn(4).setResizable(false);
            jTabbedPane1.addTab("STUDIO 1", jScrollPane3);
            jTabbedPane1.addTab("STUDIO 2", jScrollPane4);
            jTextField1.setText("again n again");
            jLabel6.setText("jLabel5");
            jLabel6.setBounds(0, 0, -1, -1);
            jButton2.setText("jButton2");
            jButton1.setText("jButton1");
            jButton1.addActionListener(new java.awt.event.ActionListener() {
                public void actionPerformed(java.awt.event.ActionEvent evt) {
                    jButton1ActionPerformed(evt);
          

  • Last week i purchased Apple TV but , when i am trying to loging by the apple id is giving me error "your password is not correct" but when i try to login in my Pc is working fine

    last week i purchased Apple TV but , when i am trying to loging by the apple id is giving me error "your password is not correct" but when i try to login in my Pc is working fine

    Thanks for the flag J.K. - they contaced me and solved my problem.  On this account (which I created just to ask this question), I log in with my email rather than my user name (mtalldud). On the account that I was having trouble with, they told me to use my user ID instead of my email to log in and it worked. This is a bit confusing and seems a bit inconsistent but at least I don't need this temporary account any more to get into this community and find answers!

  • When i am trying to create BI Universe on InfoCube I am getting this Error

    Hi All,
    I am using BOE 3.1
    When i am trying to create BI Universe on InfoCube I am getting this Error
    DBD: A runtime exception has Occured. (Error Getting list of Cubes of catalog $INFOCUBE: Unknown error)
    Same  when i am connecting to BexQuery Im not getting any error i am able to create the OLAPUniverse on BI Query.
    My question is why i am getting this error when i click on the Infocube in the Designer. Did i am missing any thing in the Universe designer.
    Regards,
    Ravi

    HI,
    Please go through by below link.
    DBD: A runtime exception in Universe Designer
    Thanks,
    Amit

  • When trying to link to download an epub book I get - error! check activate.

    When trying to link to download an epub book I get error! check activate. I have authorised the PC running windows 7 and apparently it can communicate with teh adobe server. I have tried uninstalling and reinstalling - to no avail. Anyone any ideas. There seems to be no adobe help available on this.
    HG

    For this problem, you need to deauthorize and authorize ADE again.
    Launch ADE
    Help -> Erase authorization.
    ADE will be deauhorized.
    Now again AUTHORIZE ADE
    Help-> authorize computer.
    Error will be fixed !!

  • When trying to run CS5 (64 bit) on Windows 7 get error failed to initlialize COOLTYPE ?

    Hello,
    When trying to run CS5 (64 bit) on Windows 7 get error failed to initlialize COOLTYPE ?
    Any ideas ?
    I tried re-installing CS5 Master collection but that failed as well.
    Running out of ideas
    Richard

    I have the same problem, and while I can 'fix' it with the approach described here, I have to 'fix' it that way EVERY TIME I launch itunes.  I suppose the lousy support for mainstream computers is apple's way of saying, 'well of course you can't use your phone, you're not living in a (TM) apple home (TM) please sell your existing home and purchase one from apple if you want your phone to work.'  I never would have imagined that as a computer programmer it would be a multi-hour/failed installation process to get iTunes and the iPhone4 working properly.  What a joke.

  • When I try to sign into photoshop elements I keep getting error code 400 connection error. I am connected to wifi and have no connection problems anywhere else. How do I fix this?

    When I try to sign into photoshop elements I keep getting error code 400 connection error. I am connected to wifi and have no connection problems anywhere else. How do I fix this?

    FRANK M
    What computer operating system is your Premiere Elements 9 running on? I will assume Windows 7, 8, or 8.1 64 bit for now.
    As for the Help Menu/Update way for updating, are you doing that with antivirus and firewall(s) disabled? If not, please do so.
    Do you have the 9.0.1 Update of the program installed? What version of Camera Raw do you have installed?
    Premiere Elements 9 is an older program where you can still do manual installs for that one and only Update. And, Camera Raw for 9 is no longer being updated.
    For the 9.0.1 Update
    http://www.adobe.com/support/downloads/detail.jsp?ftpID=4929
    Camera Raw (last update possible for 9) is 6.5
    Camera Raw-compatible Adobe applications
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Camera Raw 6.5 update
    Please review and consider the above, and then let us know the outcome.
    Thank you.
    ATR

  • HT201210 hi i when i am trying to update my ipad to ios i receive an error message 4005 please help.

    hi i when i am trying to update my ipad to ios i receive an error message 4005 please help.

    Read through this for solutions to error 4005:
    http://support.apple.com/kb/TS3694

  • When i login to icloud form windows 7 Home premium PC, I get error - Cannot sign in due to server error

    When i login to icloud form windows 7 Home premium PC, I get error - Cannot sign in due to server error

    You may have to follow the slightly more detailed steps in whichever of these two applies to you.
    HT1925: Removing and Reinstalling iTunes for Windows XP
    HT1923: Removing and reinstalling iTunes for Windows Vista, Windows 7, or Windows 8
    Rebooting into safe mode may be needed to delete any folder the instructions say you should remove. You may also find this Microsoft Fixit helps to remove stubborn components. It has taken some people several attempts to completely clean iTunes and supporting software before they have been able to successfully reinstall it.
    tt2
    Message was edited by: turingtest2

  • Im trying to restore my iphone 4S, however i keep getting error 1611!, i have tried kicking the iphone out of recovery mode but then i have another problem, it gets stuck on the apple logo for a few seconds then the low battery symbol shows repeatdly HELP

    Hi all, im trying to restore my iphone 4S, however i keep getting error 1611 i have tried uninstalling itunes and everything else related, i have tried kicking the iphone out of recovery mode but then it gets stuck on the apple logo for a few seconds then changes to the low battery symbol then goes back to the apple logo and this continues untill i put it back into recovery or dfu mode, i have tried everything can anyone help me ?? thank you!

    Jai141 wrote:
    ... and im not sure as i brought the phone of someone else..  i will have to ask them
    Good Luck.
    Jai141 wrote:
    Thanks
    You're Welcome.

  • HT201210 I'M TRYING TO UPDATE TO IOS 6 BUT I KEEP GETTING ERROR MESSAGE sOFTWARE UPDATE fAILED: AN ERROR OCCURRED DOWNLOADING IOS 6

    I'M TRYING TO UPDATE TO IOS 6 BUT I KEEP GETTING ERROR MESSAGE sOFTWARE UPDATE fAILED: AN ERROR OCCURRED DOWNLOADING IOS 6

    I Tried for three days to download iOS 6 and kept getting error 1403. I finally went to the apple store and they couldn't figure it out either.
      I finally got it to download and all I did different from the other 100 times was I went into settings and on the Bluetooth setting I put NO.  Not sure if that's what did it but that was the only thing different that I did.

  • I am trying to activate new itunes card. I am getting error message: The code you have entered has not been properly activated. Does this mean the store did something wrong or me?

    I am trying to activate new itunes card. I am getting error message: The code you have entered has not been properly activated. Does this mean the store did something wrong or me?

    Yes, the store didn't properly activate the card. If the store is nearly then you could try going back and asking them to do so, if it isn't (or if they can't/won't help) then try contacting iTunes Support (you will probably need to give them images of the front and back of the card, and possibly its receipt) : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then iTunes Cards And Codes

  • HT203200 Cannot get into itunes via Mac keep getting error −50 ?  help

    Cannot get into itunes via Mac keep getting error −50 ?  help please

    Make sure your Mac's software is up to date.
    Open system Preferences > Software Update > Check Now.
    Restart your Mac after all updates are installed.
    Then try iTunes.
    Which OS X is installed on your Mac ?
    Click the Apple () menu top left in your screen. From the drop down menu click About This Mac. The version is noted there.
    Troubleshooting advice can depend on that information.

Maybe you are looking for

  • Adding Lines to a Sales Order

    Hello ! I'm using the following code (pretty much) to add items to existing sales orders : Dim oOrder As SAPbobsCOM.Documents oOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oOrders) oOrder.GetByKey(id) oOrder.Lines.Add() oOrder.Lines.It

  • Can't revert back to original DataStore Authentication

    I have installed Access Manger using SingleWAR installation option. The default Authectication for this case is DataStore(Flat file repository) I changed this authentication to JDBC for testing the connectivity to mysql databse and its use for authen

  • Cheat-sheet /Hotkey sheet

    where can i find a pretty printable list of hotkeys? (also called cheat-sheet) I have only found a list in the wiki http://labviewwiki.org/Keyboard_shortcut kind regards ================================ system: Win7 and debian stable

  • What are the elements of this pic?

    I am doing a lookbook for a friends clothing brand and this pic I found one the internet really caught my attention. I was wondering how I could make a normal pic look like this? Thanks!

  • I have a red question mark over my images why is that?

    I have a red question mark over my images why is that?