Error launching application with Service Ad

Hello

I'm integrating the ad to my application service.

Right now, I have more documentation to create app demo for it.

I get "java.lang.NoClassDef Error Found" as soon as I run my application.

Here is the code I use:

package mypackage;

import net.rim.device.api.ui.UiApplication;

/**
 * This class extends the UiApplication class, providing a
 * graphical user interface.
 */
public class MyApp extends UiApplication
{
    /**
     * Entry point for application
     * @param args Command line arguments (not used)
     */
    public static void main(String[] args)
    {
        // Create a new instance of the application and make the currently
        // running thread the application's event dispatch thread.
        MyApp theApp = new MyApp();
        theApp.enterEventDispatcher();
    }

    /**
     * Creates a new MyApp object
     */
    public MyApp()
    {
        // Push a screen onto the UI stack for rendering.
        pushScreen(new MyScreen());
    }
}

See also this warning

C:\Eclipse_BB\ads\For_Post6.0.0\net_rim_bbapi_adv_app.jar(net_rim_bbapi_adv_app-1. COD): WARNING! : import a file is marked not analyzable
net.rimlib.blackberry.api.advertising.app.Banner: WARNING! : not found definition

What I'm missing here?

I build my application using OS 6.0

I tried to run the app on 9800 Simulator as well as on the OS 7.0 device 9860

For both I get the same error.

How to test the sample application on the Simulator and the device?

I posted same post here as well

http://supportforums.BlackBerry.com/T5/BlackBerry-advertising-service/error-launching-app-with-ad-se...

But I think that it is a nuisance java.

Thank you

Afonso Tyagi

Its market not now

I lacked control and export the jar file

Tags: BlackBerry Developers

Similar Questions

  • creating applications with service headless webworks

    I created an application with some headless webworks by following this tutorial:

    https://developer.BlackBerry.com/HTML5/documentation/v2_1/creating_a_ww_app_with_headless_app.html

    but after having imported the native extension (service without head) in momentics IDE. When I tried to build the project, I got this error:

    No rule for target "device-Debug".  Stop.

    just for the record, when I try to create a new extention webworks, everything is ok and I can build my extension. However, I can build the project imported native extension Webworks.

    Is there something I missed upward?

    No it's not something that you screwed up - it is a bug in the SDK. The Makefile that comes with the SDK is removed somehow so you can not build the native part.

    The WebWorks team is already is studying and working on a fix for it.

    Meanwhile, Don Turner provided a work around in the comments on this tutorial page.

  • Error importing application with saved public IR (with an alias)

    Small problem - I hope that someone else saw him and has a solution! -4.2.3.00.08 Apex

    (not many successes there in the forum - and the couple autour were 3.2 to 4.0 and no 4.2.3 to 4.2.3!)

    Created an app - there is a report with 7 reports saved page (one is 'default' - rest are public and all have an Alias)

    Note: The alias is used a drop-down selection list (cannot use select part appointed report function that there are other 6 'select' lists to determine search criteria - but this is not important)

    So. Application created, works fine, export and import in the UAT environment (UAT is another instance of the Apex on a different database - the name of the workspace different and other underlying schema name)

    Application matter correctly and works correctly - using the same Application ID

    I modified the public reports named (in dev)-re-ordered columns. and in two of the reports, modify the column break

    Export from DEV

    When you import into UAT I get the following error (I replaced the 'id')

    I tried to remove the application in the UAT environment before installation - still no luck.

    Always using the same application DEV and UAT id (and I use the same ID for DEV, UAT and LIVE in each of the separate environments)

    Execution of the statement was not successful. ORA-00001: unique constraint (APEX_040200.WWV_FLOW_WORKSHEET_RPTS_UK) violated

    declare

    RC2 varchar2 (32767): = null;

    Start

    RC2: = rc2 | ' OCCURRENCE_ID:OCCURRENCE_MONTH:INITIATED_BY_NAME:REFERENCE_NO:EMPLOYEE_NO:EMPLOYEE_NM:REPORTED_DT:OCCURRENCE_DT:STATUS:OCCURRENCE_TYP:MANAGER_NM:SECTION_MANAGER_NM:';

    () wwv_flow_api.create_worksheet_rpt

    P_ID = > some_id_01 +wwv_flow_api.g_id_offset,.

    p_flow_id = > wwv_flow.g_flow_id,

    p_page_id = > 30,

    p_worksheet_id = > some_id_02+ wwv_flow_api.g_id_offset,.

    p_session_id = > null,

    p_base_report_id = > null + wwv_flow_api.g_id_offset,.

    p_application_user = > 'N434875 ',.

    p_name = > 'everything by Manager',

    p_description = > 'all occurrences of Manager. "

    p_report_seq = > 10,

    p_report_alias = > 'ALLBYMGR ',.

    p_status = > 'PUBLIC ',.

    p_category_id = > null + wwv_flow_api.g_id_offset,.

    p_is_default = > 'n',.

    p_display_rows = > 15,

    p_report_columns = > rc2.

    p_break_on = > 'MANAGER_NM:0:0:0:0:0 '. »,

    p_break_enabled_on = > 'MANAGER_NM:0:0:0:0:0 '. »,

    p_flashback_enabled = > 'n',.

    p_calendar_display_column = > ");

    end;

    ORA-00001: unique constraint (APEX_040200.WWV_FLOW_WORKSHEET_RPTS_UK) violated.

    Back by demand.


    Request Express 4.2.3.00.08

    Any thoughts there?

    Kelvin

    Well...

    Surprisingly, the solution is simple... Once you know how... (Thanks the Support of Oracle)

    Delete the application "appId"...

    then in the workspace Admin SQL commands executed:

    BEGIN

    APEX_INSTANCE_ADMIN. REMOVE_SAVED_REPORTS (appid);

    END;

    Then import your application again.

    I find it a little weird that saved reports (the ones named in my case) get left behind when removing an application.

    I can only assume that this is because the _could_ reports - both public and private - have been created through the application by end-users.

    Thus, they would not be included in an 'import' update which had new features.

    But I'm only guessing here!

    Concerning

    Kelvin

  • Error with Service Singleton running non-clustered mode

    Hello

    I get this error when try to deploy an application with Service defined in a WebLogic 10.3.5 Singleton:

    < error > < hats > < localdomain > < AdminServer > < [ASSETS] ExecuteThread: '1' for the queue: 'weblogic.kernel.Default(self-tuning)' > < < WLS Kernel > > <>< 7785ef355ffde3d6:-4c7bfbbc:138dd48f82b: - 8000-0000000000000002 > < 1343742871514 > < BEA-149231 > < cannot create the activation state to true for the application "MyApp".
    weblogic.management.DeploymentException:
    at weblogic.application.internal.flow.SingletonServicesFlow.activate(SingletonServicesFlow.java:67)
    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:636)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:31)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    Caused by: java.lang.IllegalArgumentException: cannot add MySingletonService Service Singleton as SingletonServicesManager not started. Check if MigrationBasis for the cluster is configured.
    at weblogic.cluster.singleton.SingletonServicesManager.addConfiguredService(SingletonServicesManager.java:280)
    at weblogic.cluster.singleton.SingletonServicesManager.addConfiguredService(SingletonServicesManager.java:297)
    at weblogic.application.internal.flow.SingletonServicesFlow.activate(SingletonServicesFlow.java:65)
    to weblogic.application.internal.BaseDeployment$ 2.next(BaseDeployment.java:637)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:54)
    at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:205)
    at weblogic.application.internal.EarDeployment.activate(EarDeployment.java:58)
    at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
    at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:79)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activate(BasicDeployment.java:184)
    at weblogic.deploy.internal.targetserver.BasicDeployment.activateFromServerLifecycle(BasicDeployment.java:361)
    to weblogic.management.deploy.internal.DeploymentAdapter$ 1.doActivate(DeploymentAdapter.java:52)
    at weblogic.management.deploy.internal.DeploymentAdapter.activate(DeploymentAdapter.java:200)
    to weblogic.management.deploy.internal.AppTransition$ 2.transitionApp(AppTransition.java:31)
    at weblogic.management.deploy.internal.ConfiguredDeployments.transitionApps(ConfiguredDeployments.java:240)
    at weblogic.management.deploy.internal.ConfiguredDeployments.activate(ConfiguredDeployments.java:170)
    at weblogic.management.deploy.internal.ConfiguredDeployments.deploy(ConfiguredDeployments.java:124)
    at weblogic.management.deploy.internal.DeploymentServerService.resume(DeploymentServerService.java:181)
    at weblogic.management.deploy.internal.DeploymentServerService.start(DeploymentServerService.java:97)
    at weblogic.t3.srvr.SubsystemRequest.run(SubsystemRequest.java:64)
    at weblogic.work.ExecuteThread.execute(ExecuteThread.java:209)
    at weblogic.work.ExecuteThread.run(ExecuteThread.java:178)

    It gets executed only after deleting entry singleton-weblogic service - application.xml:

    < singleton-service >
    > class name < my.app.SingletonClass < / class name >
    < name > MySingletonService < / name >
    < / singleton-service >

    Is it possible to run it in a nonclustered server without deleting the entry of weblogic application Singleton. XML?

    Thank you

    Hi Matt,

    There is already raise BUG for this issue 10111681

    Please download this one of MOS.

    Kind regards
    Kal

  • Get error "this application does not work without Google play services"...!

    Hello

    I use google maps in my application and be able to install the apk from file in the BB device. But after installation when launching the application, I get an error "this application does not work without Google play services.

    How can I get google game services to the BlackBerry device.

    Kind regards

    NGO.

    The BlackBerry Runtime for Android applications does not support Google Maps (or Google Services play). If your application uses Google Maps, there are two ways that you can support mapping in your application. One option is to replace the library card theGoogle with a WebView that integrates the web version of Google Maps.

    For more information on this process, see using a WebView to view Google Maps.

    Another option is to replace Google Maps with OpenStreetMap, which is a free card all over the world.

    For more information on this process, see Replace Google Maps with OpenStreetMap.

  • Error ODI (10.1.3.6) launches the Web Service of HPL

    I do turn a question with ODI version 10.1.3.6 when we pull data from BSE and then try to push planning. Everything works fine until it will launch the HPL webservice, ODI throws an error:

    "Error in the launch HPL Web Service

    "com.sunopsis.wsinvocation.SnpsWSInvocationException: java.lang.NullPointerException.

    The null pointer would seem to indicate that a value is missing, but I don't know where to look. Anyone have any ideas on how to increase the logging level or where I could find an answer?

    Thank you!

    Thank you, we are in fact on 11.1.2.1.0 so that doesn't apply to my version, but we found the problem. After you run the epmsys_registry.sh tool, we found that the jdbc url for ERPi had changed to /SID from: SID meaning that he was looking for a service, not a SID. Don't know how it happened elsewhere, but after re - run the configtool.sh was all indented properly.

    Thank you very much, if. I appreciate the comments.

  • The VMware Workstation Server service stopped with service specific error %-1.

    Hi, when I try to enable sharing in Workstation 8 GTR | Change | Preferences | Sharing virtual machines, I get an error Impossible to configure the workstation server. Check the event log, I found they were trying to start the VMware Workstation Server service that does not start (even when you try to start it manually) and the following error is recorded "the VMware Workstation Server service stopped with service specific error %-1." by the Service Control Manager. I found no additional cases related.

    Running on Windows 7 SP1 x 64. The port is set to 7443.

    I also tried to find a newspaper there instead of vmware, but neither found anything related; However I could have missed something.

    Thanks for all the ideas, what could be wrong and how to fix it.

    Hello

    I have Workstation 8.0.1 installed on two laptop computers each running Windows 7 SP1 x 64... the shared component of the virtual machine runs on one but not the other. On the machine that I have problems with I uninstalled Workstation and reinstalled - without success. What I ended up doing to replace the datastores.xml file in the Directory go (C:\Documents and Settings\All Users\Application Data\VMware\hostd) on the laptop with the problem with the file datastores.xml of the laptop that works - success! I knew that there was a problem with the file because I've been poking around and noticed that the datastores.xml file is not open for editing - it was corrupted.

    I have attached the file to this message.

    Change of the section at the location that you store your shared VM (be sure to not use a UNC, which breaks the service as well!).

    I hope this helps.

    Steve

  • Errors during the demo 'building a Web Application with JDeveloper11g using EJB'

    Hello

    I'm going by the demo of building a Web Application with EJB using JDeveloper11g. The demo lasts great until "Running Java outside of Java EE container Service".

    I followed the steps "That runs the Java Service outside Java EE container" exactly as written:

    1. now, create a new persistence unit to run the java service outside the Java EE container. Right click on the file META-INF. Persistence.XML and select new Service Java façade in the context menu.

    2. in the Java Service façade to create, if necessary, click next to go to the home page. In the class of Service Java Panel, you can choose to create a new persistence unit (in the next panel) or use an existing unit. Select Choose a persistence unit or create one in the next panel and check the generate a checkbox in the main() method.

    3. the name of the persistence on the outside unit. Choose the JDBC connection and make sure that the JDBC connection is set to HRConn.

    4. all methods should be selected by default. Deselect some of them so that your selection looks like the following image. (Remove the 'byRange' methods)

    5. in the source editor window, for the JavaServiceFacade class, add a new line after the / / TODO comment and enter the following statement:

    Employees a = javaServiceFacade.queryEmployeesFindByName("P%").get(0);
    System.out.println (a.getLastName ());

    When I type the code above:
    Employees a = javaServiceFacade.queryEmployeesFindByName("P%").get(0);
    System.out.println (a.getLastName ());

    I get the following errors:

    Create method to "queryEmployeesFindByName".
    Separate declaration and assignment

    Any help is appreciated.

    Kind regards

    Kelly

    If you use this tutorial - the use of building 5407 http://www.oracle.com/technology/obe/obe11jdev/bulldog/ejb_jpa_jsf/ejb.html#t2s4

    Looks like the link to the tutorial page pointed to an older version.

  • Firefox Version 27 Action Menu error in Reporting Services. An error has occurred with the extraction of data.

    Hello, since I've updated for Firefox 27.0.1 on Windows 7, I have a problem with Reporting Services on a Sharepoint site. It is a site of Sharepoint 2010 with SQL Server Reporting Services 2012 Sharepoint integrated mode. I was already on Firefox version 26 and didn't meet with this problem.

    When a report is opened and you use the Actions link on the Reporting Services toolbar, I get the following error messages.

    An error has occurred with the extraction of data. Please, refresh the page and try again.

    I tried updating to the beta version of Firefox 28 but the same error occurs. I see that someone else is having the same problem here. http://SharePoint-community.NET/forum/topics/reporting-service-and-Firefox-27

    Any help would be appreciated. Thank you!

    Ryan

    Firefox version 28.0 has corrected this problem. Thank you!

  • Error in windows 2003 Standard Edition with Service Pack 2... The server {00024500-0000-0000-C000-000000000046} is not registered with DCOM within the required time.

    Could someone fix for the error below...

    OS: Windows 2003 Standard Edition with Service Pack 2...

    Event type: error
    Event Source: DCOM
    Event category: no
    Event ID: 10010
    Date: 08/08/2012
    Time: 10:00:31
    User: n/a
    Computer: BP1WHIAP011
    Description:
    The server {00024500-0000-0000-C000-000000000046} is not registered with DCOM within the required time.

    Hello
    For assistance on this issue, you can post your question in the Technet Forums.
    http://social.technet.Microsoft.com/forums/en-us/categories/

  • Service stopped with error 4294967292 (0xFFFFFFFC) special service

    I have a service on my windows 2008 Server. Whenever I try to start it, below error I get.

    "service stopped with error 4294967292 (0xFFFFFFFC) special service."

    Hi Alok,

    My apologies for the delay in the answer here.

    The question you asked is in what regards to Windows Server 2008.

    It would be better in the TechNet communities:

    http://social.technet.Microsoft.com/forums/en-us/categories

    Best regards

    Matthew_Ha

  • I have Windows XP Media Center Edition Version 2002 with Service Pack 3 and I tried to run Media Center but I get an error message with ehshell.exe.

    original title: error with ehshell.exe

    I have Windows XP Media Center Edition Version 2002 with Service Pack 3 and I tried to run Media Center but I get an error message with ehshell.exe. Could you help me?

    This problem exists since the 1st Media Center. SP2 and SP3 had a difficulty, but it is obvious that it doesn't always. The same problem still exists in Vista today with a lot of other carried over from XP. System restore would work, but you do not have any good restore points so reinstall an operating system seems to be your only option.

    You probably don't want to do an OS reinstall you need for Media Center, but since it does not at all, you might want to play then remove the Media Center updates and or SP3 and reinstall them.

  • My attempt to connect to hotmail fails with the error message "this domain Services have been abandoned.

    Hello

    My attempt to connect to hotmail account fails with the error message "this domain Services have been abandoned. The problem persists in all web browsers. I'm unable to open a session (* address email is removed from the privacy *) which I've used for more than ten years, and I can't afford to lose. The problem started today and I don't know that I ever change any setting in my PC.

    Can someone help me with the first note.
    Thank you.
    Raj Kishore
    E-mail address is removed from the privacy *.
    E-mail address is removed from the privacy *.

    Hi Rajkis,

    When you use Windows Live Hotmail and the problem you posted is with Windows Live, so it would be better suited in the Windows Live community. Please visit the link below to find a community that will provide the best support.

    Windows Live Solution Center Hotmail Portal

    http://windowslivehelp.com/product.aspx?ProductID=1

    I hope this helps.

  • I updated XP Professional with service pack 3. On reboot, I get an error message ' WZCSLDR2. EXE

    XP Service Pack 3 update restart "Entry Point not found" error

    I updated XP Professional with service pack 3. On reboot, I get an error message ' WZCSLDR2. EXE entry point not found apsGetReady could not be located in the library of links wlanapi.dll Dynamics '

    Anyone know how to fix this?

    Hey, Billy,

    You have a DLink wireless network?

    Start > type MSCONFIG

    Press enter

    Click on the Startup tab

    Look for the process and clear the check box

    Click on apply, ok

    Restart your system

    Check to display new message about using the system configuration utility which shows the starting or you will be be harassed constantly.

    Error message every time that you start XP

    http://support.Microsoft.com/kb/950720

  • When you install windows vista service Park 1, I have received an error code 80073712 with 13% downloaded only?. Can you help me to complete this process?

    When you install windows vista service Park 1, I have received an error code 80073712 with 13% downloaded only?. Can you help me to complete this process?

    Hi Gore EzekiahTongun

     

    You can see the steps in the below mentioned article Microsoft and verification.

    http://support.Microsoft.com/kb/947366

     

    I hope this helps.

Maybe you are looking for