Background with custom layout error

Hello

I have a screen that I put to use a background image, and I created a custom presentation of HFM

but when I use my layout on the screen I get an 104 error not caught illegal argument exception.

When I delete the code for the background image, the screen will display properly with my custom layout,

How can I use my custom with a background image layout.

Thank you

Hello

I ran my application with debugging and here is a screenshot of the debug window when my application crashes.

He seemed to have solved the problem now my custom layout and and background displays correctly, I changed my background don't not to scale, can someone help explain this that when wrong when using Background.REPEAT_SCALE_TO_FIT

Bitmap VO = Bitmap.getBitmapResource ("splashscreen.png");
Background _bg = BackgroundFactory.createBitmapBackground (VO,
Background.POSITION_X_LEFT, Background.POSITION_Y_TOP,
( Background.REPEAT_SCALE_TO_FIT) ;
VerticalFieldManager _scrMngr = (VerticalFieldManager) getMainManager();
_scrMngr.setbackground (_bg);

Bitmap VO = Bitmap.getBitmapResource ("splashscreen.png");
Background _bg = BackgroundFactory.createBitmapBackground (VO,
Background.POSITION_X_LEFT, Background.POSITION_Y_TOP,
( Background.REPEAT_NONE) ;
VerticalFieldManager _scrMngr = (VerticalFieldManager) getMainManager();
_scrMngr.setbackground (_bg);

Tags: BlackBerry Developers

Similar Questions

  • Problem with custom validation error message record

    Hi, so I'm having a problem of application an error message customized a validator backup.   I ran the following SQL scripts and updated the XML file as follows:

    INSERT INTO commonXLAExtensionCache VALUES (' 1058811679F0-6F46-48FC - 9A 15 - 271EC9A7D0FQ ")
    "ClassificationRequired", "ReflectiveRequiredValidator", "Validation rules")


    INSERT INTO commonXLAExtensionCacheItem VALUES ('1059666651E8-A7F7-447-8CF5-8EE1F467C20Q',
    "1058811679F0-6F46-48FC - 9A 15 - 271EC9A7D0FQ ', 0, 'RequiredPropertyMessage ',.
    ' Specification must have a ranking

    < rule type '6501' = >

    < event condition 'save' = >

    < if type = "ReflectiveRequiredValidator" report = "true" required = "true" property = "ProductAttributes.Classifications" msgcache = "ClassificationRequired" / > "

    < / condition >

    < / rule >

    I get an error message:

    Server error in ' / gsm' Application.


    Object reference not set to an instance of an object.

    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and its origin in the code.

    Exception details: System.NullReferenceException: Object Reference not set to an instance of an object.

    Source of error:

    You have the stack trace in the error message? Assuming it's the cache:

    Give a try instead and see if that solves it.

    Delete the original entry and change the name and the inheritfrom of the ValidationMessages/ReflectiveRequiredValidator message cache, as follows:

    INSERT INTO commonXLAExtensionCache VALUES (' 1058811679F0-6F46-48FC - 9A 15 - 271EC9A7D0FQ ")

    "ValidationMessages/ReflectiveRequiredValidator", "ValidationMessages/ReflectiveRequiredValidator", "Validation rules")

  • Pages of the OPS (with custom controller) does not not in the R 12.2.4 upgrade custom

    Hi all

    There is a problem, I'm dealing with my custom page. I am trying to expand the controller with my custom class, but get the error below

    oracle.apps.fnd.framework.OAException: could not create Java class: (oracle.apps.xxar.cusstd.createcus.webui.xxArCreCusCO) associated with the area: (ArUtilRN). It is probably because the class name is incorrect or not included in the project.

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1247)

    at oracle.apps.fnd.framework.webui.OAPageErrorHandler.processErrors(OAPageErrorHandler.java:1435)

    at oracle.apps.fnd.framework.webui.OAPageBean.processRequest(OAPageBean.java:2848)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1991)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:567)

    at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:455)

    If the file is present in the right folder

    [webui applmgr@gfs3devapp1] $ pwd

    / opt/oracle/gfs2d/FS1/EBSapps/COMN/java/classes/Oracle/Apps/xxar/cusstd/createcus/WebUI

    [webui applmgr@gfs3devapp1] $ ls - ltr

    Total 4

    -rw - r-. 1 applmgr oinstall 1177 Feb 25 10:17 xxArCreCusCO.class

    I have to follow this discussion, but is not help me: https://community.oracle.com/thread/3647610

    Please help.

    Thanks, Jerome

    Hello samia,.

    In R12.2.4, you will need to create the jar with custom classes. Please visit the Doc ID 1577661.1

    Hope this helps you solve your problem.

  • Custom layout of JavaFX nodes

    I'm developing an application for which it is necessary to nodes available in addition to the other (or on top of the other etc..). However, this provision is only an IPO and the user is able to move these nodes arbitrarily. How does correctly in JavaFX? I'll explain my problem with a simplified example:

    Guess I have 2 rectangles and want to place rect2 right of rect1.

    // create first rectangle at position x= 5, y=5 
    rect1
    = rectangle(5,5);
    // create second rectangle to the right of rect1
    rect2
    = rectangle(5+rect1.width(), 5);

    In this scenario JavaFX has not yet determined the width of rect1, and there will be zero. Intuitively, I would make a call that allows JavaFX rect1 and thus determine its width and then add rect2. See the following example:

    // create first rectangle at position x= 5, y=5 
    rect1
    = rectangle(5,5);
    // let JavaFX draw rect1 (width will be calculated and set)
    draw
    ();
    // create second rectangle to the right of rect1
    rect2
    = rectangle(5+rect1.width(), 5);

    Unfortunately, I have not found a method that does what I want. My current solution appealed to the Platform.runLater (), but this does not work properly all the time. If my interpretation of the links is correct, the links also are not appropriate for this problem. I want only to provision initially nodes, so I have to remove the link after the initial layout (or do rect2 would move if rect1 is moved).

    Thanks in advance for any help.

    Custom presentations are generally made subclassing region, the substitution of layoutChildren() and calculations of page layout based on the prefWidth and the prefHeight of the child nodes.  Best place to understand this for example is by examining the source code of JavaFX , as I've never seen a tutorial on the subject.

    A round, you can use that may or may not be suitable for you, is to use the layout panels for the default page layout, then use translate the properties to allow the user to the default layout components, the translation in this way you can avoid the creation of a custom layout component.

    Another way to do is to use a base pane as the layout container that is not automatic on her children, add children to the pane in the constructor of the component.  Layout() and applyCss() use children to measure children if necessary in order to determine the appropriate size.

  • Need help with mobile layout

    Hello. Need help with my layout sensitive, using straight lines only html5 and css3 that I can understand and explain a novice level please - without any restart. Desktop and mobile are in a single html doc. The desktop version is 'ok '.

    current version (6_2)

    Try to match these mobile Office layouts

    On the mobile version:

    -Impossible to get the buttons nav blocks, vertical text button Align, and align the image of the product (square pictures) to the Center. (margin: auto; does not work)

    I used heights in the header because I'll have code for desktop, mobile and tablet in the CSS so it changes (and do not know how to support better). Also need to Add a link to the logo image background in header.

    Thanks in advance!

    TheOriginal150mph wrote:

    Hello. Need help with my layout sensitive, using straight lines only html5 and css3 that I can understand and explain a novice level please - without any restart. Desktop and mobile are in a single html doc. The desktop version is 'ok '.

    current version (6_2)

    Try to match thesemobile Officelayouts     

    On the mobile version:

    -Impossible to get the buttons nav blocks, vertical text button Align, and align the image of the product (square pictures) to the Center. (margin: auto; does not work)

    Commenting on just a habit of property changing the css if you have defined it for the desktop version. Your nav elements are not vertically Center because you have a bottom padding set on them for the office, there are only changes for mobile in your css media query.

    .main-nav a {}

    display: block;

    text-decoration: none;

    / * padding-bottom: 15px;   */

    Padding: 12px 0;

    }

    Change the properties for the .product-images for mobile boxes: you have float attached to them for the desktop version and which cascade down to the mobile version, unless you change in the media query:

    .product-image {}

    float: none;

    Width: 50%;

    margin: 0 auto 20px auto;

    }

    As I mentioned in one of my posts related to your project, you will probably have to make your product images a bit larger. They fill the area once they form a column to width of 768px screen or you could resist transform them to one column until a little more by using a media query extra set at a narrow screen width to evoke this action

  • Microsoft Setup with creative cloud error

    A customer tries to install a free copy of the creative cloud, but got the error message following installation. Any advice how to fix this?

    Exit code: 6 please see specific errors below for troubleshooting.

    For example, ERROR: - summary - 0 fatal Error (s), 2 error (s)

    -Payload: Package redistributable Microsoft Visual C++ 2012 (x 86) 11.0.61030.0 {873BE68F-480F-49A6-9649-F98CAB056AFC}

    -ERROR: third charge useful Installer vcredist_x86.exe failed with exit code: ERROR-2147024546: cannot install the Microsoft Visual C++ 2012 Redistributable (x 86). Please try to install by double-clicking the executable file to "C:\Users\Dell\AppData\Local\Temp\{B8075E2A-B02F-4629-B930-40A859F99F93}\Photoshop_16_LS2 0_win64\Adobe CC VC 2012 Redist (x 86) 2015\payloads\Microsoft \vcredist_x86.exe", or download and install the 2012 Microsoft Visual C++ Redistributable Package last (x 86) from the Microsoft Web site - www.microsoft.com

    Leave the creative Cloud desktop application.

    Go to Control Panel > program and features.

    Under the list of programs, look for " 2012 Microsoft Visual C++ Redistributable package (x 86)" and uninstall the same.

    When you are prompted to " reboot" the computer.

    Then uninstall " package redistributable Microsoft Visual C++ 2012 (x 86).

    Once you had uninstalled package redistributable Microsoft Visual C++ 2012 (x 86). Click on the link below and the "vcredist_x86.exe" download and install the same.

    http://download.Microsoft.com/download/1/6/B/16B06F60-3B20-4FF2-B699-5E9B7962F9AE/VSU_4/VC redist_x86.exe

    Then launch application creative cloud and try to install Photoshop again and check.

  • Several custom layout Page?

    So it's a little hard to imagine a thread title that sets out succinctly what I have wrong here.

    Basically, I'm wondering if it is possible to display a * SINGLE * page of a * MULTIPLE * custom layout in the print module. It is quite possible, I'm just retarded and I'm missing something simple, but when I add a page to the page layout, he appears in what is basically a grid view, with all the pages visible at a time. Addition of pages just makes each smaller page. Of course, it is not an ideal situation to make layouts.

    So, am I missing sort of totally obvious to solve this problem? The print module makes page views when making contact sheets and so on, so I know it is theoretically possible. Or is it not feasible in custom mode?

    There is a zoom button of the page on the top left preview pane

  • Create customized OSB Error Codes

    Hello

    I created a proxy service as any Service of XML that is routed to a Business Service that is the mail service everything.
    In the message stream, I added a Validate action on a diagram.
    I would like to raise an error "failure of Validation. Enter valid values. "with a 402 error Code, when there is a validation error (instead validate the OSB BEA-382505 invalid action)
    In short I want to personalize the error codes.
    How to implement this scenario?

    Help, please!

    Thanks in advance!

    You can try with below-

    Replace [content of the node] [. / ctx:errorCode] at [fault] with ['402']

    Replace [content of the node] [. / ctx:reason] at [fault] with [' Validation failed.] [Custom error Msg']

    Replace [whole node] of [. / *] [body] with [$fault]

    [Default]

    Kind regards
    Anuj

  • Jdev11g; Customizing the Error Messages from the Business components

    Hi all

    Using Jdeveloper 11.1.1.2. I customized the BC error message using message bundle. My bundle of message class is

    SerializableAttribute public class MessageBundle1 extends ListResourceBundle {}
    private static final Object [] [] sMessageStrings =
    New String [] [] {}
    {"Houston-26048',"child records exist against the selected record"},
    {"EMP_JOB_FK", "there are the child records to selected record" ""},
    {"Houston-25013',"record already exists"},
    {"JOB_ID_PK", "' Job ID already exsist" "}
    };

    / * Return string identifiers and the corresponding Messages in a two-dimensional array.
    */
    protected Object [] [] getContents() {}
    Return sMessageStrings;
    }
    }


    Need help on two or three issues, I am confronted with this: -.

    (1) although I gave the error message for Houston-25013 and JOB_ID_PK, always I get after the error message on the user interface, when you save the new record
    "Too many objects correspond to the oracle.jbo.Key [AD_PRES primary key]."?
    (2) why do I get "Attribute in HrModule.JobsView1 JobId is required." with above the error message in the error popup window?
    "(3) when removing the record, even though I'm getting desired error message on UI ' oracle.jbo.DMLConstraintException: there are the child records to selected record", why the error message is prefixed by "oracle.jbo.DMLConstraintException".?
    (4) how can I locate the error messages in another language?

    Thank you
    Vikram

    Published by: Vikram K on March 22, 2010 15:23

    Hello

    Just put the number of the error, instead of Houston-25013 1), try with 25013

    For 4) you must create a second resource group with the locale in his name. ex I have a BCBundle.java for English and a BCBundle_fr.java for the French
    Check the guide FusionDev and WebDev guide for information on the locale and the beams of the resource.

    HTH

    Concerning
    Paul

  • Backup fails with Invalid RECID error

    Hi all

    Please help me understand the guard-section layout

    below the text is
    [http://download.oracle.com/docs/cd/B10501_01/server.920/a96566/rcmtroub.htm#447765]
    Backup Fails with Invalid RECID Error: Solution 2
    
    This solution is more difficult than solution 1:
    
    To create the control file with SQL*Plus:
    
       1. Connect to the target database with SQL*Plus. For example, enter:
    
          % sqlplus 'SYS/oracle@trgt AS SYSDBA'
    
       2. Mount the database if it is not already mounted:
    
          SQL> ALTER DATABASE MOUNT;
    
       3. Back up the control file to a trace file:
    
          SQL> ALTER DATABASE BACKUP CONTROLFILE TO TRACE;
    
       4. Edit the trace file as necessary. The relevant section of the trace file looks something like the following:
    
          # The following commands will create a new control file and use it
          # to open the database.
          # Data used by the recovery manager will be lost. Additional logs may
          # be required for media recovery of offline data files. Use this
          # only if the current version of all online logs are available.
          STARTUP NOMOUNT
          CREATE CONTROLFILE REUSE DATABASE "TRGT" NORESETLOGS  ARCHIVELOG
          --  STANDBY DATABASE CLUSTER CONSISTENT AND UNPROTECTED
              MAXLOGFILES 32
              MAXLOGMEMBERS 2
              MAXDATAFILES 32
              MAXINSTANCES 1
              MAXLOGHISTORY 226
          LOGFILE
            GROUP 1 '/oracle/oradata/trgt/redo01.log'  SIZE 25M,
            GROUP 2 '/oracle/oradata/trgt/redo02.log'  SIZE 25M,
            GROUP 3 '/oracle/oradata/trgt/redo03.log'  SIZE 500K
          -- STANDBY LOGFILE
          DATAFILE
            '/oracle/oradata/trgt/system01.dbf',
            '/oracle/oradata/trgt/undotbs01.dbf',
            '/oracle/oradata/trgt/cwmlite01.dbf',
            '/oracle/oradata/trgt/drsys01.dbf',
            '/oracle/oradata/trgt/example01.dbf',
            '/oracle/oradata/trgt/indx01.dbf',
            '/oracle/oradata/trgt/tools01.dbf',
            '/oracle/oradata/trgt/users01.dbf'
          CHARACTER SET WE8DEC
          ;
          # Take files offline to match current control file.
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/tools01.dbf' OFFLINE;
          ALTER DATABASE DATAFILE '/oracle/oradata/trgt/users01.dbf' OFFLINE;
          # Configure RMAN configuration record 1
          VARIABLE RECNO NUMBER;
          EXECUTE :RECNO := SYS.DBMS_BACKUP_RESTORE.SETCONFIG('CHANNEL','DEVICE TYPE DISK
          DEBUG 255');
          # Recovery is required if any of the datafiles are restored backups,
          # or if the last shutdown was not normal or immediate.
          RECOVER DATABASE
          # All logs need archiving and a log switch is needed.
          ALTER SYSTEM ARCHIVE LOG ALL;
          # Database can now be opened normally.
          ALTER DATABASE OPEN;
          # Commands to add tempfiles to temporary tablespaces.
          # Online tempfiles have complete space information.
          # Other tempfiles may require adjustment.
          ALTER TABLESPACE TEMP ADD TEMPFILE '/oracle/oradata/trgt/temp01.dbf' REUSE;
          # End of tempfile additions.
    
       5. Shut down the database:
    
          SHUTDOWN IMMEDIATE
    
       6. Execute the script to create the control file, recover (if necessary), archive the logs, and open the database:
    
          STARTUP NOMOUNT
          CREATE CONTROLFILE ...;
          EXECUTE ...;
          RECOVER DATABASE
          ALTER SYSTEM ARCHIVE LOG CURRENT;
          ALTER DATABASE OPEN ...;
    Caution:
          If you do not open with the RESETLOGS option,
     then two copies of an archived redo log for a given log sequence number may
     exist--even though these two copies have completely different contents.
     For example, one log may have been created on the original host and the other on the new host.
     If you accidentally confuse the logs during a media recovery,
     then the database will be corrupted but Oracle and RMAN cannot detect the problem.

    How to open the database without resetlogs?

    This will not help you. You must open the database in resetlogs mode in order to avoid such a scenario. You can open the database in mode restelogs by type
    SQL > alter database open restelogs;
    Instead, he will lose the present trancation in logs online.

    Rgds.

  • HP Jet 7: My hp stream 7 tab stucks in the configuration of the window has... (a picture of blue background with whi

    My hp stream 7 tab stucks in the configuration of the window has... (a picture of a blue background with white letters) its does not accept the entry while I also use an aotg with the mouse cable. So please help me its very urgent

    Try to hold the low volume button when the power and press the F11 key to enter the menu of system recovery.

  • Help!  Get pop-ups with CODE of ERROR: sec_error_X1X510_A

    I have an iMAC end of 2012, 3.4 GHz Intel Core i7, 16 GB 1600 MHz DDR3. NVIDIA GeForce GTX 680MX 2048 MB, El Capitan iOS

    When you use Safari, Google home page, I type a domain and it goes to what I believe is a pop-up fake Apple Support with CODE of ERROR: sec_error_X1X510_A.

    Need help solving this. THX

    You have probably installed some adware. Please post a report of EtreCheckof your system. We then look for obvious problems. Please click on the link, download the application and run the report. Once you have the report, please copy and paste into your response to this post.

    If you would like more information on what is EtreCheck, just click on the link and you will find a description of the application.

  • Need to keyboard with German layout

    Hello

    I moved to the United States on the Germany and now I would like to Exchange my German keyboard in order to use the necessary "Umlauts" here...
    Can someone point me to a site were I can buy them? (Yes I know that I can change the layout in windows, but it's really confusing get a z while typing y...)

    Thank you!

    Johannes

    Hello Johannes

    I do not know what laptop Portege you have but Googling autour, I'm sure you can find a keyboard with German layout. Second solution is to contact the nearest authorized service provider. They can order the right one for you keyboard.

    Oh yes, the one thing more: check eBay. You will find hardware components both for the different laptop models.

  • Using Firefox 4 and Windows 7. Whenever I have to start Firefox from a shortcut to a Web site, what happens with the following error "there was a problem sending the command to the program". The requested site is loaded after that. without any problem.

    Using Firefox 4 and Windows 7. Whenever I have to start Firefox from a shortcut to a Web site, what happens with the following error "there was a problem sending the command to the program". The requested site is loaded after that. without any problem.

    If a shortcut is used while Firefox is already open the error will not occur.

    For me, the problem was the FoxClock extension. Once I disabled it, the problem was gone.

    Hope this helps.

    Olivier

  • Firefox 4 deployment with custom user settings?

    Hi people,

    I want to deploy FF 4.0 with custom user settings, but where is the "localized" my prefs.js file folder? In FF 3.6.x we extract the setup.exe file and with sources, we have deployed our customized firefox. In FF 4.0 now, there is some file missing from news sources. Are there any documents that explain the deployment of FF 4.0? Thank you very much

    You can always create a folder/defaults/profile and places the files in this folder to have in a new default profile. Folders that have no content are no longer present in the version of Firefox 4 RC, but some are still read and processed.

Maybe you are looking for

  • Portege Z930 - impossible to boot from the external USB CD/DVD drive

    I have a portege Z930 14UI am not able to boot from an external linke (Samsun SE-218) CD player via USB I already set the boot sequence and choosed CSM as model BIOS Thank youAndrea

  • Satellite Pro L40 - how to move from a Vista to XP

    Hi all I would like some info on "how a Vista to XP downgrade?I have an original XP SP2. Please help...I tried before, but the sound does not work... help please Apreciate will please and thanks in advance.

  • Toshiba Cromebook and HP Photo: Toshiba cromebook cloud printing

    HI, hope someone can help, Trying to set up my HP Photosmart 7520 to HP Cromebook 2.  I set up my printer to print cloud. But when I press ctrl P, I don't have a "print" button, I get rather a save option to save the file to a place but not a button

  • Smartphones blackBerry BIS in China

    Hello! I have a Bold 9700 with T-Mobile USA. I have BIS not BES, activated at home. I want to access my mail while I'm in China. With International Email add on, I could access my email from the Japan and England. Is it possible if I am in China or T

  • Disorder of 1000 wireless mouse. The mouse is defective?

    My 1000 wireless mobile mouse is barely 6 months old, and I have not used a lot else. The problem started a few days ago. After a few minutes of work, the mouse cursor gets stuck on the top edge of the screen as if someone pushes the cursor upward co