Skip to Content
author's profile photo Former Member
Former Member

Developing BB OS 6.0 Application explicitly on Eclipse : Encountered Error

Hi All

Backend Used: SAP

Middleware: SUP 2.0

Development IDE: Eclipse with BB plug in

Application Name: PR

Earlier I made the same application in SUP 1.5.5 with the use of DAD (Device Application Designer) and ran successfully. This application shows a list of PR and perform an operation of approval or rejection of selected PR.

In latest SUP release it abandoned the use of DAD for RBS application in BB, then i tried app developent using SUP 2.0 BB custom application development manual. I did everything like

Deployed package on SCC

Imported generated files in Eclipse

Imported 3 JAR files (referenced through another project)

Used syncprofile and syncgroup methods

Project on Eclipse (PR) resulted in different behavior, different time :

1. Ran successfuly on opening the application 3 4 times after running simulator.

2. Showed "midilet exception" while compiling the project.

3. Compiled successfully and on running the application on simulator, it shows en exception immediately after clicking the app icon - com.sybase.persistence.PersistenceException: UltraLiteJ Error[-974] : File I/O failed for 'PR1_0.ulj

I have a doubt on JAR files that we need to import, those might be made again.

Please help on this issue, or share your views

Thanks

Pankaj

Edited by: mohanpankajgupta on Sep 22, 2011 7:19 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2011 at 11:31 AM

    This message was moderated.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 22, 2011 at 05:34 PM

    Hi Pankaj

    Are you using and J2ME API's in a Blackberry UIApplication ?

    Update your SUP 2.0 to 2.0.1 there are multiple bug fixes related to UltraliteJ

    For the Client applicaion you have to import the jar files from the ClientAPI/RBS/BB folder also install the 3 cod files into the sim before launching the app.

    You can get the update from sybase.com/downloads select SUP and the latest EBF. (Need registered user id(Free) for access )

    Thanks

    Pradeep

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 30, 2011 at 10:01 AM

    Hi pankaj,

    can you tell me please how to used blackberry plug-ins with SUP 2.0, Because i faced an error in Blackberry plug-ins like

    JVM Error : 104 Synchronized Exception.

    and then i continue with this error , another error occured like,

    Uncaught Exception :

    ianywhere.ultralitej.implementation.JrException:

    UltraLiteJ Error[-85]:

    Communication error

    Local Connection timed out

    after ~ 120000 Details:

    StreamErrorCode=0

    StreamErrorMessage=0

    Regards,

    Tapan

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi

      For using Enterprise application, you must have BES connection while running BB Application. You must run MDS console while running application on simulator.

      Right click on your project->run->run config->simulator->general-> launch MDS with simulator (check that).

      If you installed eclipse plug-in.

      Thanks

      Pankaj

  • author's profile photo Former Member
    Former Member
    Posted on Oct 11, 2011 at 12:45 PM

    Hello to All,

    I also created my own thread but want to find below solutions too early.

    I am trying to develop A SAP Application in SUP 2.0 with DAD on blackberry Device , but when the Synchronization process will start, it generates an error.

    Encounter an error while synchronizing package "SaleOrder:1.0" and synchronization group default ".

    com.sybase.persistence.SynchronizedException : ianywhere.ultraLiteJ.Implementatoni.JrException: UltraLiteJ Error [-794] : Synchronized server, failed to commit the upload (SQLCODe -10225) Message Failure Occured while executing user supplied code in the server, Table name : NULL.

    Please help me to solve this issue.

    Thanks & Regards,

    Tapan

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.