Weird behaviour

Hello,
i have one problem:
i call my first jsf site (with user login). If i put the data in the input fields and press command button next, nothing happens. My given date are erased and i have to put it one time more. Then everything works fine. So i must give two time my data in my form to launch the action in my bean. Why?
here some code snippet:
my index.jsp:
<%@ page language="Java" session="true" %>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
     <body>
            <jsp:forward page="/login.jsf" />
     </body>
</html
my login.jsp:
<%@ page language="Java" session="true" %>
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %>
<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %>
<f:loadBundle basename="myMessages.messages" var="myMsg"/>
<html>
  <body marginwidth="0" marginheight="0">
     <f:view>
     <h:form id="agencyForm">
       <h:panelGrid columns="2" >
        <h:column><h:outputText value="Login"/></h:column>
        <h:column><h:inputText value="#{loginBean.login}"/></h:column>
        <h:column><h:outputText value="Password"/></h:column>
         <h:column><h:inputText value="#{loginBean.password}"/></h:column>
        </h:panelGrid>
        <h:commandButton action="#{loginBean.login}" value="#{myMsg.next}"/>
<h:outputText value="invalid login or password.Please try again" rendered="#{! empty loginBean.errorMessage}" style="color:red"/>
  </h:form>
  </f:view>
</body>     
</html>  All beans have a session scope.

The second example does not work since the dot '.' is a regex meta-character. It means any character. So , ("lob.20140827.c.dat" -replace ".","-") is interpreted as (replace any character with "-") resulting in
a string with all "-" characters.
To use "." as a literal you need to escape it with another regex meta-character: '\'
This works:
$val= ("lob.20140827.c.dat" -replace "\.","-")
$val
Try to look up a primer on regex..
Sam Boutros, Senior Consultant, Software Logic, KOP, PA http://superwidgets.wordpress.com (Please take a moment to Vote as Helpful and/or Mark as Answer, where applicable)

Similar Messages

  • Error and weird behaviour in executable launch

    Hello folks,
    This post is regarding a weird behaviour i am experiencing with an executable i built. 
    LABVIEW version(Includes Runtime engine) LV2012 SP1 f3
    DAQmx: 9.6.1
    The behaviour is listed below in detail. 
    In a nutshell, the exectuable runs on the development computer but does not run on the Target computer. Also, Irresepctive of which PC i run the executable on, i cannot access the block diagram even after enabling debugging everywhere. 
    On the target PC, the app fires up but does not run further, no error codes appear on the screen, it's like the app freezes after firing up. And to add to the misery, i cannot access the block diagram to debug and know what's going on. 
    Also, I have tried including the dynamic vis to my build script. No bueno. 
    What I see on running the app is addressed below:
    TARGET COMPUTER:
    DAQmx 9.7 and LV2012 SP1 f4 RTE have been installed manually.
    App does not run: No broken run button, the app launches but does nothing when the vi is run. No error messages.
    The block diagram is still inaccessible, even after selecting the “Enable debugging” option in the build specifications.
    DEVELOPMENT COMPUTER:
    The app launches and runs perfectly.
    The block diagram is still inaccessible, even after selecting the “Enable debugging” option in the build specifications.
    DAQmx 9.7 and LV2012 SP1 f4 RTE were not installed as the app recognized the already installed Labview environment.
    Additional steps that I have tried,
     Created and ran only an executable on the target PC, the attempt was unsuccessful. The vi showed similar characteristics as mentioned above in the target PC section.
     Created and ran an installer with additional install options(LV2012 f4 RTE and DAQmx 9.7)on the target PC, the attempt was again unsuccessful. The vi showed similar characteristics as mentioned above in the target PC section.  No error messages.
     Tried both the steps mentioned above on the development computer and the attempts were successful. .
    To the best of my knowledge, I believe, the issue here is with the environment I am creating for the executable and the installer to run with/off of. After having carefully followed the installation procedure for the Run-Time Engine and the DAQmx drivers, I still do not know what I am missing. 
    Please advise.
    Thanks guys, 
    RP.

    Hey guys, 
    So, got the application to work. Almost. 
    The problem was that the executable was missing the hardware config from the Device. 
    Now, the new issue is as following: 
    The goal of the vi is to generate a report of the test conducted. So, the way the vi works is that, the second the vi is run, an empty word file is created with only the company logo,  
    Field headings, which are populated after the test is conducted. 
    The logo is a .jpg file, which has a relative path into the executable.
    The field heading are String constants wired into a 'concatenate strings.vi' which are in turn wired to into the report generation vis.
    What's happening is that when i run the app on the target pc, Only the logo appears on the word template. Even when i conduct the whole test and stop the vi, the results aren't populated in the word file. Which is a little weird.
    Does any one know whats doing that?
    Please refer to the attached word files.
    Right - It is the file format desired. 
    Wrong - It is the file format achieved. 
    Please advise.
    Thanks,
    RP. 
    Attachments:
    Right.docx ‏17 KB
    Wrong.docx ‏16 KB

  • [Solved] Firefox 3 betas give me some weird behaviour with images

    I understand that there will be problems with beta software, however I seem to have memory issues with the firefox 2 series, so I thought I'd give the beta packages a try. I'm using the firefox-nightly package from AUR (firefox3b4), and I'm getting some weird behaviour. The same behaviour can be seen in all firefox 3 beta builds, however. It's hard to explain the problem, so here's a screenshot:
    Notice that the image appears twice, once in the tab, and once in the tab toolbar next to the title of the tab. It looks like an attempted preview gone terribly wrong. Upon closing the tab, the tab toolbar shrinks down to the normal size and all is well. This happens with most images up to a certain size. Any one else experiencing this problem? Any suggestions? This is very annoying and I would like anyone's input on the problem.
    Last edited by valnour (2008-02-24 07:41:05)

    Wow! This issue was solved in #archlinux by Nuked. Apparently I had some funky bits in my .mozilla directory. Removing it solved the problem. Remember kids, IRC is your friend. Anyone else experiencing weird stuff with their Firefox install should give this solution a try.

  • HTML Link -AS2 fine, AS3 weird behaviour

    Hi Guys, I'm working on a project at the moment, and am
    seeing weird behaviour with the way my swf handles html links
    inside dynamic textboxes. When rendered as a AS2 file, the link
    works on a release as expected. When its inside a AS3 file the link
    will only work if the user right click and chooses 'open in new
    window' was there a change in behaviour how AS3 handles these
    links, or is there now an declaration needed to be made to allow
    these link to have the old behaviour?
    The project calls for xml data and embedded in that is a html
    link. Originally I thought it might have been the way I'd formed
    the xml so I tried with a hardcoded version instead (dynamic
    textbox, add text -> highlight -> add link through properties
    tab). But I still see the same behaviour between the as2 and as3
    versions.
    Any help would be greatly appreciated.
    Cheers.

    Actually, the ''href'' attribute is supposed to direct the browser to a new URL, etc., not run a script. Instead, use the ''onclick'' event attribute:
    ''<a onclick = “$('.div-feedback').fadeIn();”></a>''.
    Happy coding!

  • Weird behaviour in the Fontbook display pane

    I have just been checking through some font conflicts using FontBook. All have resolved successfully, but I have noticed weird behaviour involving four or five fonts. Some of them show up as all-Cyrillic faces (Arno Pro), or all-Hebrew faces (Stone Sans) or all-Arabic faces (Balzano) in the display pane, yet print perfectly as Western characters when used in any program (Pages, Word, Bean, FCE, Keynote etc).
    It's not actually causing any problem, I suppose, apart from a weird representation in Fontbook. I have tried deactivating and reactivating these fonts. I have tried quitting and restarting Fontbook. I have even tried restarting the computer. The Cyrillics, Hebrews and Arabics keep coming back.
    Is this a known Fontbook bug, or am I doing something wrong?

    Thank you, Kappy and Tom:
    I tried the Preview Repertoire command and it showed that the fonts did, indeed, have the full Latin complement of characters. It's just that only the Cyrillic/Hebrew/Arabic/Gujarati/Mandarin selections are showing up in some fonts' preview panes: particularly those fonts with the suffix "Pro" in the title (Myriad Pro, and so on).
    How strange.

  • Weird behaviour in report filter with Presentation variables

    Hi All,
    I'm facing a weird behaviour on filtering the report using presentation variables
    Prompt:
    1. Start Date assigned to PV_ST_DT
    2. End Date assigned to PV_END_DT
    Report
    In the filter section given the "between" condition with these two presentation variable
    Fiscal Date between {@PV_ST_DT}{01/01/1990} AND {@PV_END_DT}{01/01/1990}
    this given filter condition results in the report like
    Fiscal Date is equal to ({@PV_END_DT} value)
    the filter criteria is not applied as I given, I have tried by changing the conditions like greater than or equal to , less than or equal to. The filter applied only the last presentation variable value with the prompt condition, It is not taking the condition specified in the report.
    Can anyone provide a solution on this?

    Below format: works perfectly fine
    Fiscal Date BETWEEN '@{PV_ST_DT}{01/01/2007}' AND '@{PV_END_DT}{01/03/2007}'

  • Weird behaviour in RMIClient

    hi all,
    i am experiencing a weird behaviour with my RMI Client....
    my RMIClient has two methods
    init()
    callRemoteMethod()
    ideally in the init() i should locate the RMIServer, and in the callRemoteMethod() i should call one of hte methods of the RMIServer
    the problem is that it does not work!!
    my RMIClient code works ONLY if i put the initialization of the RMIServer and the call of one of its method in the SAME method
    is it normal that it happens like htis????
    can anyone give me some hints??
    thanx in advance and regards
    marco

    hi all,
    i solved the problem...i was initializing hte RMI server twice.....
    sorry for bothering
    regards
    marco

  • SQL MP - SPN Status monitor weird behaviour

    Hi all,
    I have a strange behaviour with the monitor that checks SQL 2008 SPN status. More precisely I have a weird behaviour with the script used by the monitor. The script is GetSQL2008SPNState.vbs. I configured the SQL monitoring profile (which is used by the
    script) with a domain account with necessary rights.
    Let's say I have a SQL Server called SQL1. SQL1 is in domain AD1. I have a forest called contoso.com with two child domains AD1 and AD2.
    On SQL1 I sometimes see events 4001 generated by this script that mentions a problem to connect to WMI namespace (which is healthy, I checked with wbemtest). The event says that it couldn't connect to
    \\SQL1.AD1.contoso.com.AD2.contoso.com\root\blabla. I have no idea why it is using that broken FQDN.
    I made some research into the script and understood the following:
    The script has the SQL server FQDN as parameter (here SQL1.AD1.contoso.com)
    It searches the defaultnamingcontext by doing
     Set oRootDse = GetObject("GC://RootDSE)
     sRootnamingContext = oRootDse.Get("defaultNamingContext")
    It converts the defaultnamingcontext variable from "DC=a,DC=b,DC,c" to ".a.b.c"
    It checks if the defaultnamingcontext is in the fqdn and if not it appends it at the end of the fqdn. Dunno if I'm clear here so here are examples of good and bad behaviours:
    GOOD:
    FQDN is SQL1.AD1.contoso.com, defaultnamingcontext gives AD1.contoso.com, AD1.contoso.com is in SQL1.AD1.contoso.com so the script go on using SQL1.AD1.contoso.com and it's ok...
    BAD:
    FQDN is SQL1.AD1.contoso.com, defaultnamingcontext gives AD2.contoso.com, AD2.contoso.com is not in SQL1.AD1.contoso.com so the script go on using SQL1.AD1.contoso.com.AD2.contoso.com and it's broken...
    I didn't mention earlier but the runas account I use is from domain AD1. It's called AD1\svc_scom_mp
    My question is how comes sometimes (sometimes means during 6 hours, a whole day, nothing reccurent :( ) The defaultnamingcontext gives me the fqdn of the other domain ??
    I'm wondering if this can be due to the fact that I also have an account called svc_scom_mp in AD2 but I'm 100% sure it's not used here as it's not targeted nor distributed to any AD1 computers.
    I guess it's more an AD problem than anything else.
    Any ideas ?
    <a href="http://myitforum.com/cs2/blogs/fdufour/default.aspx">Supervize Me ©</a>

    Hi François
    I tested GetSQL2008SPNState.vbs on my POC with a similar configuration (one root and two child domains) and i have got the same issue. I think the root cause is the Server less binding (GC://RootDSE) used to search defaultNamingContext.
    With Server less binding, GC name relies on
    DNS round robin to find a GC, if a GC from another domain is returned the defaultNamingContext will be the other domain.
    You can check GC resolution with nslookup:
    nslookup gc._msdcs.contoso.com  (the root domain)
    repeat the command to see the round robin result.
    I wrote a vbscript to test it:
    This script search all GC and search defaultNamingContext with GC provider server less and server name binding. With LDAP Provider the right domain name is always returned.
    =============================
    ldapFilter = "(&(objectClass=nTDSDSA)(options:1.2.840.113556.1.4.803:=1))"
    Set rootDSE = GetObject("LDAP://rootDSE")
    configDN =   rootDSE.Get("configurationNamingContext")
    Set ado = CreateObject("ADODB.Connection")
    ado.Provider = "ADSDSOObject"
    ado.Open "ADSearch"
    Set objectList =   ado.Execute("<LDAP://" &configDN& ">;" & ldapFilter & ";distinguishedName;subtree")
    ' GC Server less binding LDAP
          Set oRootDse = GetObject("LDAP://RootDSE")
          If Not (oRootDse Is Nothing) Then
                sDefaultNamingContext = oRootDse.Get("defaultNamingContext")
                wscript.echo "Server less binding:
    LDAP://RootDSE"
                wscript.echo "   DefaultNamingContext found: " & sDefaultNamingContext
                 wscript.echo " "
          Else
                wscript.echo "   NOT found: "
          End If
    ' GC Server less binding  GC
          Set oRootDse = GetObject("GC://RootDSE")
          If Not (oRootDse Is Nothing) Then
                sDefaultNamingContext = oRootDse.Get("defaultNamingContext")
                wscript.echo "Server less binding: GC://RootDSE"
                wscript.echo "   DefaultNamingContext found: " & sDefaultNamingContext
                 wscript.echo " "
          Else
                wscript.echo "   NOT found: "
          End If
    wscript.echo "Server Name binding: GC://<ServerName>/RootDSE"
    While Not objectList.EOF
        nTSDSA = objectList.Fields("distinguishedName")
        serverDN = Mid(nTSDSA, 18)                                        
        Set serverObj = GetObject("LDAP://" & serverDN )
        WScript.Echo " GC name:" & serverObj.dNSHostName
        ' GC Server Binding
        Set oRootDse = GetObject("GC://" & serverObj.dNSHostName & "/RootDSE")
          If Not (oRootDse Is Nothing) Then
                sDefaultNamingContext = oRootDse.Get("defaultNamingContext")
                wscript.echo "   DefaultNamingContext found: " & sDefaultNamingContext
          Else
                wscript.echo "   NOT found: "
          End If
        wscript.echo " "
        objectList.MoveNext
    Wend
    ======================================================
    Cordialement

  • Roundness / Residual - weird behaviour

    Hi,
    I've been experimenting to understand "roundness" in Find Circular Edge - which seems to be the residual from "circle fit". I noticed some weird behaviour, and to understand it, I wrote a program that scales the width of a "perfect" circle from 0.5 to 1.5.
    I expected some glitches, jumps,.. due to discretization, rounding,.. etc, but then I stumbled upon behaviour that makes no sense: When I detect a circle that is partly outside of the image, the roundness is suddenly at very low value.
    To visulalize, I'm talking about such an image:
    The roundness behaves like this:
    I am not sure if it is just my vi (I'm attaching the example picture and the experimental vi), but can anyone explain this behaviour and give me some idea how to avoid it?
    Thanks,
    Birgit
    Solved!
    Go to Solution.
    Attachments:
    src05.jpg ‏19 KB
    circularedge.vi ‏63 KB

    The results of the "roundness" aka residual have a glitch once the detected circle is outside of the image.
    Allow me to add a "normal" picture with a low residual of 0.17
    High residual of 21,3
    This behaviour sort of models how well the shape fits with the calculated circle.
    And that's what I expect.
    However, in the second the algorithm "finds" a circle that is outside of the image boundaries, the residual "jumps" and is suddenly very, very low, as if one had a shape that would fit with the calculated circle.
    This, for example, has a residual of 0,27

  • [SOLVED] Weird behaviour after formatting USB installation media

    Hi, I have noticed this weird behaviour with USB drives I used to install Arch linux with.  I format them using fdisk and mkntfs but after replugging them in, the udevil daemon mounts them again as ARCH_2013...[something] and even the directory tree exists!  This happens also when I use mkntfs without the -f flag (initializing with zeros).  I also checked the other files in /dev/sd* in order to make sure that my drive does not appear twice, but there is only sda (my HD) and sdd (or sometimes sdb, sdc,...) which must be the USB drive, also according to dmesg.
    Any ideas?
    EDIT: I wrote something about not seeing any files when manually mounting but that was my bad, I only tried mounting /dev/sdb1 but mounting /dev/sdb brought me the same files as devmon showed.
    Last edited by ysetdng (2014-07-12 22:36:46)

    I am assuming you used dd to write the image to the disk. You can use it to remove the contents of the disk as well.
    You should make use of the arch wiki, it is quite helpful.
    https://wiki.archlinux.org/index.php/US … tion_Media
    You can use this to zero out the entire device:
    # dd if=/dev/zero of=/dev/sdx bs=8M // x is the letter assigned to the usb drive. Be careful, The dd command is destructive.
    It may take a while to zero out the entire disk, depending on the size. After that use fdisk/cfdisk or gdisk/cgdisk to create the partition table and partition.
    To create the filesystem type, this one, ext4:
    # mkfs.ext4 /dev/sdx // or create a vfat
    then create the label:
    # e2label /dev/sdx1 USB_STICK_LABEL
    Use my suggestion as a last resort. Read the wiki, most of what I have said is in there anyway.
    Last edited by rgb-one (2014-07-12 18:21:18)

  • My iPhone 5 shows weird behaviour.

    I bought a new factory unlocked no contract iPhone in Pakistan. The phone is from the United Kingdom, the first thing I would like to tell you that this phone has dreadful battery life, the battery drops 1% every minute when I'm texting and while I'm on facebook, drops even faster when I'm playing some game like Asphalt 7 (this is acceptable but the battery drains faster than my iPhone 4S) moreover the phone shows weird behaviour, sometimes when I charge it to 100%, it stays there for some time but then suddenly the battery drops to around 70% within an instant and sometimes when the battery is low and I plug it in, the battery percentage suddenly jumps from 18% to around 40% and this happens the moment I plug it in (both the computer and the wall charger) and the last thing is that this phone charges amazingly fast like from 2% to 1% in about 30 minutes. I saw a video on the internet for reference and in that video, the guys' iPhone 5 charges from 5% to 100% in 2 hours and 10 minutes. So could something be wrong with my battery or charger or both ???
    I have Brightness set to auto and I mostly stay indoors
    Location services are off
    Diagnostics and Usage are set to Don't Send
    iOS is 6.1.4 (the latest available)
    Push Notifications for all apps are off
    WiFi remains on most of the day
    3G is set to off as it is not available in Pakistan
    Cellular Data is off
    Bluetooth is off
    Time and Date automatic adjustment is off
    Mail is set to Fetch Manually
    Only 2.5 GB storage is in use
    and I set it up as a new iPhone and I've restored it 3 times in just 1 week.

    How would I know when the battery is totally discharged to 0? Because all it shows is this

  • Mail / Exchange 2013 weird behaviour?

    I’m hoping someone here can help with weird behaviour from Mail which is driving me nuts. It doesn’t appear to be the same problem as the odd Exchange behaviour described in other threads. It appeared about a month back, and I had made no changes to my software or hardware at that time.
    I have the latest version of OSX Mail in Mavericks, set up with an Exchange 2013 and iCloud mail accounts. There are no extensions or add-ons running. I have two Macs and two iOS devices on these accounts, all fully updated. The problems exist regardless of which devices are powered up at any one time. Mail is set to download messages automatically.
    On both of the Macs I get the same following problems:
    - When new messages arrive, the mailbox notifier indicates the new messages, but they are not shown in the message list. If I select the ‘Exchange’ inbox they are visible, and remain so when I switch back to the combined ‘Inbox’.
    - When I select the ‘Exchange’ inbox, rather than the combined ‘Inbox,’ then after 30 seconds or so the ‘From’ field in the message list changes to ‘To’, so all the senders are shown as my email address.
    - The entire send/receive function seizes up half a dozen times a day, necessitating a Force Quit to restart the app.
    iOS devices work just fine.
    Is this in fact the same as the reported Exchange problems, or have I got something else going wrong here? I’ve tried deleting and recreating the account, and also had my hosted Exchange provider take a look, to no avail.
    Many thanks,
    Tobes

    Hi Ivan,
    It is really an odd issue. Working for a while, then crash.
    According to your description, I found that we suspect it is a certificate issue.
    If this issue really related to the certifcate mismatch or something additional, it shouldn't connect to Exchange server, even just for a while (As we
    encountered).
    I suggest double check our ECP VD configuration and Authentication method. Steps as below:
    1. Please try to re-build ECP Virtual Directory, commands as below:
    a. To remove current ECP VD:
    Remove-EcpVirtualDirectory -Identity "Server01\ecp (default Web site)"
    b. To check whether the Remove operation completed successfully:
    Get-EcpVirtualDirectory -Server Server01
    c. To create a new ECP VD:
    New-EcpVirtualDirectory -Server SERVER01 -ExternalURL https://mail.contoso.com/ecp -InternalURL
    https://mail.contoso.com/ecp
    2. Please verify that the Microsoft Forms Based Authentication service is running on all Exchange servers.
    a. To check:
    Get-EcpVirtualDirectory -Server <server name> | fl *auth*
    b. To enable:
    Set-EcpVirtualDirectory -Identity "Server01\ecp (default Web site)" -FormsAuthentication
    $true
    3. Please also make sure the remote apps are all installing the trusted certificate.
    4. Please also collect detailed App logs or error message in event viewer for the further troubleshooting.
    Maybe I have not enough experiences, I am not sure whether the logs above that we provided is useful. Maybe others have different opinions.
    Hope it is helpful
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • MPB + 24" LED, weird behaviour after disconnect

    When using my MPB in combination with my 24"LED (single screen setup), everything works perfectly. When I disconnect, the resolution drops to the maximum resolution of my MPB. This drop in resolution results in weird behaviour of application windows, expose (corner activation) and spaces.
    Expose does not work anymore, seems like it still thinks there is a larger resolution, so putting my mouse pointer in the corner will not activate expose or any other corner function.
    Spaces does not slide anymore, again it seems like it expects a larger desktop to slide which is not there anymore. The display flashes and skips to the next desktop.
    Windows can not be resized because the sizing corner (lower right) is outside of the current screen area. So to be able to resize my applications, I have to resize them to small before I disconnect the 24"LED screen.
    Solutions tried:
    1) System preferences > Displays > Detect displays... Does not work
    2) System preferences > Displays > Lower resolution > Normal (max) resolution : Works like a charm
    3) Logout > Login : Also works
    Does anyone else know how to make this work the way it should? So far it seems the programming (Leopard) is faulty.

    AVrublevskiy
    I agree that, at times, the SGE switches can be somewhat difficult when getting them in and out of stack mode. I would recommend getting them back to the config that they had before you tried to remove them from a stack, then configure them via the serial cable back to factory defaults. The pinout for the cable can be found here.
    There is also a little, round, red hole at the bottom left of the switches face plate that allows you to factory reset the device. You should use a paper clip and hold it for a full 30 seconds.
    These switches are designed to either be stacked or not, meaning they are not supposed to be put in and taken out of stacked mode at random. By default, the switches try to stack together, and do not work well when the stack gets broken up or changed. I sincerely suggest you pick either stacked or standalone and leave them as such.
    As a side note, there is a newer firmware available for this switch. It is version 3.0.0.18. It can be found here.
    Please report any new problems.
    Bill

  • Weird behaviour with inlined SubVI's

    Every now and then I've ran into some serious weird behaviour where I've eventually traced it down to some inlined subVI. It has seemed as if the values used inside the inlined subVI don't match what the calling VI is feeding into its inputs. I haven't been able to consistently reproduce this issue so I apologize for the vague description, but since I felt I should finally address this and I couldn't really find anything similar by searching, I'll do my best to describe it and we'll see what turns up.
    As I mentioned, the issue certainly doesn't occur consistently. I use inlined subVI here and there and most of the time there are no problems whatsoever. I ran into the issues randomly I think four times now, first three of them were on LV2013 and this last time on LV2014. In all cases I have been using AF and I think the first times were actually with an actor class. At the time I thought it might have been related to the AF, and it still might, but now the last time it wasn't the actor class itself but a data member of one. So far all of the problems have occured with class methods, and I think the "corrupt values" have been the object private data, but I can't confirm this.
    This time the inlined subVI was a static dispatch method with contents shown below on the left and the calling on the right.
    I'm showing the calling just to point out that when I was investigating the problem and I probed the object wires before and after the inlined subVI the values (Calibration.X Step and Calibration.Y Step) were OK, but the result of the VI (Point out) was some insane value as if the actual division inside was performed by corrupt data. I think that the output value wasn't Inf, though, so the divider might not have been a default value such as 0.
    Other notes:
    I checked that the wires are connected to the inputs and outputs
    As I mentioned, the projects have always been relatively large AF setups, the problematic method has been an actor method or a method called by an actor somewhere down the chain. I have no reason to assume AF is the culprit, I'm just pointing this out, just in case
    The problem seems to occur quite randomly but once it "starts" it doesn't go away until I find which inlined subVI it was and change it to a normal VI call
    The problem might not even be specifically inlined subVI related but for example pre-allocated VI related instead
    I don't know whether the problem would occur in a built executable as well, so far I've only ran into them while testing while developing and fixed them there
    Looking at the "Known Issues" related to inlined subVI's I don't know if this related to them. The other one deals with execution systems, which I haven't touched to my knowledge, and the other one says "An Inline public methodVI calling a private-scope method VI, inlined into a non-class caller may give a runtime error when trying to call the private method from the inlined code in the non-class caller."
    LabVIEW version is 14.0.1 (2014 SP1 32bit) on Windows 8.1
    Yep, reading through this post I gotta say I'm not expecting much, what a mess, but it would be great to find out if anyone else has ever ran into similar problems or has a clue what's going here.

    Just for the sake of your sanity, I've seen "funky" behaviour with inlined VIs also, but on Real-Time targets.
    I've never been able to narrow down the exact problem but it seems to be related to changed made to inlined VIs not being reflected in the compiled code od VIs which call them.
    I've reported it but without code which can actually reproduce it, it cannot be fixed.
    Say hello to my little friend.
    RFC 2323 FHE-Compliant

  • Weird behaviour of OBIEE 11g hierarchy columns

    Hi,
    I'm facing this weird issue when i implement the OBIEE 11g new feature called hierarchy column.The issue is that the last value in the hierarchy is reporting
    Example
    Store Heir-achy
    ->Store Country
    ->Store City
    ->Store name
    ->Store Name
    ->Store name (And the level goes on and on).
    I don't know why this weird thing is happening.Any help is appreciated.
    Thanks,
    Sunny.

    Thanks for the response, in regards to whether it is 1 or 2 Logical Facts, it is still the same behaviour. IN regards to the Logical Dimension, yes it is set with two LTS with the applicable content levels set. I even tried that as just 1 LTS doing the join through the General tab. Still the same behaviour with the drill-down. I am assuming it will always go through the full drill path regardless of what level the Fact you are hitting is at.

  • Weird behaviour in Finder Preferences

    I have just set up my brand new 27"iMac and i was in Finder Preferences setting up the items I wanted in the Sidebar.
    I clicked on the various items I wanted in the Sidbar Preferences list but after clicking and ticking them I noticed that  the ticks then disappeared. Relaunching Finder did show the desired items were now in the sidebar so my choices were picked up. However I examined the Sidebar preferences again and found no items were ticked. Clicking on an item which was in the Sidebar again briefly showed a tick which disappeared and then on relaunching Finder that item had been removed as desired.
    Obviously my choices are being dealt with correctly but the Sidebar Preference list shows nothing ticked.
    I find this very weird.
    Has anyone any explanations or is this "normal" Mavericks behaviour?

    Finder preferences can become corrupted. It's not an unusual.
    Try this..
    Open the Finder. From the Finder menu bar click Go > Go to Folder
    Type or copy paste the following:
    ~/Library/Preferences/com.apple.finder.plist
    Click Go then move the com.apple.finder.plist file to the Trash
    Then go to Finder > Preferences > Sidebar and try again.

Maybe you are looking for