MapViewer Bean Bug in 9.0.4 Release Version

Hi-
In the recently released 9.0.4, the getCenter() method of oracle.lbs.mapclient.MapViewer returns null after this sequence:
setBox();
run();
getCenter(); //returns null
This is a show stopper for upgrading, since we always display the map size and center on the maps we generate.
Any suggestions? Has anyone else seen this?
Thanks,
Eric Everman
USGS

Thanks for the reply.
I see that the getBox() docs do mention that it will return null if no box is set - getCenter() docs should be updated to note this.
In terms of ease of use, however, wouldn't it be useful to have both getCenter and getBox return real values after a map has been generated? These values are known (or can be calculated). If they aren't calculated in the bean then I have to put the logic and code in my JSP page or MapViewer subclass.
The only time these values may not be known is in this case:
setCenter();
getBox(); //box unknown until request is made
run();
getBox(); //box is known
Just trying to keep things simple - thanks for listening!
Eric Everman

Similar Messages

  • MapViewer Bean Feature Requests & Bug Tracking?

    Hi-
    I'm wondering where I should post feature req's and bugs for the MapViewer bean. Is there a place where these things are tracked?

    Please post here. The dev team will collect and track them internally. Or if you are a customer you can always go to metalink.oracle.com and post over there. The product id for mapviewer is 1215.
    thanks,
    LJ

  • OracleAS MapViewer Bean

    Hello,
    I'm using the OracleAS MapViewer Bean in my JSP application. As said in the use guide, this Bean is used for all maps created during the current session. But for me, it's a problem because when I close a first map (with addPointFeature, addWMSMapTheme and addJDBCTheme functions) and want to create a second one (with the same functions but with another data), information of the firsts is always there.
    Does anyone know how to put the scope of the Bean to page and not still to session?
    (As in the tag
    <jsp:usebean
    id="BeanName"
    class="com.XXX.class"
    scope="page">
    </jsp:usebean>
    Thanks in advance.

    The API has methods (such as deleteAllThemes, removeAllPointFeatures) to clean your current request. You can use these methods before creating the second map.

  • Where do I find *the* mapviewer bean

    I have been reading this forum and I see people talk about "the" mapviewer bean, I would like to use this bean in my forms, but I can't seem to find it.
    Should I write my own Bean around the MapViewer class?

    the class oracle.lbs.mapclient.MapViewer class is the 'bean'. It's got everything you need to talk to Mapviewer from your Web app.
    this class is packaged inside the mvclient.jar file, which is located in your deployed/unpacked MapViewer directory, under $OC4J_HOME/j2ee/home/applications/mapviewer/web/WEB-INF/lib.
    thanks

  • Bounding Theme With Mapviewer Bean

    Hello
    I using the MapViewer Bean to render a map in Oracle Forms. I can successfully show the map and use addJDBCTheme to add a dynamic theme. I am now trying to zoom in/out on the map so the image returned shows all items in the dynamic theme. Does anyone no how to do this using the bean?
    TIS Chris

    Hi Joao
    Thanks for the reply.
    Although I have read about this procedure in some MapViewer documentation I am unable to get to it through the MapViewer java class - I am writing a bean that utilises this class and this method does not appear to to be in this class. Do you know of any other way a can access it?
    Thanks
    Chris

  • MapViewer Bean Feature Selection

    I have written a java applet that uses the Mapviewer bean to set up and render a map based on Oracle spatial data. So far, so good. I have written tools to Zoom in, Zoom out, Pan etc etc. I now need to extend this as follows:
    1. Given the primary key of a feature (or set of features), I need the mapviewer to be able to highlight those features in the map (using some specified highlight color) and to zoom to the relevant extent.
    2. I need to be able to allow the user to select a rectangle on the map (using a rubberband tool that I already have in place) and have the mapviewer highlight all the features within the rectangle and also return the primary keys for all features found using a spatial query.
    The java applet needs to be thin. It will be running on slow networks so it can't be downloading large amounts of data.
    Having read the documentation, you need to set the themes to clickable before you can highlight them. This then means that the features are downloaded to the client - presumably ending up with large amounts of network traffic.
    Is there any way we can achieve what we need as described above?

    Please post here. The dev team will collect and track them internally. Or if you are a customer you can always go to metalink.oracle.com and post over there. The product id for mapviewer is 1215.
    thanks,
    LJ

  • Updated AIR 3.4 SDK beta version to release version, package IPA failed

    my project contains an ANE , and it works fine with previous version , today i updated sdk version to AIR3.4 sdk release , but failed to package IPA  with errors below:
    ld: warning: -ios_version_min not specificed, assuming 4.0
    Undefined symbols for architecture armv7:
      "_null", referenced from:
          _g_com_adobe_air_fre_fmap in extensionglue.o
         (maybe you meant: _sqlite3_bind_null, __ZN7avmplus20BitmapDataJPEGWriter14j
    peg_null_charEP18jpeg_common_structPc , __ZN7CString16s_nullTerminatorE , __ZN7a
    vmplus7AvmCore24decrementAtomRegion_nullEPii , _null_name , __ZN7avmplus20Bitmap
    DataJPEGWriter9jpeg_nullEP18jpeg_common_struct , _sqlite3_result_null , __ZN7USt
    ring16s_nullTerminatorE )
    ld: symbol(s) not found for architecture armv7
    Compilation failed while executing : ld64
    is it a bug? or i do someting wrong?

    I was really hoping that would work for me to.
    I'm using:
    AIR 3.4 to compile the ANE and the IPA.
    FB 4.7 beta to write the Actionscript Library
    Xcode to compile the native library - I added the signature minimalFinalizerFunction() then rebuilt the framework and used the 'release' version
    The ANE seems to compile without error using this command:
    adt -package -target ane KiipNativeExtension.ane extension.xml -swc KiipNativeExtension.swc -platform iPhone-ARM -C ios . -platform default -C default .
    -- here's my extension.xml --
    <extension xmlns="http://ns.adobe.com/air/extension/3.1">
        <id>com.slaphostgames.extensions.KiipNativeExtension</id>
        <versionNumber>0.0.1</versionNumber>
        <platforms>
            <platform name="iPhone-ARM">
                <applicationDeployment>
                    <nativeLibrary>libKIIPANE.a</nativeLibrary>
                    <initializer>ExtInitializer</initializer>
                    <finalizer>minimalFinalizerFunction</finalizer>
                </applicationDeployment>
            </platform>
            <platform name="default">
                <applicationDeployment/>
            </platform>
    </platforms>
    </extension>
    Then I republish the swf in Flash Pro CS6 (I do this by testing the movie and it pops open ADL but gives runtime errors that the ExtensionContext function is not available - I think that is expected behavior because it's in the simulator)
    Then finally I run this command to compile the IPA:
    adt -package -target ipa-test-interpreter -storetype pkcs12 -keystore Certificates.p12 -storepass passwd -provisioning-profile Distribution_Ad_Hoc.mobileprovision TestKiip.ipa TestKiip-app.xml TestKiip.swf -extdir . -platformsdk /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPh oneOS6.0.sdk/
    -- here's my -app.xml
    <?xml version="1.0" encoding="utf-8" standalone="yes"?>
    <application xmlns="http://ns.adobe.com/air/application/3.4">
        <id>com.slaphostgames.TestKiip</id>
        <versionNumber>1.0</versionNumber>
        <filename>TestKiip</filename>
        <description></description>
        <!-- To localize the description, use the following format for the description element.
              <description>
                        <text xml:lang="en">English App description goes here</text>
                        <text xml:lang="fr">French App description goes here</text>
                        <text xml:lang="ja">Japanese App description goes here</text>
              </description>
              -->
        <name>TestKiip</name>
        <!-- To localize the name, use the following format for the name element.
              <name>
                        <text xml:lang="en">English App name goes here</text>
                        <text xml:lang="fr">French App name goes here</text>
                        <text xml:lang="ja">Japanese App name goes here</text>
              </name>
              -->
        <copyright></copyright>
        <initialWindow>
            <content>TestKiip.swf</content>
            <systemChrome>standard</systemChrome>
            <transparent>false</transparent>
            <visible>true</visible>
            <fullScreen>false</fullScreen>
            <autoOrients>false</autoOrients>
            <aspectRatio>portrait</aspectRatio>
            <renderMode>auto</renderMode>
        </initialWindow>
        <customUpdateUI>false</customUpdateUI>
        <allowBrowserInvocation>false</allowBrowserInvocation>
        <icon></icon>
        <iPhone>
            <requestedDisplayResolution>standard</requestedDisplayResolution>
            <InfoAdditions><![CDATA[<key>UIDeviceFamily</key><array><string>1</string><string>2</stri ng></array>]]></InfoAdditions>
            <!--
    <Entitlements>
              <![CDATA[<key>keychain-access-groups</key><array><string>...</string></array>]]>
    </Entitlements>
    -->
        </iPhone>
        <extensions>
            <extensionID>com.slaphostgames.extensions.KiipNativeExtension</extensionID>
        </extensions>
    </application>
    I get this error:
    ld: warning: -ios_version_min not specificed, assuming 4.0
    ld: duplicate symbol _OBJC_CLASS_$_FIXCATEGORYBUGKP_ASIHTTPRequest in /var/folders/2g/4jk4pqbs28v13vh9scbj1cq40000gn/T/a8ede4b9-22d3-4d0f-8faf-2eafcacffd42/lib com.slaphostgames.extensions.KiipNativeExtension.a(KP_ASIHTTPRequest+OAuth.o) and /var/folders/2g/4jk4pqbs28v13vh9scbj1cq40000gn/T/a8ede4b9-22d3-4d0f-8faf-2eafcacffd42/lib com.slaphostgames.extensions.KiipNativeExtension.a(KP_ASIHTTPRequest+OAuth.o) for architecture armv7
    Compilation failed while executing : ld64
    Any thoughts?

  • I get a message that says "This version of pre-release ios will expire in 7 days" What should I do? I am currently running ios 8 GM and I can't update to the public release version.

    I get a message that says "This version of pre-release ios will expire in 7 days" What should I do? I am currently running ios 8 GM and I can't update to the public release version. I am stuck in the beta. Itunes will not let me restore my iphone or update it. PLZ HELP ME

    Wondering if you have a current Backup on iTunes ...if yes you could put the iPhone in DFU Mode by holding the Home button while you plug in the lightning cable.  Then you could Restore the iPhone to Factory Settings on 8.0.2 and after a full Restore go back and then Restore from your Backup.  This happens every time a public release occurs.  Many folks on the Golden Master or otherwise in the AppleSeed program with a Beta version for some reason don't move to the official release ...then the software time-bomb hits and they can't upgrade.

  • Application Insights is not recording any data from the released version of my Windows Phone app

    I released my first Windows Phone app a week ago, and Application Insights worked perfectly to collect usage data whilst in a debug build. However, the released version of the app is not returning any data at all. Is this a common problem for new apps or
    is there a problem that I need to address?
    I configured Application Insights for my app using the information on this guide - http://msdn.microsoft.com/en-us/library/dn509554.aspx
    Any ideas or help would be greatly appreciated, thanks for your help.

    Hi Bernard, thanks for your reply.
    I tested the data using a release package of the Windows Phone app deployed directly to my phone from Visual Studio and the data appeared after around 10 minutes. However, once I published the exact same package to the Windows Phone Store and started using
    the version downloaded from the store, no usage data has been uploaded even after several days of waiting.
    I am using SDK 0.7.1 and Application Insights Tools for Visual Studio v1.3.2. The app is built for WP 8.0 and running on WP 8.1.
    The instrumentation key is 757eeaff-605e-44a2-8eaa-6abf498bfcf5.
    Thanks for your time and help, I really appreciate it.
    Dan

  • Why T-RFC Port canu2019t handle Partner Profile Segment Release Version.

    Can TRFC Port handle the segment release of each of the segment if configured in Partner Profile.
    As per sap, in Partner Profile,  if we maintain the two field "Seg. Release in IDoc Type"  and "Segment Application release" to a SAP Release lower than the current release version then all the segment populated by the IDoc adapter should be populated as per the lower release structure.
    For test Purpose I have created two IDoc using File Port and TRFC port and for both of then I have maintained the Partner Profile Fields  "Seg Release in IDoc Type" and "Segment Application Release" as 46C although the latest release is 701. 
    In the IDoc there is a custom segment ZE1PMX with two Version Release 46C & 701. 46C is having 7 Fields and 701 is having 9 fields.
    Test using TRFC Port: Using TRFC port the IDoc that is getting generated are not having the segment structure of release 46C instead of that it is taking the segment structure of latest release 701 which is having 9 fields.
    Test using File Port: Using File port the IDoc that is getting generated are having the segment structure of release 46C instead of latest release 701 which is having 7 fields which is desirable.
    I have also done these testing in other SAP release like 700 and found that while saving the partner profile with a lower  segment release number it throws an warning message as "Segment definitions missing for release 620/620" and IDocs are not getting generated with a error status Code 2 "Segment E1BPMEPOITEM1 is unknown in Release 620 /". But from release 701 sap allows us to save the Partner Profile without warning and also creates the IDoc without error but the segments takes the latest release structure instead of the release maintained in the Partner Profile.
    If any one has already done some investigation on this issue please let me know why there is a difference in TRFC Port and File Port. Is there any other configuration that is missing for T-RFC Port.

    Hi Dennis
    This forum is focused on [SAP NetWeaver Gateway|http://www.sdn.sap.com/irj/sdn/gateway], i.e. the (relatively) new OData/REST-orientated mechanism to expose ERP data and functions.
    You're talking about the ('classic') Gateway i.e. the service that runs on port 33<SYSNR>. As a result, you are better off posting in the forum that covers that Gateway, i.e. [Application Server Infrastructure|SAP NetWeaver Application Server;
    The names do make it confusing, for sure.
    Good luck!
    dj

  • Bug in LV8 : 'Save for previous version' and 'Write to Binary File' VI

    Hello
    I am using LabVIEW 8's revamped 'Write to Binary File' VI with a 'TRUE' boolean constant wired to the optional 'prepend array or string size?' to write non-trivial structures to a binary file. I then read the file with the 'Read from Binary File' VI and everything is fine. I don't wire anything to the 'file (use dialog)' input (don't know if this can help).
    However, after saving my VI for LabVIEW 7.1, I cannot read the binary files created with the LV7 version of the VI anymore. After examining the LV7 converted version of the VI, there is a 'FALSE' boolean constant that is wired to the equivalent of the 'prepend array or string size' input, which breaks the binary format that is expected.
    The attached files are LV8 and 'saved for LV7' versions of a dummy VI that writes an array of 5 integers into a binary file. To test the bug, start LV8, open the LV8 version, run it and create a 'test-lv8.bin' file, then open the LV7 version, run it and create a 'test-lv7.bin' file. Check the content of the two files : the size of the array is indeed missing from the 'test-lv7.bin' file, which can be assimilated as a bug in my opinion.
    I think I found another one too : if in LV8 I wire the 'cancelled' boolean output of the 'Open/Create/Replace file' to the selector of a case structure, the 'converted to LV7' version VI will have an error, saying the Case Structure selector is not wired.
    Could someone please confirm these are indeed bugs ?
    Thanks in advance and have a nice day.
    Eric Batut
    Attachments:
    Test Binary File v7-v8 LV7.vi ‏15 KB
    Test Binary File v7-v8 LV8.vi ‏7 KB

    I'm using LV8.6 and need to read a .bin file created in MATLAB. This file obviously does not contain the 4 byte header that LabVIEW prepends .bin files with. So when I use Read from Binary File, I get no data (I'm trying to read an array of doubles). I've tried making my .bin file both in native and big-endian format and changing the representation (double, int64, float64) but none of this works. I noted that if I create the same array in a .bin file in LabVIEW and wire a FALSE to the "prepend array or string size?", my VI for reading .bin files can't read this file either.
    Any work-arounds here?
    (I'll try attaching my write & read VI's)
    Attachments:
    ReadWriteBinFile.zip ‏19 KB

  • My macbook pro early 2012 won't install release version of yosemite after being in the beta test

    my macbook pro early 2012 won't install release version of yosemite after being in the beta test, anyone else having any issues with this?

    Received an email from apple saying thank you for being in the beta test and they tell you to download the release version from the mac app store and install it. Done this twice and it says installed successfully after rebooting twice and doing the usual install of a new OS. However when it boots up and opens your desktop it still has the Feedback assistant installed and continuity and all the new features do not work at all. Making me assume that the final release has not installed at all. Spoke to apple on the Phone and they Don't know how to solve it. Except for doing a fresh OS Install. Which i would rather not do, but might have too. currently backing up my Mac as we spec to do it

  • [Win/CS3] Problem with tree view nodes display In Release Version of InDesign

    b [Win/CS3]
    Hi All,
    I am Facing a problem from last few days.I have a dialog on which i have a treeview ListBox.I am filling this listBox dynamically.On a Button click Event.
    My requirement is to show Some text value on the node and Index value on the back end.So When i select String1 the index1 should be Selected.
    b This Listbox is working fine ON Debug Version. But Crashing On Release Version.That seems Strange to me..........?????????
    b in DialogObserver::Update on button click event
    NodeID node = IDCGridNodeID::Create(IndexX);
    treeMgr->NodeAdded(node);
    b and in TreeviewMgr::ApplyDataToWidget
    TreeNodePtr<IDCGridNodeID> nodeID(node);
    PMString IndexNo= nodeID->GetName();
    I am going to database and retrieving string value according to that
    IndexNo.
    WCHAR Buf[200];// this contains value retrieve from database
    Then i am converting WCHAR[] to CHAR[] BY using
    size_t origsize = wcslen(Buf) + 1 ;
    const size_t newsize = 100;
    size_t convertedChars = 0;
    char nstring[newsize];
    wcstombs_s (&convertedChars, nstring, origsize, buf, _TRUNCATE);
    PMString StringToDisplay(nstring);
    //Till here its working fine
    But when i am setting this value as Node name
    style.Translate();
    setNodeName( widgetList, StringToDisplay, kIDCTVTextWidgetID );
    and function return kTrue; statement executed The application is crashing.
    With error showing
    b INdesign Encountered a problem Needs to close.
    I Am not able to find out why this is not working on Release while it is working fine on debug version..???????????????????
    Is I am missing or Made some changes For release version..????
    Thanks,

    Hi Michael,
    Thanks for your reply.
    The lines
    NodeID node = IDCGridNodeID::Create(IndexX);
    treeMgr->NodeAdded(node);
    are working fine for Both Debug N Release version.The Application Is crashing In tree view manager class as i explained.
    while it works fine without having even a single warning in debug version.
    I read the document and i find out if i want to add node in treeview i have to call
    treeMgr->NodeAdded(node);
    which will call manager
    b and in TreeviewMgr::ApplyDataToWidget
    i am getting my node name as
    TreeNodePtr<IDCGridNodeID> nodeID(node);
    PMString IndexNo= nodeID->GetName();
    I don't think that something is wrong in this but i am not sure becoz i am new in indesign development.
    for adding nodes i referred the SDK examples.I found the same code for adding.

  • Flash Builder 4.6  differences between debug version and apk release version

    I've been struggling for several days now.  I have a simple swf file that just says 'hello world' on a green background. It is written in Flash 8 actionscript 2. I've used the Flash Builder  actionscript mobile project and flex mobile project in both cases and  I can get it to download and display quite happily in the debug version on the desktop emulator and on my ASUS eee Pad Transformer Prime using a USB cable .  Thinking that all is ok I then 'export the release build'  and the result is a blank white screen on my tablet.
    I then did a simple Flex Project as per an adobe 'my first app' tutorial (hellow world!/Success!) and exported the release build with the same certificate I used before and it worked fine.
    So after all that my question is - what could be the reason that my tablet is quite able to run a debug version of my embedded swf file but not the apk release version of it?
    Any ideas?
    thanks
    Nick

    When I run the tool I dont see flash builder as an option?

  • Debug version works well, but release version does not work with simulator

    Hi,
    I use iOS 7.0.3 and Xcode 5.0.2.
    I developped one application and I tested with simulator-ipad retina. The debug version works well and release version did not work at all.
    The basic configuraton is like this:
    cocos2d: cocos2d-iphone v2.1
    cocos2d: compiled with Profiling Support: NO
    cocos2d: OS version: 7.0.3 (0x07000300)
    cocos2d: GL_VENDOR:   Apple Computer, Inc.
    cocos2d: GL_RENDERER: Apple Software Renderer
    cocos2d: GL_VERSION:  OpenGL ES 2.0 APPLE-9.2.1
    cocos2d: GL_MAX_TEXTURE_SIZE: 4096
    cocos2d: GL_MAX_TEXTURE_UNITS: 8
    cocos2d: GL_MAX_SAMPLES: 4
    cocos2d: GL supports PVRTC: YES
    cocos2d: GL supports BGRA8888 textures: YES
    cocos2d: GL supports NPOT textures: YES
    cocos2d: GL supports discard_framebuffer: YES
    cocos2d: GL supports shareable VAO: NO
    What is the reason and how to fix it?

    Well, yes...you need to upgrade to OS X Server 4.0 ($19.99)...I already did it also!

Maybe you are looking for

  • HT1535 I am trying to manually manage apps on my new iPad.

    I am trying to manually manage apps on my new iPad 3.  My daughter has over 500 apps on her iPad.  We share an iTunes login id.  Her apps are getting loaded on my iPad and are in "waiting" status.  I deleted them numerous times, but they appear as "i

  • Why is my iPad Mini freezing when I try to load data?

    My iPad Mini is freezing when I attempt to use any data at all, including, but not limited to: -Notes -Contacts -Safari (History, Back Button) -Apps (Shows loading screen with no progress, turning off and on shows a freezed screen of the completed ga

  • Email dead after 2.0.1 update... ick.

    greetings. so i've had my 3g since launch, and my comcast email was configured and working properly up until the other day, when i updated the firmware. i had my email set on manual, because the fetch and all that stuff killed my battery like crazy.

  • I have lost all my contacts. Can't restore from Gmail.

    So, I recently got an iPhone. I transferred contacts from my android phone using a CardDav. A while later I downloaded Cleandupes, an app to get rid of those pesky duplicates. It trimmed my contacts from 1600 to 600 contacts. Great! I deleted the app

  • Moving purchased music on ipad

    I purchased a song from iTunes on my iPad and want to move it to a playlist on the same iPad. Can this be done without going into iTunes?