×

Discussion Board

Results 1 to 13 of 13
  1. #1
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Question java.lang.RuntimeException : command failed with Symbian error code : -10509.

    Following I am trying to execute this line

    VolumeControl vc = (VolumeControl) player.getControl("VolumeControl");

    the following error occurs

    java.lang.RuntimeException : command failed with Symbian error code : -10509.

    Note: project development using LWUIT

    Thanks....

  2. #2
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    On what emulator or device?

    Are you sure it is that precise line?

    Graham.

  3. #3
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    S60,

    ya error on this line only

    VolumeControl vc = (VolumeControl) player.getControl("VolumeControl");

    same error also occure if I use

    VolumeControl vc = new VolumeControl();

    or

    VolumeControl vc = (VolumeControl) ((Player)mc).getControl("VolumeControl");

    program will work fine after removing line,

    I am using LWUIT,

    If any one know any alternative for volume control then please reply.


    Thank You.....

    Regards

    Rizwan Khot
    Last edited by rizwankhot; 2011-03-22 at 14:25.

  4. #4
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    Quote Originally Posted by rizwankhot View Post
    S60
    That covers hundreds of variations. Can you be specific? Is it a phone or an emulator? If a phone, what model? If an emulator, that edition and feature pack?

    Quote Originally Posted by rizwankhot View Post
    same error also occure if I use

    VolumeControl vc = new VolumeControl();
    If that line of code even compiles, you have big problems. javax.microedition.media.control.VolumeControl is an interface, you can't use it with "new". Your code should not compile. Check carefully what is going on.

    Quote Originally Posted by rizwankhot View Post
    I am using LWUIT,
    Unless LWUIT has a VolumeControl class, this is not an LWUIT issue.

    Graham.

  5. #5
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    Thank You Graham...,

    I am usin S60 3eddition emulator

    VolumeControl vc = new VolumeControl(); this line I have use for just test it gives any other error or not....

    but for these lines also
    VolumeControl vc = (VolumeControl) player.getControl("VolumeControl");
    VolumeControl vc = (VolumeControl) ((Player)mc).getControl("VolumeControl");

    it gives Same Error

    java.lang.RuntimeException : command failed with Symbian error code : -10509.

    This Error comes on emulator only

    And when I try to install this Application on Nokia E51, Installation fail with following error

    Certificate error : Contact the application supplyer.

    If I remove these lines the program works fine on emulator as well as on mobile..

    this error occure when I use LWUIT

    same program work fine for simple j2me application on same emulator and mobile



    If any one know any alternative for volume control in LWUIT then please reply.


    Thank You.....

    Regards

    Rizwan Khot
    Last edited by rizwankhot; 2011-03-23 at 14:17.

  6. #6
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    Rename your jar as a ".zip" file, and then open it. Are there any files in it, in a path starting with "java." or "javax."?

    Graham.

  7. #7
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    No, there is no file start with "java." or "javax."

    Thank You.....

    Regards

    Rizwan Khot

  8. #8
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    OK. Can you post the JAD, the MANIFEST, and a list of the files in the JAR, please?

    You can get a list of the files in the JAR from the command line, using:

    jar tvf jar-name

    Graham,

  9. #9
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    jad file
    ----------
    MIDlet-1: MobiMidlet, ,mob.MobiMidlet
    MIDlet-Jar-Size: 569016
    MIDlet-Jar-URL: Mob.jar
    MIDlet-Name: Mob
    MIDlet-Vendor: Vendor
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0



    Manifest file
    -------------------
    MIDlet-1: MobiMidlet, ,mob.MobiMidlet
    MIDlet-Vendor: Vendor
    MIDlet-Name: Mob
    MIDlet-Version: 1.0
    MicroEdition-Configuration: CLDC-1.1
    MicroEdition-Profile: MIDP-2.0


    Files in Jar
    ------------------
    0 Fri Mar 25 16:51:14 IST 2011 META-INF/
    280 Fri Mar 25 16:51:12 IST 2011 META-INF/MANIFEST.MF
    0 Fri Mar 25 16:51:12 IST 2011 com/
    0 Fri Mar 25 16:51:12 IST 2011 com/sun/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/
    0 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/
    0 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/
    0 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/geom/
    0 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/
    0 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/impl/midp/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/list/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/painter/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/spinner/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/tree/
    0 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/
    0 Fri Mar 25 16:51:14 IST 2011 mob/
    7791 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Button.class
    2424 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/ButtonGroup.class
    8352 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Calendar$MonthView.class
    8625 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Calendar.class
    2704 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/CheckBox.class
    9026 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/ComboBox.class
    2847 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Command.class
    4796 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Component$BGPainter.class
    36126 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Component.class
    2849 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Container$Anim.class
    20021 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Container.class
    6549 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/CustomFont.class
    16879 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Dialog.class
    27549 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Display.class
    5245 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/EncodedImage.class
    5720 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Font.class
    13769 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Form$MenuBar.class
    41941 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Form.class
    11049 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Graphics.class
    14227 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/Image.class
    8896 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/IndexedImage.class
    7926 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/Label.class
    181 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/List$1.class
    1107 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/List$Listeners.class
    32480 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/List.class
    235 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/M3G$Callback.class
    2813 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/M3G.class
    3262 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/MediaComponent.class
    185 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/Painter.class
    3844 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/RGBImage.class
    3158 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/RadioButton.class
    4055 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/RunnableWrapper.class
    5748 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/SVGImage.class
    3667 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/StaticAnimation$Frame.class
    8673 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/StaticAnimation.class
    1493 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TabbedPane$1.class
    2224 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TabbedPane$2.class
    2403 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TabbedPane$TabsRenderer.class
    12100 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TabbedPane.class
    18780 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TextArea.class
    1276 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TextField$CommandHandler.class
    28820 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/TextField.class
    194 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/Animation.class
    7060 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/AnimationObject.class
    12822 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/CommonTransitions.class
    4371 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/Motion.class
    6286 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/Timeline.class
    1547 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/Transition.class
    16983 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/animations/Transition3D.class
    1466 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/ActionEvent.class
    196 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/ActionListener.class
    281 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/DataChangedListener.class
    201 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/FocusListener.class
    171 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/SelectionListener.class
    201 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/events/StyleListener.class
    1563 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/geom/Dimension.class
    4324 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/geom/Rectangle.class
    4298 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/CSSBgPainter.class
    3762 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/CSSBorder.class
    16365 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/CSSElement.class
    35592 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/CSSEngine.class
    1313 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/CellConstraint.class
    2035 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/DefaultHTMLCallback.class
    4322 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/DocumentInfo.class
    231 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/DocumentRequestHandler.class
    19646 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/Element.class
    858 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/ExtInputStreamReader.class
    1188 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/ForLabel.class
    2855 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/FormatConstraint.class
    3042 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLBullet.class
    2069 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLCallback.class
    927 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComboBox.class
    1040 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$1.class
    3611 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$2.class
    1399 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$3.class
    629 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$4.class
    973 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$5.class
    916 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$6.class
    971 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent$7.class
    56976 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLComponent.class
    6769 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLFont.class
    11946 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLForm.class
    639 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLInputFormat$1.class
    6945 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLInputFormat.class
    3496 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLLink.class
    2968 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLListIndex.class
    376 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLListItem.class
    2176 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLTable.class
    3883 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/HTMLTableModel.class
    2477 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/MultiCellRenderer.class
    4415 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/MultiComboBox.class
    1958 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/MultiListModel.class
    1575 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/NamedCommand.class
    710 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/OptionItem.class
    28515 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/Parser.class
    1506 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/RedirectThread.class
    1251 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/ResourceThread$1.class
    6889 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/ResourceThread.class
    7991 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/html/ResourceThreadQueue.class
    849 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/ImplementationFactory.class
    31204 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/LWUITImplementation.class
    4210 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/CanvasImplementation$C.class
    2027 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/CanvasImplementation.class
    3981 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/GameCanvasImplementation$C.class
    27755 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/GameCanvasImplementation.class
    2788 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/SVGImplementation$Handler.class
    6776 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/SVGImplementation.class
    1172 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/SVGImplementationFactory.class
    4435 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VKBImplementation$1.class
    3623 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VKBImplementation.class



    {CONT... 1}

  10. #10
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    {CONT... 1}

    862 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/impl/midp/VKBImplementationFactory.class
    1378 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VirtualKeyboard$1.class
    966 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VirtualKeyboard$2.class
    1631 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VirtualKeyboard$3.class
    824 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VirtualKeyboard$4.class
    2369 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VirtualKeyboard$TextPainter.class
    17451 Fri Mar 25 16:51:12 IST 2011 com/sun/lwuit/impl/midp/VirtualKeyboard.class
    6217 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/BorderLayout.class
    3115 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/BoxLayout.class
    2028 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/CoordinateLayout.class
    3979 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/FlowLayout.class
    3040 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GridLayout.class
    218 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$1.class
    1288 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$AutopaddingMatch.class
    6201 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$AutopaddingSpring.class
    5813 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$BaselineGroup.class
    5131 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$ComponentInfo.class
    5167 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$ComponentSpring.class
    3942 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$ContainerAutopaddingSpring.class
    1345 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$GapSpring.class
    4419 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$Group.class
    2596 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$LinkInfo.class
    1913 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$PaddingSpring.class
    6052 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$ParallelGroup.class
    12785 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$SequentialGroup.class
    2597 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$Spring.class
    981 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout$SpringDelta.class
    20122 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/GroupLayout.class
    1547 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/Layout.class
    3734 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/layouts/LayoutStyle.class
    3505 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/list/DefaultListCellRenderer.class
    3532 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/list/DefaultListModel.class
    323 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/list/ListCellRenderer.class
    538 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/list/ListModel.class
    2240 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/painter/BackgroundPainter.class
    2750 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/painter/PainterChain.class
    14195 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/Border.class
    3156 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/DefaultLookAndFeel$1.class
    33414 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/DefaultLookAndFeel.class
    12173 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/LookAndFeel.class
    15494 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/Style.class
    17593 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/plaf/UIManager.class
    3170 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/spinner/DateTimeRenderer.class
    1179 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/spinner/Spinner$1.class
    11396 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/spinner/Spinner.class
    2453 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/spinner/SpinnerDateModel.class
    3125 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/spinner/SpinnerNumberModel.class
    1993 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/DefaultTableModel.class
    2740 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/Table$Listener.class
    10602 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/Table.class
    2882 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/TableLayout$Constraint.class
    12727 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/TableLayout.class
    463 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/table/TableModel.class
    1656 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/tree/Tree$Handler.class
    7013 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/tree/Tree.class
    222 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/tree/TreeModel.class
    1600 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/Effects.class
    2690 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/EventDispatcher$1.class
    8047 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/EventDispatcher.class
    717 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/Log$1.class
    6925 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/Log.class
    26180 Fri Mar 25 16:51:14 IST 2011 com/sun/lwuit/util/Resources.class
    2778 Fri Mar 25 16:51:14 IST 2011 icon.png
    1401 Fri Mar 25 16:51:14 IST 2011 mob/MobiMidlet.class
    4327 Fri Mar 25 16:51:14 IST 2011 mob/Register.class
    5193 Fri Mar 25 16:51:14 IST 2011 mob/VideoPlayer.class
    242 Fri Mar 25 16:51:14 IST 2011 mob.res
    5832 Fri Mar 25 16:51:14 IST 2011 register_banner.png


    Thank You.....

    Regards

    Rizwan Khot

  11. #11
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    OK... no clues there.

    Back to this line you tried:

    Code:
    VolumeControl vc = new VolumeControl();
    I know you just tried this to test it. But (this is important) did the code compile, and did the app have the same error on the device?

    Graham.

  12. #12
    Registered User
    Join Date
    Dec 2010
    Location
    Mumbai
    Posts
    23

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    Yes, code compile properly..

  13. #13
    Super Contributor
    Join Date
    Jun 2003
    Location
    Cheshire, UK
    Posts
    7,395

    Re: java.lang.RuntimeException : command failed with Symbian error code : -10509.

    OK... this is a problem... that code should not compile!

    What are you importing?

    It should be:

    Code:
    import javax.microedition.media.control.VolumeControl;
    I think you're importing a different VolumeControl class.

    Graham.

Similar Threads

  1. java.lang.runtimeexception: command failed with symbian error code: -30472
    By mahesh_nkt in forum Mobile Java Tools & SDKs
    Replies: 4
    Last Post: 2009-10-24, 00:08
  2. RuntimeException: command failed with Symbian error code: -10512
    By liuzj in forum Mobile Java Tools & SDKs
    Replies: 9
    Last Post: 2009-01-10, 14:53
  3. Symbian error code -10509
    By nara20 in forum Mobile Java General
    Replies: 1
    Last Post: 2007-04-26, 16:13
  4. Emulator did not start with error: Symbian error code: -10509
    By cvraiden in forum Mobile Java Tools & SDKs
    Replies: 1
    Last Post: 2006-12-05, 21:52
  5. Replies: 5
    Last Post: 2006-09-29, 02:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
×