Both if and else code blocks are being executed!

This is really confusing me. Sometimes after trying to track down an elusive bug I notice that my code will correctly execute the code in an if () {...} section and when it reaches the end it keeps on trucking into the else {...} section. Whaaa???
I've run into this problem a few times, but I haven't been able to figure out what I'm doing to cause it. I'm thinking it must be a compiler problem because sometimes it goes away when I restart JDeveloper. Today of course that isn't helping.
Has this happened to anyone else?
Mac OS X 10.2.6
JDeveloper 9.0.3
Tomcat 4.0.6
Java 1.3.1

It didn't sound possible to me either. Sorry, but I've done a lot of work on the code since and didn't save the broken version. This strangeness has happened to me before. Usually restarting JDev will clear the problem up, but that wasn't working this time. If/when I run into this again I will post the code and maybe someone can figure out what's going on.
Thanks for the responses.

Similar Messages

  • If both you and the person you are texting have iMessage, and that person's phone is dead... Will it/Can it still be sent as an imessage? I am getting different answers from people. I want to know if this person was being untruthful about there phone bein

    If both you and the person you are texting have iMessage, and that person's phone is dead... Will it/Can it still be sent as an imessage? I am getting different answers from people. I want to know if this person was being untruthful about there phone being truthful.

    IF that is the only iDevice activated for that recipient, then no. It should not successfully send as an iMessage if the phone is powered off or has no data connection. If you have Send as SMS turned on, it should automatically fallback to SMS after a few minutes. Of course, they won't get this until they power on their phone, assuming they have a text messaging plan with their carrier.

  • HT5622 I have two iPhones synced with the same Apple ID and so the contacts are being shared in both of them. Is there any way to revert this?? The reason is that if I delete some contact from one device then it automatically erases from the second one as

    I have two iPhones synced with the same Apple ID and so the contacts are being shared in both of them. Is there any way to revert this?? The reason is that if I delete some contact from one device then it automatically erases from the second one as well

    Yes, you stop using the same Apple ID under Settings > iCloud.

  • I feel that Apple. mac. Safari is selling out available Space on every search, and, or, we consumers are being saturated with junk mail. can't block it can't stop it from happening. Help

    I feel that Apple. mac. Safari is selling out available Space on every search, and, or
    we consumers are being saturated with junk mail. can't block it can't stop it from happening. Help

    You can use junk mail filters but setting the criteria can be a problem.
    A very good tool for blocking adware is available from Thomas Reed's site http://www.thesafemac.com Thomas is a regular contributor on ASC and a good helper.

  • Performance Point: Code blocks are not allowed in this file.

    Hi All,
    I'm trying to use Performance Point 2010 in Sharepoint 2010...
    I have start the application in centrel admin
    I have created a site collection based on the Bisuness Intelligence Center template
    I can surf the new Site Collection but when I try to open the "Start using PerformancePoint Services" link I get the following error:
    "An error occurred during the processing of /PerformancePoint/Pages/ppssample.aspx. Code blocks are not allowed in this file."
    is there any way to fix it???
    is there any good source to understand and deploy Performance Point 2010??
    thanks All
    Vit

    I have tried the above PageParserPath settings, however none seem to fix this problem for me.  Does anyone have another solution to this issue?
    I've tried...
    <PageParserPath VirtualPath="/Pages/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/PerformancePoint/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    <PageParserPath VirtualPath="/mysitecollection/ppssample.aspx"
    CompilationMode="Always" AllowServerSideScript="true" />
    Help Please!!!

  • Can I include both CSS and HTML codes in one Open HTML Editor.

    Somehow Cell phones are not properly reading css codes. Is there any way to include both CSS and HTML codes in one Open HTML Editor?

    Hammad, their code is fairly mobile friendly.  Per my other discussion with you ( http://topliners.eloqua.com/thread/8532 ), Eloqua's code is responsive for the most part.  Most of their issues lie with the styling of the email where you will get different fonts and different sized fonts throughout the email and some other minor display issues.
    What you are trying to accomplish is extremely difficult to do because you do not have the access to the HTML to better control how the responsive template works which is why the Eloqua templates (and most ESP templates) stick to the more basic side of emails.
    If you want to use Eloqua's WYSIWYG to make their responsive email you can do so, but I would recommend deleting all their body text before editing anything because of the inconsistencies in their code.  Otherwise, I think you would be better off coding the emails outside of Eloqua using a 3rd party editor whether it's something more robust like Dreamweaver or Coda, or whether you feel comfortable working in a more text environment with programs like Notepad++ or Brackets.
    At the end of the day remember you are paying Eloqua for these and if you choose to stick with the WYSIWYG and you are not getting the results you expect you need to tell Eloqua through your support channels.

  • HT201359 Why the ISTORE of Malta is not up to date with the latest movies and series like the UK & USA and why old movies are being uploaded .

    Why the ISTORE of Malta is not up to date with the latest movies and series like the UK &amp; USA and why old movies are being uploaded .
    I believe the apple should be universal in all the products and a small island like Malts should have the same products for sale on ISTORE like of the UK and USA.

    The iTunes and App stores are inherently different in different countries.  Local laws on copyright and other limits on the distribution of intellectual property make it impossible for Apple to simply put everything in every store.  Sometimes, the owner of the intellectual property does not allow it to be distributed everywhere.  Keep in mind that Apple does not own the music, books, movies and such that they allow for sale in their store front, so they do not necessarily have any say in what may, or may not appear in what store.

  • Both excisable and non-excisable items are in a same location (Warehouse)

    What will be best solution for the client (of SAP B1 2007 B PL7), those who have both excisable and non-excisable items are in a same location (Warehouse)...??...Is there any need to create two warehouses?... but how will be the excisable setting???

    Hii Das
    The best solution would be only to create two diffrent ware house for excisable and non excisable
    , to avoid unneccesary confusions, and to stay away from un avoidable errors
    Thanks
    Rizz

  • Profit center dummy and company code XX01 are not consistent

    Hi Gurus ,
    can you please tell what i should do when the system gives the message that Profit center dummy and company code XX01 are not consistent . this is happening when i post document in FB50.

    Owing to program or transport errors, the company code assignment of profit centers may not be stored correctly.
    This inconsistent data then causes program terminations or short dumps in further processing.
    This note contains the report ZPCA40B_CHECK_CEPC_BUKRS, which checks the consistency of the company code assignment and corrects possible errors.
    REfer to OSS <a href="https://websmp207.sap-ag.de/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=388178&_NLANG=E">388178</a>

  • HT1386 i have recently lost my iphone. Both mine and my husbands phones are synced to same apple account and now his phone is recieving ll of my i messages and i am not getting them. How do i stop this?

    i have recently lost my iphone. Both mine and my husbands phones are synced to same apple account and now his phone is recieving ll of my i messages and i am not getting them. How do i stop this?

    Sounds like your sharing the same apple id.  settings - message -  send&receive - make sure the cell number is the default for both phones.

  • 11.1.2- Need to find out what reports are being executed by a user

    Hi,
    We have financial reports executed from workspace.In essbase session , only the user id is displayed and the Request type- mdxreport is displayed. We also tried searching the log for Financial report didnt find anything relevant.
    Is there a way to find out what reports are being executed by the user.
    Thanks in advance.
    Regards,
    Saumya

    STAT will give you the information for a limited period of time and is limited to the server which you are logged onto yourself. Beyond 24 hours it is of even less use even if you change the selection screen values.
    If you want it for a period way back into the past, then you need to use ST03N.
    There are at least 2 dependencies and 1 confusion:
    1 dependency) The length of period is determined by the size (length) of the file. You can change this in ST03N (default 50MB) via the menu settings.
    2 dependency) The stat collector jobs need to be scheduled to write the information to ST03N (once per hour is a legal requirement in some non-banana republic countries).
    1 confusion) There is an obscure function which converts a report submit to a transaction name (there is not much difference anyway) and an even more obsure one which filters what ST03N will record and therefore whether you can read it. You can (un)filter these things away if you search the SAP Marketplace for the term "MONI".
    What is of particular value from this control is that you can even detect a submission of an abap which only existed temporarily.
    Also note that having this information is potentially very powerfull with respect to the users (some of them are human too), so you should expose and use it responsibly.
    You should also ensure that only responsible users / auditors have access to S_TOOLS_EX.

  • VNICs (both uplinks and VM's vNIC) are blocked on N5K DVS after upgrading to ESXi 5.1

    Hello Gents,
    I cought into weird situation after upgrade VMware ESXi 5.0 to 5.1 on UCS C200M2. Before upgrade I have had server with configured static adapter-fex VNICS and floating/dynamic vm-fex interfaces working perfectly in DirectPathIO mode for VMs. Initial deployment was done according Cisco N5K VM-fex operation guide for   NX-OS 5.1(3)N1(1). There were vCenter 5.1, 2xN5K and 2xC200M with ESXi 5.0 integrated so that N5K DVS was brought to vCenter and hosts could be added to DVS. One of C200M2 (still on ESXi5.0) has no problem while operating VM-Fexs and adapter-fexs while part of its uplinks are on VSS and othe part on DVS (in fact there are none VMs on VSS, so all the workloads use DVS).
    But upgraded C200M cannot operate with DVS correctly: any vmks, vm networks, VMs connected to DVS lose network connectivity.
    Attached picture illustrates diag of connectivity status (uplinks/ets are blocked).
    VEM are fresh and running:
    ~ # vem status -v
    Package vssnet-esxmn-next-release
    Version 4.2.1.2.2.1a.0-3.1.1
    Build 1
    Date Sat Sep 28 18:47:14 PDT 2013
    VEM modules are loaded
    Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
    vSwitch0         128         6           128               1500    vmnic0,vmnic1
    DVS Name         Num Ports   Used Ports  Configured Ports  MTU     Uplinks
    N5KDVS-1         256         14          256               1500    vmnic3,vmnic2
    VEM Agent (vemdpa) is running
    ~ #
    ~ # esxcli software vib list | grep cisco
    cisco-vem-v162-esx             4.2.1.2.2.1a.0-3.1.1                Cisco     PartnerSupported  2013-11-11
    Do anybody have an idea why it is going wrong?

    Of course they exist.There is unpatched server with ESXi 5.0 near upgraded server and it works perfectly.
    Finally I downgraded server to ESXi5.0 again and VM-FEX functionality restored.

  • How do I dis-able the pop-up blocker when the box is not checked and yet, pop ups are being blocked?

    I want to totally disable Mozilla's pop-up blocker. I went to the tools/options page and found that the pop up blocker box is not checked but it is still blocking pop-ups. I see that others are having the same problem. How do we fix it, or, is this a programming issue and if so, is Firefox fixing it? It is quite annoying.

    Could you click the Exceptions button to the right of "Block pop-up windows" and make sure none of those sites is specifically blocked?
    If you have unchecked the box and there is no site-specific setting, that usually does it...
    Is it possible that an add-on is doing the blocking? A standard diagnostic to bypass interference by extensions (and some custom settings) is to try Firefox's Safe Mode.
    First, I recommend backing up your Firefox settings in case something goes wrong. See [[Backing up your information]]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Next, restart Firefox in Firefox's Safe Mode ([[Safe Mode]]) using
    Help > Restart with Add-ons Disabled
    In the dialog, click "Start in Safe Mode."
    Check the Options dialog > Content to make sure the pop-up blocker is turned off.
    If popups now work correctly, this points to one of your extensions as the most likely culprit. If you restart in normal mode, you can try disabling (or adjusting the options of) any that seem possibly popup-related (e.g., security related) here:
    orange Firefox button ''or'' classic Tools menu > Add-ons > Extensions category
    Any change?

  • How can a component generate both stylesheet and HTML code?

    Hi All,
    I've the following problem. My team is working on several "complex" components which provide a rich client-side behavior (via javascript and css). The components are in charge of generating the following:
    + Stylesheet (linked or inline)
    + Javascript via external libraries
    + HTML code
    The problem comes from the fact that the CSS must be generated between the <HEAD> and </HEAD> tags (according to the HTML spec). Obviously, the rest of the code (javascript and HTML) is generated somewhere else on the page, and this is the problem.
    Any ideas on how to solve this?
    I've been thinking about a pre-process phase that would call every components to render the Css, but it requires substancial changes to JSF... Any help is greatly appreciated
    Thanks in advance,
    Stephane
    http://www.otrix.com

    Thanks for the reply but in my case I absolutely need to generate an addhoc css such as:
    <style type="css/....>
    .name 1 {position: absolute; visibility: hidden... }
    .name 1 {padding: 0 0 0 0;}
    </style>
    What I do is that I spit-out the css first and then generate the HTML. It works fine in IE but I really wanted to be conform to the HTML spec which says that a STYLE tag should be located in the <HEAD> tag. I guess it's probably too much work just to be compliant with the spec....
    Thanks again,
    Stephane

  • Ipod 4g 32G not turning on, not charging (on multiple cords, both comp and wall, 4 20min), not being detected by Itunes or Windows 7 64bit OS, will not reset, tried taking it out of "DFU", NO DMG, Itunes up2date, All I'm getting is a blank black scrn

    Ipod Touch 4th generation 32G not turning on, not charging.
    I have used multiple cords on both computer USB and wall USB converters. I let it sit there for over 20 min with each attempt.
    It is not being detected by Itunes or my Windows 7 64bit OS. I have tried all 4 of my USB ports (both USB 2.0 and 3.0), with 3 different chargers.
    Holding home and power button will not reset.
    Tried taking it out of "DFU" mode but Itunes won't detect it, I didn't think that would work anyway.
    NO DAMAGE, I have been very careful with it, aside from a few minor scratches. (that you can't even see unless the light reflects them)
    My Itunes is up to date, as is my OS.
    All I'm getting is a blank black screen. It has been working fine on this computer before. I have no idea what could have happened. I'm at my wits end here.

    See if you missed anything here:
    - iOS: Not responding or does not turn on           
    - Also try DFU mode after try recovery mode
    How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
    - If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
    - Try another cable              
    - Try on another computer                                                       
    - If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
    Apple Retail Store - Genius Bar                                     

Maybe you are looking for

  • I did write a simple java program but it is not working please help me.....

    This is the program I wrote LineRect just to draw a line a rectangle etc...... Y it is not working How can i used the same program to run without using applet that is by using awt and swing.........Pls Help me............. import java.awt.*; import j

  • Itunes library too large and won't recognize all files, just new ones but

    still shows the old ones and their location in the library. I was keeping the library on the 2TB external drive. It got too large. Now I want to put the music on one of the 1TB drives and just the videos on the 2TB drive. From my PC, I can watch ever

  • Profit center substitution in cross-company sales

    Hi, We're working here with cross-company sales and profit center. Let assume that we have a final customer, sales organization (1090 and 1190) and plants (1090 and 1190). 1090 is selling to the final customer and 1190 will sell to 1090. Everything i

  • Open Directory not working for AFP authentication

    Scenario: - Running OS X Server (10.9) using FileSharing with AFP to share to multiple users. - Currently the users login with local user accounts to gain access.  I'd like to use our Open Directory server to authenticate instead (save me maintaining

  • X-FI driver feature request(s): put all options in plain conso

    Hi, Could somebody please pass this request on to whoever makes the plain audio console? I would like to have all the features in the graphical consoles, available in the plain console. missing features such as the EQ, bass redirection, THX console,