NPE when tabing out of inputbox

Hi Gurus,
I have an input box whose valueChange event i am calling the below method. I am getting the following error when I tab out of the component
INFO : [2011-04-19 12:16:24,183] PartyAndOpportunityPageBean - in checkNumberExist()
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase APPLY_REQUEST_VALUES 2
javax.faces.el.EvaluationException: java.lang.NullPointerException
     at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:58)
     at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
     at org.apache.myfaces.trinidad.component.UIXEditableValue.broadcast(UIXEditableValue.java:214)
     at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
     at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
     at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:879)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:356)
     at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:185)
     at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
     at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
     at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
     at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
     at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
     at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
     at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at com.awRostamani.leadWeb.ui.filter.SecurityCheckFilter.doFilter(SecurityCheckFilter.java:79)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:175)
     at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
     at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
     at java.security.AccessController.doPrivileged(Native Method)
     at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:313)
     at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:413)
<af:inputText value="#{bindings.FixPhoneNumber.inputValue}"
                            label="#{bindings.FixPhoneNumber.hints.label}"
                            required="#{bindings.PartyType1.inputValue == 'ORGANIZATION'}"
                            columns="7" maximumLength="7"
                            shortDesc="#{bindings.FixPhoneNumber.hints.tooltip}"
                            id="it17" simple="true"
                            valueChangeListener="#{PartyAndOpportunityPageBean.checkNumberExist}"
                            autoSubmit="true" immediate="true">
                <f:validateLength minimum="7" maximum="7"/>
                <f:validator binding="#{bindings.FixPhoneNumber.validator}"
                             validatorId="javax.faces.Length"/>
                <f:convertNumber integerOnly="true" groupingUsed="false"/>
              </af:inputText>
    public void checkNumberExist(ValueChangeEvent valueChangeEvent) {
      logger.info("in checkNumberExist()");
      FacesContext context = FacesContext.getCurrentInstance();
      FacesMessage facesMessage = null;
      Map parameterMap = new HashMap<String, String>();
      parameterMap.put("phoneType", "mobile");
      parameterMap.put("number", "971-55-1234567");
      Boolean boolUpdateStatus =
          (Boolean)EL.invokeMethod("checkNumberExist", parameterMap);
      if (boolUpdateStatus) {
          //shw msg number exist
          facesMessage = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Number Already exist", "");
          context.addMessage(null, facesMessage);
      else
         //shw msg number does not exit
         facesMessage = new FacesMessage(FacesMessage.SEVERITY_ERROR, "Number Dosent Already exist", "");
         context.addMessage(null, facesMessage);
    }Any input what can be wrong here ?
thnks :)

      Boolean boolUpdateStatus =
          (Boolean)EL.invokeMethod("checkNumberExist", parameterMap);causes the problem (I guess). Where is the method defined? What does the method do?
Timo

Similar Messages

  • How to calcluate a filed based on two other fields after TABING out.

    Hi,
    I need my third field be calculated based on the previous two fields after tabing out from each field.
    Price Quantity Amount
    12 10 120
    Both price and Quantity is text box and amount is readonly.I want if I change Price from 12 to 15 and tab out then amount should automatically get changed to 150.
    Regards,
    Prakash

    I believe you can use Partial Page Rendering (PPR) to accomplish this. You'd place a 'firePartialAction' event on the input field. This event would fire when you tab out and then you can invoke controlelr logic to set the other two fields appropriately.
    Check out the OA Framework Developer's Guide for examples.

  • Getting a NPE when calling the getContent of a multipart message

    Hi,
    I get a NPE when I try to get the body of a multipart MIME message. The BODYSTRUCTURE returns the number of bytes of a bodypart before any decoding is done, the getContent then expects server to return that many bytes when it does something like "aa fetch 1 BODY[0]<0.16384>", when the server does not return anything a NPE is thrown. The exception is as follows
    java.lang.NullPointerException
         at com.sun.mail.iap.Response.parse(Response.java:64)
         at com.sun.mail.iap.Response.<init>(Response.java:32)
         at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:24)
         at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:99)
         at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:112)
         at com.sun.mail.iap.Protocol.command(Protocol.java:167)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:646)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:637)
         at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:474)
         at com.sun.mail.imap.IMAPInputStream.fill(IMAPInputStream.java:52)
         at com.sun.mail.imap.IMAPInputStream.read(IMAPInputStream.java:80)
         at java.io.FilterInputStream.read(FilterInputStream.java:66)
         at java.io.PushbackInputStream.read(PushbackInputStream.java:120)
         at com.sun.mail.util.QPDecoderStream.read(QPDecoderStream.java:33)
         at com.sun.mail.util.QPDecoderStream.read(QPDecoderStream.java:86)
         at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:404)
         at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:442)
         at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:179)
         at java.io.InputStreamReader.read(InputStreamReader.java:167)
         at com.sun.mail.handlers.text_plain.getContent(text_plain.java:63)
         at javax.activation.DataSourceDataContentHandler.getContent(DataHandler.java:755)
         at javax.activation.DataHandler.getContent(DataHandler.java:511)
         at javax.mail.internet.MimeBodyPart.getContent(MimeBodyPart.java:231)
    Did anybody see this exception ?
    Thanks
    Nina

    I get this error too when:
    Part part = message;      
    while(i < path.length && part != null) {
    MimeMultipart multipart = getMultipart(part);
    if (multipart == null)
         throw new IOException("not multipart.");
    part = findPart(multipart, path);     
    i++;     
    if (part == null)
    throw new IOException("not a part of message.");
    InputStream in = part.getInputStream();
    int b = 0;
    while((b = in.read()) != -1)
    out.write(b);
    at part.getInputStream() i get:
    java.lang.NullPointerException
    at com.sun.mail.iap.Response.parse(Response.java:99)
    at com.sun.mail.iap.Response.<init>(Response.java:68)
    at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:31)
    at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:105)
    at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:153)
    at com.sun.mail.iap.Protocol.command(Protocol.java:215)
    at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:882)
    at com.sun.mail.imap.protocol.IMAPProtocol.fetch(IMAPProtocol.java:874)
    at com.sun.mail.imap.protocol.IMAPProtocol.fetchBody(IMAPProtocol.java:677)
    at com.sun.mail.imap.IMAPInputStream.fill(IMAPInputStream.java:74)
    at com.sun.mail.imap.IMAPInputStream.read(IMAPInputStream.java:131)
    at com.sun.mail.util.BASE64DecoderStream.decode(BASE64DecoderStream.java:156)
    at com.sun.mail.util.BASE64DecoderStream.read(BASE64DecoderStream.java:54)
    at se.illuminet.httpd.mail.MailXMLService.serviceXml(MailXMLService.java:354)
    Any resolution to this yet?
    It worked up until I changed to an SSL connection to IMAP.
    Could this affect at this level?
    Help appriciated.
    best
    Jonas

  • NPE when edit a business rule

    I got this error message when try to create a rule for a new ruleset in a newly created Business Rule. This Business Rule has no input/outout, it gave another NPE when Create Business Rules with input/output.
    oracle.tip.tools.ide.rules.sdkmodel.SDKModelCommitException: java.lang.NullPointerException
    at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.commitChanges(SDKModel.java:308)
    at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.createRule(SDKModel.java:1534)
    at oracle.tip.tools.ide.rules.editor.graph.views.EmptyRulesetPanel$1.run(EmptyRulesetPanel.java:166)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
    at java.lang.Thread.run(Thread.java:619)
    Caused by: java.lang.NullPointerException
    at oracle.tip.tools.ide.rules.sdkmodel.SDKModel.commitChanges(SDKModel.java:300)
    ... 8 more
    Please help.

    Check this out:
    Cannot open WebForm in 12c BPM Composer (Doc ID 1950751.1)

  • NPE when creating a player. Please help

    Hi,
    I have an avi file at C:\WorkArea\Temp\Test.avi. I am trying to create a Player object out of it, but I am getting a NPE when doing so. Can anyone tell me why?
    public static void main(String[] args) throws NoPlayerException, IOException {
              Player player =
                   Manager.createPlayer(
                             ClassLoader.getSystemResource("C:\\WorkArea\\Temp\\Test.avi"));
             System.out.println(player != null);
         }When I run this code, I get the following error,
    Exception in thread "main" java.lang.NullPointerException
         at javax.media.MediaLocator.<init>(MediaLocator.java:37)
         at javax.media.Manager.createPlayer(Manager.java:332)

    Hi,
    you will probably have to change your URL. I think you have to use the file-protocol, so it would look like that:
    file://C:/workArea/Temp/Test.avi
    If it doesn't work have a look in the jmf doku, there are some similar examples.

  • 7.3.2.6 crashes when coming out of standby mode

    Has anyone else seen this problem with iTunes 7.3.2.6?
    It crashes when coming out of standby mode. There is an error report I can send to Microsoft, but since it's an Apple program, I never send it.
    Using standby was OK with iTunes 7.2.

    Okay. Let's try getting a fresh one through to Roy.
    If the log has been "live" for a while, info about every crash of any description will have been being added to it (with my Morrowind crashing on a daily basis, i once found a DrWatson log on belladonna that was over a GB in size). So it'll be easier for him to work through a log with just one crash on it.
    Will run through my standard instructions just so i don't forget anything. (Sorry, I know you're up to speed on this sort of thing, no offense meant.)
    Typically, you'll need to configure Dr. Watson on your PC in order to generate crash logs. Windows start menu -> Run. Type in "cmd". Hit return. At the prompt in the command line window that comes up, type in
    drwtsn32 -i
    And hit return.
    This will create crash logs in Documents And Settings\All Users\Application Data\Microsoft\Dr Watson\. There'll usually be a file in here called "drwtsn32.log"
    prior to collecting the itunes crash log, delete any existing crash logs in there. (we want to make sure we send the correct crash log.)
    Generate the crash, collect the crash log, and send it as an attachment to this email address: [email protected]
    In the email to Roy, be sure to include the following information:
    - A link to the thread on Apple Discussions where the issue is being discussed
    - The username you are using in the thread
    - The version of iTunes you are using or trying to use
    - the version of Windows you are using (mention service packs)
    - A concise description of the issue you are seeing
    - The exact text of the error message you are seeing

  • What do i need to do when signing out of sync?

    thank you for the very clear and easy to follow articles on installing and using sync weave add-on for my main pc and other pcs or mobile items i use....i am less clear as to what to do when signing out of sync weave, and how to cover my history etc....i couldn't find an appropriate article for this and would appreciate guidance as to the steps i need to take every time i want to sign out of a pc/etc and therefore maintain my privacy and security...an article to match the existing ones for installing weave would be fantastic...thanks!!

    Are you trying to install the DB on Linux from your Windows Box? if so, you need to have an XWindows client on your client. You have to SSH or Telnet into the box, set your DISPLAY variable. In fact, it is all in your documentation for the DB install. We still don't understand what you are exactly asking.
    Do you have direct access to your Linux machine? If so, and it has a graphical GUI, then you can find install guides for most flavors of Linux at dizwell.com. His are most excellent and show examples, but do not go over the XWindows problem. You would have to resolve that first.
    A free XWindows environment for Windows is Cygwin.
    Once the DB is running on Linux then all you do is create a TNS entry on it on your client and it connects. It is the same as setting up a connection to connect to Oracle on a Windows box.

  • When filling out a form, some fields copy to others when I tab to the next. How can I make this stop?

    When filling out a form, some fields copy to others when I tab to the next. How can I make this stop?

    You can't using Adobe Reader. It looks like whomever created the form used the same identifiers (names) for various fields. Each field with the same name will populate with the information used in another field of the same name. This is intentional.
    Normally when I see this, it tells me that someone created an initial field then copy/pasted it to make additional fields but forgot to change the names.

  • How can I change the behavior of the Green Enter button when filling out a field in a form? Current it submits the entire form, I would like it to tab to the next field instead

    When using Firefox for Andriod:
    When filling out a field on a form, they keyboard has a Green Enter button that submits the entire form. However, there are multiple fields on the page, and I would like it to tab to the next field. At the very least not submit the form.
    Also, is there a way to configure the keyboard that shows up for each html5 input type?

    They keyboard that shows up has the large "Green Enter" go button, a backspace and some arrow keys, but no tab button.

  • When filling out a form, when I type in information in one field, move to the next and begin typing,

    when filling out a form, when I type information into the first field, move to the next and begin typing, the information in the prior field disappears

    Hey gregery,
    Please let me know what Acrobat version are you using.
    Also, go to File> Properties> Security and check whether form filling is allowed or not as shown below:
    Regards,
    Anubha

  • Phone Freezes up when Closing out multiple Apps in Multitasking toolbar.

    Hello World...umm.. I am not sure if anyone else is experiencing this but every since I have upgraded to os 4 on my 3G S... whenever I proceed to close apps out of my multitask toolbar after the 4th app closed in a row my phone COMPLETELY LOCKS UP! Unresponsive mode major. I hold the lock button to turn it off and nothing happens I keep pressing the home button and nothing happens. It just freezes in the toolbar but the apps are still wiggling? Anyone might have heard whats going on with this? I have to hold my lock button and home button to reset it and reboot to resume usage of my phone. Thanks...

    This happens to me also. I think it's a bug in the software
    It happened on my 3GS and also happens on my iPhone 4.
    It doesn't only happen when closing out of the 4th or 5th app, sometimes it happens to me on the first app or just at random times. It takes about 2 minutes for the phone to unfreeze, or you can simply restart it.
    Apple needs to fix this, and also recall these iPhone 4s because of the antenna issue they're refusing to accept.

  • Read Status does not apply correctly when working out of a shared mailbox.

    since updating to the Exchange 2010 SP3 RU4, users have been experiencing the same issues when working out of shared mailboxes. when user 1 opens an email or manually marks the email as read the status does not change from their perspective, the email remains
    unread. however, the other users viewing the shared mailbox immediately see the status change to read. User 1 has to re-sort his email from catagory to received or from ect. As soon as the emails are resorted the status changes. alternatively, if User 1 views
    another folder and returns back. the email is marked as read.
    This problem happens with Outlook 2007 and 2010
    This happens after re-creating the profile
    opening outlook with the switches /cleanprofile /cleanviews seems to solve the problem for an hour or so.
    I have run mailbox repairs on the server for the mailboxes in question.
    changing the behaviour in tools>options>reading pane> has no effect.

    Hi Brenn,
    To narrow down the issue, we need more investigation:
    1.Does the issue occurs only in Category view? Please check if user 1 set the view to Date and email read status update.
    2.Does the issue occurs to user1's own mailbox with the same setting as shared mailbox?
    3.If the shared mailbox is in cached mode, please check Account Settings > Change > More Settings... > Adwanced > Use Cached Exchange mode > check Download shared folders.
    4.Please switch to online mode for shared mailbox and test the issue.
    Regards,
    Rebecca Tu
    TechNet Community Support

  • Why do graphics and colors that appear on the monitor show up as blank spaces when printed out

    Graphics (especially color) on emails and attachments show up as BLANK spaces when printed out.
    Also, some color graphics and detail work of those graphics on familiar websites do not show up on my monitor
    Both of these situations DO NOT occur on Explorer. With that browser - everything is OK

    it may have worked, but gimping my system isn't exactly a solution, more of a band-aid.
    its the equivalent of the old
    patient says, " its hurts when i do *this* "
    doctor replies," well, don't do that "
    What do you mean "it may have worked" – did it or did it not?
    Anyway it is not a remedy but diagnostics and if it makes a difference it points at the GPU driver as a likely culprit.

  • DW CS3 does not display confirmation dialog when checking out file

    We have 3 developers set up with DW CS3 Version 9 build 3481.
    When checking out a file that is already checked out one pc will
    display a dialog box to confirm that you want to check-out the file
    as it is already checked out by someone else. This is good as we
    want this dialog to appear. However on the other 2 pc's there is no
    dialog box displayed and the checkout process continues as if the
    file was never checked out.
    The text of the confirmation dialog box reads as such :
    "index.cfm is checked out by first.lastname. Are you sure you want
    to override his/her checkout?". I have been through the preferences
    and verified that we have setup the sites in the same manner but we
    still have this issue.
    Is there a known bug regarding this feature? Is there a
    preference setting somewhere that I have missed?
    thanks

    Are each of your developers sharing the same local site?
    That's why you are
    getting this error if they are. The proper setup would
    involve THREE
    locations:
    1. Local sites (unique to each workstation)
    2. Staging server (shared by all workstations)
    3. Production server (the live site)
    You would have TWO site definitions, which would be -
    (for each workstation)
    1. Local = #1 (unique location for each workstation)
    2. Remote = #2
    (for one MASTER workstation)
    1. Local = #2
    2. Remote = #3
    Use the first site definition for day-to-day work and
    checking files in/out.
    Use the second site definition ONLY for pushing files from
    the staging
    server to the production server.
    That's the only way it will work....
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    ==================
    "bemor" <[email protected]> wrote in message
    news:g3ojq5$4il$[email protected]..
    > We have 3 developers set up with DW CS3 Version 9 build
    3481. When
    > checking
    > out a file that is already checked out one pc will
    display a dialog box to
    > confirm that you want to check-out the file as it is
    already checked out
    > by
    > someone else. This is good as we want this dialog to
    appear. However on
    > the
    > other 2 pc's there is no dialog box displayed and the
    checkout process
    > continues as if the file was never checked out.
    >
    > The text of the confirmation dialog box reads as such :
    "index.cfm is
    > checked
    > out by first.lastname. Are you sure you want to override
    his/her
    > checkout?". I
    > have been through the preferences and verified that we
    have setup the
    > sites in
    > the same manner but we still have this issue.
    >
    > Is there a known bug regarding this feature? Is there a
    preference
    > setting
    > somewhere that I have missed?
    >
    > thanks
    >

  • Why is the display on my MacBook Pro 2.2 when greyed out unreadable?

    Such as when filling out forms  (as for this forum) I can barely see the letters and nothing of the box outline
    What I type is readable
    I have tried adjusting the cohtrast but that does not seem to work
    Is this a sign of old age? Can it be fixed?

    Don,
    The only things I can suggest are;
    Make sure the display brightness is turned up in System Preferences > Display > Display tab
    System Preferences > Universal Access > Seeing tab
    Enhance contrast slider to the far left
    Use grayscale is unchecked
    Black on white is selected
    You've probably tried these but just in case.
    Regards,
    Captfred

Maybe you are looking for