Bug with Base LVOOP object variants and flatten string.

I found a bug when if the base LabVIEW Object is wrapped in a variant (even indirectly), it cannot sucessfully be flattened to and from a string.
Neither of these should produce an error.
And if you try to work around it with XML, it can lockup or crash.

The first is the simplest demonstration of the problem.
The second is to show that problem is indirect (through multiply layers of different structures).
As for the purpose I was writing a SQLite interface that could write any form of LabVIEW data while maintaining variant attributes. I have to serialize the data somehow so the first attempt I just packed it into a variant then turned that into a string with flatten to string (since the variant contains the type info for what it holds I just need to use the type info for a variant to unserialize it). That failed with the first bug if I tried to store a variant with a attribute holding something down classed to the LabVIEW base object.
So instead of wrapping it in a variant I tried directly flattening it to a string and storing the type info from variant to flatten as a pascal string at the front of serialized data (of course this breaks if a LabVIEW object two variant levels deep is passed in). But that destroys variant attributes. So I tried wrapping that in a cluster then flattening the cluster (hence error two, and since it's indirect I can't wrap it in anything to avoid the problem).
So the current work around is to never store anything in the LabVIEW base object. So If I wanted a generic LVOOP container I would have to make a class for storable items then everything that can be stored would have to inherit from that.
I'm mainly posting since unknown bugs are rarely fixed, and this one is a bit obscure.

Similar Messages

  • Bug with BI Samples Common Schema and AWM 10.1.0.4

    I have installed the BI Samples available here
    http://www.oracle.com/technology/products/bi/samples/samples_readme.html
    The common_schema installs 3 AW's in the cs_olap user.
    Now in AWM 10.1.0.4 change to "object view" and open the Utils AW. Here it is not possible to expand the "Programs" folder even though there are 32 programs in this AW.
    After some debugging it turns out that the reason lies in the "BUILD_IDD" programs. Specifically the 3 lines starting with the "LD" command. When these are removed from this program it is possible to view all the programs through AWM.
    Don't know if the bug lies in AWM or the BUILD_IDD program.

    The program will not compile unless the AW SHAW is attached and other programs have been run to add new objects to the AW. The LD command is used to add additional descriptive information to each new object added to SHAW.
    Thanks for the post, this has been forwarded on to development.

  • Bugs with 10.4 (80), 6 and counting...

    I've downloaded the last iTunes version (I´m running Leopard 10.5.8), and since I've found 6 annoying bugs:
    1. Already discussed in here, "Drag & Drop" feature is not working anymore, at least for me to create new playlists. With previous versions I just dragged the Finder folder to the top left side, just between the "Music" section and the RW / STOP / FFWD buttons , and the playlist would be created with the Finder folder name automatically. Nothing happens now.
    2. No additional iTunes windows will open after I close and re-open the application. When I use iTunes I´ve got a few other iTunes windows opened (some playlists, etc.) and they used to remain opened when I re-launched the application. Not anymore.
    3. If I Drag some songs to a playlist, the Library won't update. I have to add those songs to the Library in order to get the songs there as well. You can try this yourself.
    4. Sometimes, and for no apparent reason, search function doesn't work. I type an Artist/Song or Copy/paste it and nothing happens.
    5. A few other times, my Playlist Folders, which contains several playlists won't spread out the playlists. I'd need to re-launch iTunes.
    6. Sometimes if I quit the iTunes by Q or "iTunes" "Quit iTunes" it doesn't quit, but a pop-up window appears saying "iTunes is updating Album Artwork. Cancel or Quit" when I'm not doing anything of that. If I click "Cancel" nothing happens, if I click "Quit" it won't quit at all... I'd need to Force Quit.
    Is anyone having the same problems?
    Feel free to post here all your bugs and also the troubleshooting!

    Hi,
    Is there a "real" reason that you are still using OSX 10.5.8?  I think that we are being "shepherded" in the direction of Lion.....
    iTunes may work in your v10.5.8, but I think it will have some issues....or hick-ups....
    I just upgraded from OSX 10.6.4 to v10.6.8 and all is good still.
    It's gonna get worse as Lion gets momentum..... might as well get on the bus....
    Sorry,,,, I feel your burn.

  • Weird bug with desynced nodes - including demo and screencast

    This is a follow-up to Desync of Elements and logic - how to debug?
    I started a new thread because I will provide better information on this.
    So we've made our graph editor working with JavaFX. One of our common demos for different products is a organizational chart demo. This is a tree-like graph with employees as nodes to depict the hierarchical structure of companies.
    You can try this demo here (jre7u6 with JavaFX 2.2 b17 required):
    http://www.yworks.com/products/yfilesfx/OrgChartDemo/OrgChartDemo.jnlp
    We have also made a screencast which can be viewed here that shows the usage and most importantly the problem we are facing with JavaFX here:
    http://www.screenr.com/uEF8
    The startup is quite slow, it takes a few seconds for the graph to load. This is because the visual representation of the nodes is described within (nested) fxml files and each of those files is loaded in a not so effective way (because it is at the moment not possible in JavaFX to define a custom BeanAdapter in the FXMLLoader that does proper caching). After those files are loaded, there are still some ClassNotFoundExceptions thrown in the background by some part of the JavaFX framework I did not identify, yet. After a few seconds the performance speeds up significantly.
    What you can do in this demo is described on the right. Basically you can zoom in/out, fit view, center a certain employee and interact with them.
    Interaction means you can collapse and enlarge certain parts of the graph. For example, you can hide all subordinates of an employee and show them again.
    The part of "showing them again" is done with an animation effect that is implemented in our framework, not in JavaFX.
    When you hover an employee, a fading translation is played as a hover effect and some buttons appear. This part is important so i wanted to highlighted.
    The hover effect is triggered by a onMouseEntered and onMouseExited event.
    Also you can focus a certain employee by clicking on them. When clicked, the color changes from blue to orange. This is done by our internal logic, since the clickable things on the screen are not the JavaFX rectangles and such but rather a logical representation of a node with a position on the screen and a with and height.
    So this is where things go wrong and what is really crucial for our application:
    When you collapse/enlarge nodes (employees) a bug appears quite frequently that causes the internal representation and the actual appearence of JavaFX elements on the screen to be out of sync. Most notably the hover effect doesn't work anymore: The node is visually present (as you can see it) and the values of the nodes in the scenegraph match as well, but those nodes just are not present any more for any events. They do not receive mouse entered/exited events, hover-events and pressed-events and so on. You can still click on the node and focus it, but this is done in our framework (indicating that our logic works).
    The connection of the logic and the javafx controller is done via databinding. The controller listens to changes in the corresponding model item and updates itself accordingly - you can see it when clicking on a node, the selection state of the model item changes and the controller updates the style of the javafx node.
    The other effects however, like the hover-effect, are implemented on databinding on properties of the JavaFX node class: hoverProperty, onMouseEntered onMouseExited and so on.
    Once a node is in this state, weird stuff is happening. For example, a node that is in this state seems to have normal values when viewed in ScenicView. However, when changing some values, for example translateX / Y, the node just disappears. (see also: http://www.screenr.com/lYF8 where i recorded that (a bit later in the video))
    For an example of this have a look at the link to the screencast above. We showed how to reproduce the bug there.
    We noticed that without any animation played this does not happen. So it seems to be caused by the animation. This is itself quite surprising, because we used the same animation process with other javaFX applications but never experienced this bug.
    What happens is that our Animator sets the layoutX and layoutY values of a node that is being animated repeatedly and in rapid succession over a period of time.
    The only thing we can think of that might cause this problem is that JavaFX somehow is not able to process a large amount of such update-calls and throws some exception internally and just dies.
    Because of this we strongly hope that somebody can point us to were we have to look or how to even debug this problem.
    * edit: added second screencast for ScenicView

    jsmith wrote:
    Just want to say thanks for the yworks stuff phelan.
    I use the swing version embedded in Idea and the diagrams are really nice => everytime I make a printout I get asked "what tool did you use to generate that diagram?".:D thank you very much.
    Only real advice I can offer is something you almost certainly know =>
    JavaFX is a singlethreaded UI framework.
    Ensure that anything you do which could read/write from nodes in an active scenegraph be done on the JavaFX application thread.I just double checked this and unless Platform.isFxApplicationThread() returns a wrong value, the only interaction with JavaFX nodes is done in the JavaFX application thread.
    I think your app issues will prove very hard to resolve through this forum. Nicolas Lorain is the javafx product manager, so you could try contacting him directly for support. There is also some kind of JavaFX partner program which may be able to offer support as well, Nicolas should also have details on that.
    Good luck with your app.I just searched for the JavaFX partner program, and couldn't find anything ongoing. The only advanced support I could find is the Oracle Premier Support, which at this point isn't suitable for us. I also couldn't find any contact information for Nicolas Lorain (he has a blog and twitter but I cannot find his email). So if you could point me to somewhere, I'd be very glad.

  • Bug with OSMF 1.6 MediaPlayer and swf version = 13.

    When swf version = 13, the MediaPlayer seems to fire the TimeEvent.COMPLETE event twice for a progressive video playback.
    I debugged it down to the NetStreamTimeTrait. It looks like in the case of a progressive video, the "signalComplete" method is called twice.
    First from the onNetStatus event handler (NetStreamCodes.NETSTREAM_PLAY_STOP) and second from the onPlayStatus event handler (NetStreamCodes.NETSTREAM_PLAY_COMPLETE).
    There seems to be an implicit assumption in onPlayStatus that it should not fire for progressive, but yet it does fire. Looks like a bug to me.
    This is not an issue with swf-version=11
    - Abey

    Hi,
    This looks like an issue outside OSMF (might be Flash Player). I can't tell if there's a workaround until we investigate it.
    Please raise a bug in http://bugs.adobe.com/jira/browse/FM so we'll be able to track it further.
    S.

  • Different Company Code with same fiscal year variant and controlling area

    Hi
    I have three company codes in three three different countries: 1000 (ABC India), 2000 (ABC Inc, US), 3000 (ABC Dubai)
    But our consultants have assigned only one fiscal year variant V3 and one controlling area 1000 (with fiscal year variant v3)
    So what problem one may face because of above settings and what is ideal setting for such scenario
    Edited by: Meenu_ND on Oct 18, 2010 2:35 PM

    I have one leading ledger and two non leading ledger (i.e Group ledger and IFRS ledger). But Fiscal year variant is not mentioned for both the non leading ledgers.
    So i think it will take V3 only for non leading ledgers too.
    And in your solution, since India is main company, fiscal year variant for leading ledger needs to be V3 only.
    What if i keep non leading ledger as fiscal year from Jan to Dec. Then it will be:
    Leading Ledger: April to March
    Non leading ledger: Jan to Dec
    In above case, do i need to create separate controlling area ?
    Edited by: Meenu_ND on Oct 19, 2010 10:43 AM

  • Does anybody have a current status on all the bugs with iTunes 10.5.2 and Windows 7?

    I guess that fact that iTunes isn't even available as a drop down kind of answers my question!

    Most of the info on the web page you link to is 2-4 years old. I doubt it applies. Your workaround is actually the best solution: It's always preferred to use the latest PDF viewer. Reader and Acrobat can exist on the same machine.
    Also, why 10.1.2? There have been 6 releases since then with documented security enhancements (meaning there are also published vulnerabilities which are patched), bug fixesm, and feature enhancments.
    I'll ping some folks about the error you are getting. . .
    hth,
    Ben

  • Is there a known bug with the zen vision;m and usb internet adapt

    i bought the zen m yesterday. i've down loaded it onto my pc.
    audible wont sync to it. the creative firmware updater wont update it keeps saying its not connected.
    Windows media player synced to it ( the only thing thats gone right so far lol )
    and worst of all every time i plug in the unit via usb. if i unplug the unit my netgear usb WPNT2 stops recieving all 802. signals until the driver explodes taking the system down with it. or i manual reboot.
    whats going on?
    i'm thinking i should have gotten a Zune, and if i can't resolve this i'm going to have to take this back.
    i put the zen on my laptop and xbox 360 and it works fine. it runs a pcmcia adaptor.
    my desktop is a media center rollup 2 everything up todate. my netgear drivers are uptodate. i dont know whats going on here.Message Edited by paladin238 on 2-02-200604:24 PM

    it's not connected on a hub.
    update audible still can't activate the zen, and it still keeps crashing the wireless adaptor, which inturns causes a stop error and crashes the system. i can't win =/

  • Bug with Network Load Balancing Services and SkipAsSource always reverting to true

    Steps to reproduce:
    Add an IP address to the cluster (2 nodes running Windows Server 2012) using the Network Load Balancing Manager
    Using PowerShell set the SkipAsSource flag on the IP Address to true (Set-NetIpAddress -IpAddress 192.168.1.10 -SkipAsSource $true). The flag is correctly set.
    Try to reverse the setting (Set-NetIpAddress -IpAddress 192.168.1.10 -SkipAsSource $false). Flag stays as true.
    It appears as though Network Load Balancing Services is remembering the setting from someone.
    Things I've tried all without success (in no particular order):
    Removing the IP address from the cluster and adding it back in
    Using PowerShell to remove the IP address and add it back in manually (on each host).Flag stays set as true on the 1st node but takes a second before it reverts back to true on the 2nd node.
    Using netsh to remove the IP address and add it back in manually (on each host). Flag stays set as true on the 1st node but takes a second before it reverts back to true on the 2nd node.
    Deleting each host from the cluster (one at a time), removing the registry keys CurrentControlSet\Services\WLBS and
    Removing both hosts from the cluster
    Restarting the hosts
    Using processmon (sysinternals) to try and find a registry entry that might be set when SkipAsSource is set
    Does anyone know:
    How to resolve this issue? I'm guessing resetting the TCP/IP stack would work but that's a last resort as it requires an on sight visit to the datacentre.
    Where the SkipAsSource flag it stored?
    How to reset the master/global cluster config?
    Thank in advance,
    Antony

    Hi Antony,
    I am trying to involve someone familiar with this topic to further look at this issue.
    There might be some time delay. Appreciate your patience.
    Best Regards.
    Steven Lee
    TechNet Community Support

  • Bugs with 10.5.7 update and Logic reported

    Apparently, some users are having display problems after up dating to 10.5.7.
    http://www.logicprohelp.com/viewtopic.php?t=41255
    So I guess I'll wait. There doesn't seem to be anything important in the update anyway.

    Working well here (I have an ATI graphics card, as do you I suspect with that model 8 Core)

  • Another bug in Flex? (Application.parameters and query strings)

    I'm passing in two query string parameters in the source of SWFLoader and both of them are clumped together in the first parameter by application.parameters.
    But I switch the order of the parameters in the query string and both parameters are returned correctly:
    Case #1:
    Query String:  ?cfg=zzzzzzz54B&embed_div=x
    parameters.cfg: zzzzzzz54B&embed_div=x
    parameters.embed_div:  [nothing]
    Case #2:
    Query String:  ?embed_div=x&cfg=zzzzzzz54B
    parameters.cfg: zzzzzzz54B
    parameters.embed_div: x
    Here is the actual debug commands:
    Dumper.info(this.url);
    Dumper.info(this.parameters.cfg)
    Dumper.info(this.parameters.embed_div);
    And output:
    (Case #1)
    [INFO]: file:///C:/Program%20Files/WordRad234/chm/wordrad_kt/web%20pages/zzzzzzz5/rad_3xf.swf?cfg =zzzzzzz54B%26embed_div%3Dx (String)
    [INFO]: zzzzzzz54B&embed_div=x (String)
    [INFO]: (Object)
    (Case #2)
    [INFO]: file:///C:/Program%20Files/WordRad234/chm/wordrad_kt/web%20pages/zzzzzzz5/rad_3xf.swf?emb ed_div=x&cfg=zzzzzzz54B (String)
    [INFO]: zzzzzzz54B (String)
    [INFO]: x (String)
    Something I just noticed: the equal sign after embed_div is replaced by %3D but only if embed_div comes last.

    NEVERMIND:
    It was something I was doing  to the source of SWFLoader beforehand (involving encodeURIComponent).
    I have to say, I have many, many times thought something was a bug in Flex and it was in fact my code.  In general, I think Flex/AS3 is an elegant and useful product.  The sort of ad hoc  tweaks that have to be done to avoid memory leaks though is ridiculous (though I do have that figured out pretty much as well.)

  • Problem with command line argument files and quoted strings

    I'm trying to use the following custom tag:
    -tag com.me.Test.testTag:f:"My Test Tag"
    This works fine when sent straight to the command line, but if I put it in an argument file (@argfile) along with the rest of my command, I get the following error:
    javadoc: Illegal package name: "My Test Tag"
    Any idea why this is happening? If I use a one-word tag header and omit the quotes, javadoc runs with no problems. I'm using Sun's SDK 1.4.1.
    Thanks for your help!
    Linda Howard

    White space is treated a bit differently in an @argfile,
    to enable users to put packages or options on separate lines.
    You might try escaping the spaces:
    "My\ Test\ Tag"
    or using a non-breaking space:
    "My Test Tag"
    What operating system are you on?
    -Doug Kramer
    javadoc team

  • Bug Report: enum metadata containing 'true' and 'false' string values not displaying unless "goosed"

    I have metadata whose value is 'true' but the corresponding enum title is not being displayed. If I set it explicitly to 'true' it will be displayed even though the value is the same as it was.
    Likewise for 'false'.
    I do not have this problem with enums that have any other string values i.e. 'yes' and 'no' function properly, but 'true' and 'false' do not.
    Rob

    Due to better understanding on my part, and the fixes in Beta 2.2, the
    issues raised in this thread are put to rest.
    Abe White wrote:
    >
    We'll investigate further. Stay tuned...
    "David Ezzio" <[email protected]> wrote in message
    news:[email protected]..
    Abe,
    Actually, it doesn't make sense. The first iteration shows
    jdoPostLoad is called just prior to using the fields of Widget and Box.
    After the commit, the instances are not cleared. So far, so good.
    In the second iteration, we see that jdoPreClear is called, but
    jdoPostLoad is not called. Yet the values are there for use during the
    call to Widget.toString() and Box.toString() within the iteration. How
    did that happen?
    On the third iteration, now the value of name is null, but last we
    looked it was available in the second iteration. Other than that, I
    agree that the third iteration looks ok, since it is being cleared and
    loaded prior to use. But in the jdoPreClear, the values should be there
    since the values were used in the previous iteration and are not cleared
    at transaction commit due to retainValues == true.
    David
    Abe White wrote:
    David --
    I believe the behavior you are seeing to be correct. Section 5.6.1 of
    the
    JDO spec outlines the behavior of persistent-nontransactional instancesused
    with data store transactions. As you can see, persistentnon-transactional
    instances are cleared when they enter a transaction; thus the calls to
    jdoPreClear. When the default fetch group is loaded again (like whenyou
    access the name of the widget) a call to jdoPostLoad is made.
    You are seeing the name of one instance as 'null' in the third iterationof
    your loop because the instance has been cleared in the second iteration,and
    the jdoPreClear method is not modified by the enhancer (see section10.3).
    Make sense?

  • Object ID and Object ID Version fields in Displaying Object Properties - XI

    Hi,
    In displaying Object Properties in XI we can see different fields like Type, Description, SCV, Object ID, Object ID Version, Status, Person Responsible, Changed On, Changed By, Display Language, Original Language.
    But when i refer to the SAP Library documentation for these fields, Object ID and Object ID Version are not included. Here is the link for the documentation
    http://help.sap.com/saphelp_nw04/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04s/helpdata/en/f0/fc9a3de2ec0753e10000000a114084/frameset.htm
    With that said, i have no information on those two fields, only assumptions i've made that i would like to verify in this forum with the questions below
    1.
    Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object  (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    Or does the Object ID change every time the object is edited and change list activated for it?
    What is the behavior of these two fields when transported? e.g. dev to qa...  are they both retained on the target IB's?  (specifically for ID objects because the change list needs to be activated first on the target ID)
    2.
    Does any one know where the Object ID and Object ID Version gets stored?  (saved on a table in the ABAP stack or saved somewhere in the Java stack? e.g. can be viewed in Visual Admin or a URL)  I am thinking of extracting all the XI objects with their corresponding Object ID and Object ID Version (per system) in one step.  I know this is possible only if the Object ID & Object ID Version are stored in an ABAP table...
    Kindly give me some inputs.
    Please answer directly with the questions above. I will reward points for it.
    Thanks in advance.

    HI,
    >Please correct me if i'm wrong, the Object ID is the unique identifier for the object and the Object ID Version is directly connected with the versioning concept for IR and ID, so the Object ID is generated when you create the object (e.g. MM) and the Object ID Version changes every time that object is edited and change list activated for it. Is this correct?
    The Object Id is created the first time you create the object.
    Object Version Id is created the first time you save/activate a object.
    Now suppose if you modify the object a new Object Version Id will be created but the Object ID will remain the same.
    For IR Objects the Object Id & Object Version ID will remain the same across systems.
    For ID Objects the Object Id & Object Version ID is not the same across systems.
    Not sure about the table. Can you try in SE11 and check all tables with SXMS*. Could be also that tables might not be available from GUI i.e you might have to login to DB to find out.
    Regards,
    Sumit

  • Any issues with file sharing between Windows and latest Mac client?

    We're running Lync 2013. My Windows client is 15.0.4551.1005. Mac client is version 14.0.8.
    I open a conversation with a coworker on his Mac. I then try to share a png file. He clicks accept but then my client says the attempt timed out, and his client says that I canceled the file transfer. The coworker then boots the Mac into Windows and we try
    again, and the file share works fine. When I jump on my Mac, I can send files to his Mac without issue. When he tries to send from his Mac to my PC it fails, but when he tries to send from Windows on his Mac to my PC, it works.
    I can't find anything specific in the logs that would indicate a firewall issue. Is there a bug with file sharing between the Mac and PC clients?
    Thanks,
    Matt

    No, There isn't a bug with file sharing between Mac and Pc client.
    2941640 Desktop sharing session stops in Lync 2013 when all screen data is updated
    Also you can check below links
    http://support.microsoft.com/kb/2952672/en-us
    http://support.microsoft.com/kb/2880474/en-gb
    Please remember, if you see a post that helped you please click "Vote As Helpful" and if it answered your question, please click "Mark As Answer"
    Mai Ali | My blog: Technical | Twitter:
    Mai Ali

Maybe you are looking for

  • Changing the field content of 'wrbtr' in accounting document during Post Goods Issue in VL02N

    Hi Experts,      I have requirement ,where I need to  change the 'amount in document currency value (wrbtr)' in line item of a accounting document, which is created as part Post Goods issue through VL02N.           I have already check BADI's below a

  • DW crashes when attempting to insert another collapsible panel

    Hello all, please be patient with me as it is my first post...i am trying to insert another collapsible panel into my content div and my Dreamweaver CS5 has crashes multiple times...here are my codes: forgive me if i am adding too much, the address i

  • Calling 3rd party service in ABAP

    Hello Experts, I am looking at a scenario, where I need to develop webservice which may invoke 3rd party services for some address verification purpose. Do we generally create  RFC expoed as webservice or model service in PI and then implement it in

  • Convert to Multi Org

    Hi, I got this action plan from metalink. ACTION PLAN =========== 1 - Apply patch#4172504 (If you have already applied then go to step 2) 2 - Responsibility: System Administrator Navigation: Profile-System Ensure a value has been set for profile MO:O

  • The InterAkt Extensions for Dreamweaver

    The more I work with the original InterAkt extensions I had the good fortune of securing before Adobe "secured" the company, the more I have to think about how they may have developed/progressed if Adobe had not interferred. The stuff these Romanian