C program: Runtime error from GetStaticMethodId()

I am new to Java and need help with .....
I want to call a java method (native) from legacy C code.
The java code has to return a Hashtable to the C code.
My java works and I wrote another java file to call it. That
also works fine and I can display my new Hashtable in
the calling java code.
However in my calling C code I get a runtime error when
executing mid2 = GetStaticMethodId() // mid2 returns 0
I believe the problem is in the method signature. If I
make it an int method, it runs and returns an int
but I want a hashtable to be returned.
Using javah RMHash, produces RMHashData.h with nothing useful in it.
My environment is: NT, jdk1.3, VIsual Studio cl.
I hope someone can help me.
Sample java code: This runs OK stand alone or called
from another piece of java code.
import java.util.Hashtable;
import java.io.*;
import java.util.*;
public class RMHashData
public RMHashData()
public static Object getMasterData()
Hashtable hash = new Hashtable(20);
int rtnInt = 6;
hash.put ("1050", new String("AAAAAA"));
hash.put ("1051", new String("BBBBB"));
hash.put ("1052", new String("CCCCCCCCC"));
return hash;
public static void main(String[] args)
int RtnInt;
Hashtable RtnHash;
RtnHash = (Hashtable)RMHashData.getMasterData();
Sample C code: (I had to retype this so cut out superfluous code)
#include <stdio.h>
#include <jni.h>
main()
JNIEnv *env;
JavaVM *jvm;
JavaVMOption options[4];
JavaVMInitArgs vm_args;
jint res;
jclass cls;
jmethodID mid, mid2;
jstring jstr;
jvalue result;
jobjectArray args;
char classPath[256];
char libraryPath[256];
vm_args.version = JNI_VERSION_1_2;
/* set the options to pass to the VM */
sprintf(classPath, "%s", "-Djava.class.path=c:\\data\\java_dev\\src");
sprintf(libraryPath, "%s", "-Djava.library.path=c:\\jdk131\\lib");
options[0].optionString = classPath;
options[1].optionString = libraryPath;
vm_args.options = options;
vm_args.nOptions = 2;
vm_args.ignoreUnrecognized = JNI_FALSE;
/* Create the Java VM */
res = JNI_CreateJavaVM(&jvm, (void **) &env, &vm_args);
cls = (*env)->FindClass(env, "RMHashData");
// *** Getting the main method works
mid = (*env)->GetStaticMethodID(env, cls, "main", "([Ljava/lang/String;)V");
// *** Getting this method FAILS
mid2 = (*env)->GetStaticMethodID(env, cls, "getMasterData", "()[Ljava/lang/Object;");
if (mid2 == 0) // ***** mid2 is 0
fprintf(stderr, "Can't find Prog.getMasterData\n");
return 1;
result.l = (*env)->CallStaticObjectMethod (env,cls, mid, args);
// Then comes more fun to pull apart the hashtable...

Bill, Thank you very much - that was it!!!!!
Not sure about your comment...
Comment: Why don't you just return a Hashtable?The line: return hash;
in getMasterData() does exactly that.
If you mean my declaration of the method:
public static Object getMasterData()
where Object should be Hashtable.
I thought the type in the declaration had to match the
JNI call - CallStaticObjectMethod(). I notice there is no
CallStaticHashtableMethod(). Well that is my guess and I only started looking at Java a few days ago and have lots to learn. Thank you again.
Ron...

Similar Messages

  • Runtime error from Microsoft Visual C++ R6034

    When installing latest iTunes update in Windows 7 I get Runtime error from Microsoft Visual C++ R6034.
    Suggestions?

    FYI, if you are sufficiently computer literate to follow the instructions in the Youtube link, Edgar's suggested fix is much easier/quicker than a complete uninstall/reinstall.
    Nice job Edgar!

  • HT1349 iTunes will not start on my PC. I get a runtime error from the Visual C== runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?

    iTunes will not start on my PC. I get a runtime error from the Visual C++ runtime library when iTunesHelper.exe is started. The message states the application attempted to load the library incorrectly. How is the problem to be resolved?

    Click here and follow the instructions.
    (99035)

  • Runtime error from null value

    I have a request to create a Function Module that will be assigned to an Action Box, which when executed will copy long text for Quality Notification tasks.  I have the module created and working, but after my code is executed a runtime error happens due to a null value being passed to a method in the SAP program QM07_UPDATE_ACTIONBOX.  It looks to me like it is trying to perform some kind of cleanup tasks, and is trying to delete a node tree that does not exist.  My code did nothing with any kind of node tree, so I am not sure how to avoid this runtime error.  My code works as desired, except for this error that occurs after my code is processed.  Any assistance would be greatly appreciated!  Below are more details from the error received...
    Error analysis
        An exception occurred that is explained in detail below.
        The exception, which is assigned to class 'CX_SY_REF_IS_INITIAL', was not caught in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", nor was it propagated by a RAISING clause.  Since the caller of the procedure could not have anticipated that the exception would occur, the current program is terminated.
        The reason for the exception is:
        You attempted to use a 'NULL' object reference (points to 'nothing') access a component (variable: "TREE_ACTIONBOX").   An object reference must point to an object (an instance of a class) before it can be used to access components.  Either the reference was never set or it was set to 'NULL' using the CLEAR statement.
    Information on where terminated
        Termination occurred in the ABAP program "SAPLQM07" - in "QM07_UPDATE_ACTIONBOX".  The main program was "SAPLIQS0 ".
        In the source code you have the termination point in line 39 of the (Include) program "LQM07U12".  The termination is caused because exception "CX_SY_REF_IS_INITIAL" occurred in procedure "QM07_UPDATE_ACTIONBOX" "(FUNCTION)", but it was neither handled locally nor declared in the RAISING clause of its signature.
        The procedure is in program "SAPLQM07 "; its source code begins in line 1 of the (Include program "LQM07U12 ".
       28 * bei Tree werden Knoten und Items gelöscht bei Table Control wird
       29 * nur g_control_tab neu aufgebaut
       30   if g_tree = c_x.
       31 *---- Löschen der bestehenden Knoten und Items
       32
       33 * Tabelle der Knotenschlüssel erzeugen
       34     loop at g_node_tab into l_node.
       35       append l_node-node_key to l_dnodes_tab.
       36     endloop.
       37
       38 * Items
    >>>>>     call method tree_actionbox->delete_all_items_of_nodes
       40       EXPORTING
       41         node_key_table          = l_dnodes_tab
       42       EXCEPTIONS
       43         failed                  = 1
       44         cntl_system_error       = 2
       45         error_in_node_key_table = 3
       46         dp_error                = 4.

    Yes, I have searched the notes.  I used the keywords suggested in the dump...
    If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
    "SAPLQM07" or "LQM07U12"
    "QM07_UPDATE_ACTIONBOX"

  • Runtime error from LT03/LT06 after System upgrade

    Hi All,
    Currently we are upgrading our system from 4.7 to eec6.
    Not we are getting a runtime error while executing LT03/LT06 txns...
    the error is - Runtime error GETWA_NOT_ASSIGNED...
    Program - SAPLLPRI
    Include - LLPRIF00.
    Row 525.
    Module name - PROTO_TAB_READ.
    Please suggest me...if there is any SAP note .to be appied.
    Thnx
    RK

    Please search yourself for applicable SAP notes before asking others.
    Thread locked.
    Thomas

  • Runtime Error from Microsoft Visual C++

    "the application has requested the runtime to terminate it in an unusual way. Please contact the application support team for more information."
    The Runtime Error happens when I am playing with InstanceManager addinstance buttons. The error usually happens when I make a change to the script and or the buttons position in the hierarchy and then hit Save or when I switch view from Design View to Preview PDF.
    The New Form message occurs seemingly randomly after I make a change to the document, Save it, close it, come back later and try to open it.
    Anyone know the solution? Thanks

    FYI, if you are sufficiently computer literate to follow the instructions in the Youtube link, Edgar's suggested fix is much easier/quicker than a complete uninstall/reinstall.
    Nice job Edgar!

  • Installing program runtime error

    I am trying to install updated driver for HP printer photo smart c7200 series. I get a runtime error. I have downloaded the driver several times and it gets the same error every time. When I try to activate the printer and fax app it says it can't find
    the printer but gives no setup function. HELP  

    That's your DISCover Drop & Play System Executable.
    What make and model of PC do you have? (It often comes preinstalled on PCs, anddifferent PC manufacturers may be running slightly different versions of the DISCover engine. Want to check at your manufacturer's webdite to see if there are any updates available for your variation.)

  • Preventing runtime errors from clicking cancel

              String input;
              double number1;
              double number2;
              double number3;
              double number4;
                      input = JOptionPane.showInputDialog("Enter a number:  ");
                         number1 = Double.parseDouble(input);
                         input = JOptionPane.showInputDialog("Enter a number:  ");
                         number2 = Double.parseDouble(input);
                         input = JOptionPane.showInputDialog("Enter a number:  ");
                         number3 = Double.parseDouble(input);
                         input = JOptionPane.showInputDialog("Enter a number:  ");
                         number4 = Double.parseDouble(input);
                         JOptionPane.showMessageDialog(null, number1 + "\n" +
                                                                      number2 + "\n" +
                                                                      number3 + "\n" +
                                                                      number4);
         How do i set it so if the user hits "Cancel" on ANY of the input dialog messages, the console does not display a runtime error message?

              String input;
              double number1 = 0;
              double number2 = 0;
              double number3 = 0;
              double number4 = 0;
                      input = JOptionPane.showInputDialog("Enter a number:  ");
                      // Prevents a runtime error for clicking "Cancel"
                      if( input != null ) {
                         number1 = Double.parseDouble(input);
                         input = JOptionPane.showInputDialog("Enter a number:  ");
                         number2 = Double.parseDouble(input);
                         input = JOptionPane.showInputDialog("Enter a number:  ");
                         number3 = Double.parseDouble(input);
                         input = JOptionPane.showInputDialog("Enter a number:  ");
                         number4 = Double.parseDouble(input);
                         JOptionPane.showMessageDialog(null, number1 + "\n" +
                                                                      number2 + "\n" +
                                                                      number3 + "\n" +
                                                                      number4);
    }I tried that, but it only works for the first input dialog box.

  • Runtime error from OCI on OpenVMS

    Hello,
    I hope that this is the appropriate forum to post this question. If not please accept my apologies, and point me in the correct direction.
    Client Environment: OpenVMS V8.3-1H1, Itanium (IA-64), Oracle Release 10.2.0.4.0
    We have ported some C++ code from Oracle 8.17.3 to 10.2.0.4.0, and moved from the OpenVMS Alpha architecture to the Itanium architecture at the same time. Our code now compiles and links and runs, but while attempting to load data into the database, we get the following error traceback (no ORA- error is produced):
    %SYSTEM-F-FLTINV_F, floating invalid fault, PC=000000000F0D7551, PS=0000001B
    ----- End of Exception message
    0 FFFFFFFF804017C2 FFFFFFFF804017C2
    libclntsh lnxren lnxren 87529 0000000000000B11 000000000F0D7551
    libclntsh ttcx2y ttcf2n 428454 0000000000007292 000000000DD35592
    libclntsh ttcacs ttcacs 414366 0000000000001AB2 000000000DD276B2
    libclntsh ttcdrv ttcdrv 1450241 00000000000051F2 000000000DD71692
    libclntsh nioqwa nioqwa 159960 00000000000000B2 000000000D431EE2
    libclntsh upiprv upirtrc 418201 00000000000022D2 000000000D066B72
    libclntsh kpudfo kpuexes 403257 0000000000003F22 000000000CB07F22
    libclntsh upiexf upiex0 402095 0000000000001C62 000000000D081742
    libclntsh upiexf upiexn 401773 0000000000000092 000000000D07FB72
    libclntsh oci ociexn 280403 0000000000004FC2 000000000CFCE212
    TORRENT DATABASE exec #263 00000000000022F2 0000000000FA91B2
    TORRENT TABLE flushCursor #1332 0000000000028332 0000000000FEF9F2
    TORRENT TABLE flushInsertCursor #1348 0000000000023BF2 0000000000FEB2B2
    TORRENT FILE load #819 000000000000A532 0000000000FFA3F2
    TORRENT SCHEMA primeTables #395 0000000000007DC2 0000000000F9ABC2
    TORRENT MAIN main #103 0000000000001112 0000000000F90412
    Any help you can provide on resolving this error would be greatly appreciated. So far, the web has not provided any insight.
    Thanks;
    Glenn

    Yes, I have searched the notes.  I used the keywords suggested in the dump...
    If the error occures in a non-modified SAP program, you may be able to find an interim solution in an SAP Note.
    If you have access to SAP Notes, carry out a search with the following keywords:
    "OBJECTS_OBJREF_NOT_ASSIGNED" "CX_SY_REF_IS_INITIAL"
    "SAPLQM07" or "LQM07U12"
    "QM07_UPDATE_ACTIONBOX"

  • Overcome the runtime error from Widening Cast

    Good Afternoon.
    I created a Super class and Sub Class.
    I created an object for super class reference variable.
    Then i pass like this.
    sub ?= super.
    Then call the Super Class emthods by using Sub class reference variable.
    Then press the Execute button.
    Then it goes to the DUMP.
    While i am using Narrowing Cast then it is working Properly.
    But for the Widening Cast only it is taking the problem. It goes to the dump.
    In BSP Widening cast working properly.
    For my program why it is going to dump.
    How i over come that DUMP.
    Is there any Exceptions or give me the reson why it is going it dump. how i will solve that problem.
    Give the data on above problem with screen shorts if possible.
    Thank you.
    B. Krishna.

    Hi Krishna,
    You can down-cast(widening cast) a class ref variable into its sub-class' class ref variable only if you have already done an up-cast(narrowing cast) of sub-class' class ref variable into the super class' class ref variable ....
    that is
    sub ?= super.
    is possible only if
    super = sub.
    was already done...
    If u r getting MOVE_CAST_ERROR error, this could be the reason...
    ~Jose

  • RMI program runtime error

    hi
    iam trying to Design an RMI service emulating subset of Retailer Service of Supply Chain Management (SCM) architecture as described below:
    The service will have single function of getting the catalog listing of available products at retailer. the method signature will be CatalogItem[] getCatlaog(String Product)
    could someone help me in knowing the possible error in code ,iam getting the following error.i did bind server to rmi registry and when i try to run client ,this error occurs.
    RetailerClient exception: error unmarshalling return; nested exception is:
    java.lang.ClassNotFoundException: RetailerImpl_Stub (no security manager
    : RMI class loader disabled)
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
    java.lang.ClassNotFoundException: RetailerImpl_Stub (no security manager
    : RMI class loader disabled)
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at RetailerClient.main(RetailerClient.java:21)
    Caused by: java.lang.ClassNotFoundException: RetailerImpl_Stub (no security mana
    ger: RMI class loader disabled)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:371)
    at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:165)
    at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:631)
    at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:257)
    at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.jav
    a:200)
    at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:151
    3)
    at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1435)
    at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1
    626)
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1274)
    at java.io.ObjectInputStream.readObject(ObjectInputStream.java:324)
    ... 3 more
    thanks
    g1

    Looks like client is trying to use some classes that the server does not have. So the server RMIClassLoader is trying to load it from the client. But you did not use any security manager in your application and RMIClassLoader doesn't like it. Call System.setSecurityManager(someManager) at the beginning at your application.
    I got around without setting secutity manager like this:
    In my application I have a URL classloader (from a HTTP server) at both the client and the server. So all classes client uses are available to server as well (but not the other way). Client is not allowed to define new classes other than the ones on the HTTP server.
    hi
    iam trying to Design an RMI service emulating
    ing subset of Retailer Service of Supply Chain
    Management (SCM) architecture as described below:
    The service will have single function of getting the
    catalog listing of available products at retailer. the
    method signature will be CatalogItem[]
    getCatlaog(String Product)
    could someone help me in knowing the possible error in
    code ,iam getting the following error.i did bind
    server to rmi registry and when i try to run client
    ,this error occurs.
    RetailerClient exception: error unmarshalling return;
    nested exception is:
    java.lang.ClassNotFoundException:
    eption: RetailerImpl_Stub (no security manager
    : RMI class loader disabled)
    java.rmi.UnmarshalException: error unmarshalling
    return; nested exception is:
    java.lang.ClassNotFoundException:
    eption: RetailerImpl_Stub (no security manager
    : RMI class loader disabled)
    at
    at
    at sun.rmi.registry.RegistryImpl_Stub.lookup(Unknown
    n Source)
    at java.rmi.Naming.lookup(Naming.java:84)
    at
    at RetailerClient.main(RetailerClient.java:21)
    Caused by: java.lang.ClassNotFoundException:
    RetailerImpl_Stub (no security mana
    ger: RMI class loader disabled)
    at
    at
    at
    t
    sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.ja
    a:371)
    at
    at
    at
    t
    sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.ja
    a:165)
    at
    at
    at
    t
    java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoad
    r.java:631)
    at
    at
    at
    t
    java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader
    java:257)
    at
    at
    at
    t
    sun.rmi.server.MarshalInputStream.resolveClass(MarshalI
    putStream.jav
    a:200)
    at
    at
    at
    t
    java.io.ObjectInputStream.readNonProxyDesc(ObjectInputS
    ream.java:151
    3)
    at
    at
    at
    t
    java.io.ObjectInputStream.readClassDesc(ObjectInputStre
    m.java:1435)
    at
    at
    at
    t
    java.io.ObjectInputStream.readOrdinaryObject(ObjectInpu
    Stream.java:1
    626)
    at
    at
    at
    t
    java.io.ObjectInputStream.readObject0(ObjectInputStream
    java:1274)
    at
    at
    at
    t
    java.io.ObjectInputStream.readObject(ObjectInputStream.
    ava:324)
    ... 3 more
    thanks
    g1

  • Getting Virtual Function Call runtime error R6025 from iexplore.exe

    Hi all,
    I am getting an virtual function call runtime error from iexplore.exe. The IE will then crash. I have checked the log in java console. It shows
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@4607b5
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@314585, refcount=3
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Quiting applet ...
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    --> basic: Stopping applet ...
    --> basic: Stopping applet ...
    basic: Removed progress listener: sun.plugin.util.GrayBoxPainter@cbb7db
    basic: Finding information ...
    basic: Releasing classloader: sun.plugin.ClassLoaderInfo@314585, refcount=2
    basic: Done ...
    basic: Joining applet thread ...
    basic: Destroying applet ...
    basic: Disposing applet ...
    basic: Quiting applet ...
    basic: Joined applet thread ...
    basic: Unregistered modality listener
    I have implemented the stop() in all the applet classes. However, I do not know where this stop() called?
    Also, from the java debugger, it always stops and shows:
    Exception occurred: java.lang.ThreadDeath (uncaught)"thread=TimerQueue", javax.s
    wing.TimerQueue.run(), line=-1 bci=63
    TimerQueue[1] cont
    >
    Exception occurred: java.lang.Exception (uncaught)"thread=main", sun.plugin.com.
    JavaClass.getIdForName(), line=-1 bci=72
    main[1] cont
    >
    Exception occurred: java.lang.Exception (uncaught)"thread=main", sun.plugin.com.
    JavaClass.getIdForName(), line=-1 bci=72
    main[1] cont
    >
    Exception occurred: java.lang.Exception (uncaught)"thread=main", sun.plugin.com.
    JavaClass.getIdForName(), line=-1 bci=72
    main[1] cont
    >

    What version of 5.0 are you running? There were some problems new in 5.0 seen mainly with the Java Plug-In and other apps which embed the JVM which were fixed in 5.0u6.

  • Runtime error in Web Dynpro Application

    Hi Experts,
    I am getting a runtime error from a custom Web dynpro Application. The error details are
    Category               ABAP Programming Error
    Runtime Errors         OBJECTS_OBJREF_NOT_ASSIGNED_NO
    Except.                CX_SY_REF_IS_INITIAL
    Web Dynpro Component   Z*
    ABAP Program           /1BCWDY/0O2TGWNVA3D2IUW3YFXJ==CP
    Application Component  Not Assigned
    Could someone please help on resolving this error.
    -Regards,
    Ragavan

    Hi,
    Add additional info including the ST22 dump for security you can run find and replace in the st22 dump text and relplace ahost name and sid.
    Also when do you get this dump exactly i.e. what are you doing or how are you accessing the webdynpro for the error to be generated.
    What is your system patch and kernel levels.
    Please provide more information otherwise this is just a guessing game.
    Johan

  • Runtime error in USEREXIT_CHECK_XVBAP_FOR_DELET in include MV45AFZB

    Dear,
    I have programmed USEREXIT_CHECK_XVBAP_FOR_DELET in include MV45AFZB, but run into a runtime error.
    See enclosure for more details as to what I have programmed.
    Does anyone know how I can change my code in order to prevent the runtime error from happening?
    Thanks so much in advance for your replies.
    Kind regards,
    Bart Jongen

    Hello all,
    Thanks for your hints.
    In the meantime I have found the solution to my problem:
    By changing the e(rror) in my code to an i(nformation) message, the runtime error no longer appears.
    Kind regards,
    Bart

  • Reg runtime error

    hai to all,
    i am trying to run PO bapi. suddenly i am getting runtime error as
    "Data objects in a Unicode program are not convertible"
    Error in ABAP application program.                                                                               
    The current ABAP program "SAPLGRAP" had to be terminated because one of the  statements could not be be executed.                                                                               
    This is probably due to an error in the ABAP program.                        
    i tried to debug the entire program , runtime error occurs immediately after executing.
    please let me know how to correct the error
    regards
    vijay

    Hi,
    This may be due to some structure incompatibility. use function module 'pi_bp_move_unicode' to move the structures, there by avoiding dumps. The imported parameter from the FM should be sent to the BAPI.
    If this is useful, award points pls..
    Regards,
    Bharadwaj

Maybe you are looking for

  • Why can I not use random in my CS3 JS

    I'm working on my Thesis and building a graphic design engine in InDesign. I've done something similar in VB on Windows, but as I use a Mac now, I'm trying to work in Javascript. Still getting my footing though. A big thing in my engine will be using

  • New Safari interrupts my typing in address bar

    For the last 10 years I haven't had this problem at all, but with the new version of Safari I am. Basically if I open a new tab or something and start typing in the address bar, before I get finished typing, it will stop my typing and take me out of

  • PK07 AC: Average consumption per time unit

    Dear guru , in Kanban Calculation (PK07) with this below formula how the system determine the AC Average consumption per time unit ? 6.quantity per kanban i* Quantity per kanban = RT * AC SF AK - C 7. NK: Number of kanbans CONT: Quantity per kanban R

  • JSP problem..... + Dynamic Content

    Hello to all, In the Jsp page i am adding some dynamic content through JAVAScript. but after clicking back and forward on the browser it doesnot retaining that content. Can anyone give idea how to restore that dynamic content.. Please its urgent.. ab

  • HT3775 Why can´t I open my MPG files in QuickTime for Lion??

    It tells me that it misses some codecs; but it should be an integrated function in QuickTime Player version of the Lion or?? My MPG files has been recordet with my Sony handycam DCR-SR90.