Launch another extension from within your extension error

hello I have two extension one is a panel and one is a modaless dialog box.
I would like to lanch the modaless dialog box exention from the panel extension.
I did some reasech and I came up with the below code:
var result:SyncRequestResult =CSXSInterface.getInstance().requestOpenExtension("com.media.test","key1=" + IdModel.Edition).
if(SyncRequestResult.COMPLETE == result.status)
  trace("com.media.test extension has been successfully open");
however I get  a error :
TypeError: Error #1009: Cannot access a property or method of a null object reference.
I must be missing a step here, can anyone help?

Found the probelm, the extesnion name was incorrect

Similar Messages

  • How do you hyperlink a rollover to another page from within your iweb site?

    Ive made a bunch of rollovers for my iweb navigation bar. If youve created a rollover you know you have to link the images to a image hosting site. here as you would just normally drag and drop a image from your desk top. Because of the way iweb works, if you are using images from a image hosting sit, you can no longer adjust the characteristics of the images i.e. colors, size, and in this case the hyperlink. More specifically you cant change the hyperlink to a page within the iweb site.
    So the problem im trying to figure out is how to link the rollover to a page within my iweb site.
    now you can actually change the hyperlink of the rollover. however you must do this by adjusting the html within the snippet of the rollover. The problem i found is that iweb doesnt creat sub domains for each page. a entire iweb site with multible pages uses only one domain which is the homepage. so i cant just type a subdomain of another page into the snippet hyperlink because the subdomain doesnt exist.
    here is the link to my site. youll notice i did figure out a work around with the "contact us" button but its a huge pain in the butt. i had to create a new domain and a new site then attach the referal index.html to that new domain. todo this for every single button is very difficult.
    http://springgardenranch.tk
    so i guess the bigger question is, is there a easier way to do this?
    perhaps if there was a way to create a subdomains like springgardenranch.tk/contactus withing iweb for each page. but i dont even know if thats possible.
    thanks for you help.

    Because of the way iweb works, if you are using images from a image hosting sit, you can no longer adjust the characteristics of the images i.e. colors, size, and in this case the hyperlink.
    Then use  your own images. Then you can create them the way you want.
    Here's how I do it :
    http://cafenoir.atspace.com/Hover/
    And here's the menu in an iWeb page :
    http://cafenoir.atspace.com/HNBF/
    And here you can learn how to do it. Follow the links to the How-To pages.
    http://cafenoir.atspace.com/
    You may have to learn HTML. CSS, JavaScript, AJAX, DOM and how iweb creates its webpages.

  • Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    Just upgraded to Lion an am discovering that I cannot send email photos from within iPhoto. Error message says bad Internet connection or server not working, when that's not the case. Never happened in Snow Leopard! Help!!!

    what email service - Yahoo mail have been acting up lately
    you can try setting Mail as your email client - it resolves this pfoblem for some people
    LN

  • Is it possible to call methods from another class from within an abstract c

    Is it possible to call methods from another class from within an abstract class ?

    I found an example in teh JDK 131 JFC that may help you. I t is using swing interface and JTable
    If you can not use Swing, then you may want to do digging or try out with the idea presented here in example 3
    Notice that one should refine the abstract table model and you may want to create a method for something like
    public Object getValuesAtRow(int row) { return data[row;}
    to give the desired row and leave the method for
    getValuesAt alone for getting valued of particaular row and column.
    So Once you got the seelcted row index, idxSelctd, from your table
    you can get the row or set the row in your table model
    public TableExample3() {
    JFrame frame = new JFrame("Table");
    frame.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {System.exit(0);}});
    // Take the dummy data from SwingSet.
    final String[] names = {"First Name", "Last Name", "Favorite Color",
    "Favorite Number", "Vegetarian"};
    final Object[][] data = {
         {"Mark", "Andrews", "Red", new Integer(2), new Boolean(true)},
         {"Tom", "Ball", "Blue", new Integer(99), new Boolean(false)},
         {"Alan", "Chung", "Green", new Integer(838), new Boolean(false)},
         {"Jeff", "Dinkins", "Turquois", new Integer(8), new Boolean(true)},
         {"Amy", "Fowler", "Yellow", new Integer(3), new Boolean(false)},
         {"Brian", "Gerhold", "Green", new Integer(0), new Boolean(false)},
         {"James", "Gosling", "Pink", new Integer(21), new Boolean(false)},
         {"David", "Karlton", "Red", new Integer(1), new Boolean(false)},
         {"Dave", "Kloba", "Yellow", new Integer(14), new Boolean(false)},
         {"Peter", "Korn", "Purple", new Integer(12), new Boolean(false)},
         {"Phil", "Milne", "Purple", new Integer(3), new Boolean(false)},
         {"Dave", "Moore", "Green", new Integer(88), new Boolean(false)},
         {"Hans", "Muller", "Maroon", new Integer(5), new Boolean(false)},
         {"Rick", "Levenson", "Blue", new Integer(2), new Boolean(false)},
         {"Tim", "Prinzing", "Blue", new Integer(22), new Boolean(false)},
         {"Chester", "Rose", "Black", new Integer(0), new Boolean(false)},
         {"Ray", "Ryan", "Gray", new Integer(77), new Boolean(false)},
         {"Georges", "Saab", "Red", new Integer(4), new Boolean(false)},
         {"Willie", "Walker", "Phthalo Blue", new Integer(4), new Boolean(false)},
         {"Kathy", "Walrath", "Blue", new Integer(8), new Boolean(false)},
         {"Arnaud", "Weber", "Green", new Integer(44), new Boolean(false)}
    // Create a model of the data.
    TableModel dataModel = new AbstractTableModel() {
    // These methods always need to be implemented.
    public int getColumnCount() { return names.length; }
    public int getRowCount() { return data.length;}
    public Object getValueAt(int row, int col) {return data[row][col];}
    // The default implementations of these methods in
    // AbstractTableModel would work, but we can refine them.
    public String getColumnName(int column) {return names[column];}
    public Class getColumnClass(int col) {return getValueAt(0,col).getClass();}
    public boolean isCellEditable(int row, int col) {return (col==4);}
    public void setValueAt(Object aValue, int row, int column) {
    data[row][column] = aValue;
    };

  • I am trying to apply for a job on line and I am receiving this message t has been determined that you are currently running a "Popup Blocker". In order to continue, please allow this site from within your "Popup Blocker" preferences. How do I fix this?

    Hello,
    I am trying to apply for a job on line and I am receiving the following message "
    t has been determined that you are currently running a "Popup Blocker". In order to continue, please allow this site from within your "Popup Blocker" preferences
    How do I correct this??
    Thanks!

    Open Safari preferences, click on the Security icon in the toolbar, uncheck the pop-up blocker option.

  • Launching an installer from within Air on MAC

    Hi,
    We have an AIR application and from within it we want to download a dmg, mount it and then launch the installer. Is this possible?
    Thanks Claire

    You will need to use the native installer to run your app in extended desktop mode.  Normal AIR apps don't allow you to launch another process.

  • Installing another distro from within archlinux

    I want to install another linux distro an a second hd. Is it possible to do this from within archlinux? I can't use my dvd writer because it broke down.

    learn how to use a chroot, this is easy to do then. archwiki has a great couple of articles on chroot.
    what you essentially need to do is partition the second drive in whatever fashion you like. then use mkfs to create filesystems on the partitions. then edit fstab to include the mountpoints. then comes the toughest part. depending on the distro you want to install, you need to grab the base packages for the system and install them with ./configure, make, make install. be sure to use the proper root/install dir(i.e. not the hdd arch is on). after the base packages + package manager are installed, try to use chroot to essentially change from arch into the newly installed system, and give the package manager a try from in there. should work fine. you won't have any of the stuff preconfigured yet, but as soon as you configure the conf file for the package manager to include the proper repos, you will run the update/upgrade and install various things which will come in that distro's preconfigured flavours. then edit your menu.lst/grub.cfg (grub-legacy/grub2) to include the new distro and reboot!
    maybe i missed a step or two here and there, but afaik that's really all you need to do.
    if you want to just use an iso, that's another story.

  • Calling another cache from within AbstractProcessor.process fails, why?

    I want to enrich a certain data object in a distributed cache via the EntryProcessor framework. The new data is looked up from another nearby cache.
    However, when calling otherCache.get(id) Coherence throws an exception saying that it does not allow blocking calls from within a processor:
    *[java] Caused by: com.tangosol.util.AssertionException: poll() is a blocking call and cannot be called on the Service thread...*
    Is this fixable? What am I missing? Does anyone recommend alternative ways to read data from other caches inside AbstractProcessor?
    Thanks in advance,
    -Stefan
    This is the calling code that executes in the node where the primary object is:
    public class ExternalPropertiesUpdateProcessor extends AbstractProcessor implements PortableObject {
    @Override
    public Object process(InvocableMap.Entry entry) {
    Session session = null;
    if (entry.isPresent()) {
    session = (Session) entry.getValue();
    NamedCache cidCache = CacheFactory.getCache("cidCache");
    Long oldCid = new Long(97);
    CidConversion cidCon = (CidConversion) cidCache.get(oldCid); // * it fails here with above exception!
    session.setCid(cidCon.getNewCid());
    session.setState(Session.SESSION_CLOSED);
    entry.setValue(session); // make session changes durable in cache
    return session;
    Edited by: [email protected] on Dec 10, 2009 9:35 AM

    Ben Stopford wrote:
    Hi Rob
    You mention:
    If you call back to the same cache service via an invocation service, you still risk a deadlock or a livelock due to thread-pool depletion. It looks like it is working, then you may run into the problem. It is not 100% safe.which sparked my interest. Would you mind elaborating a little further. I'd always assumed that the threadpools for separate services were independent and thus there was no chance of deadlock from cross-service calls such as this.
    Thanks in advance
    BenHi Ben,
    as I mentioned, it can cause a problem if you indirectly call back to a service which was on the call stack.
    Let's see an example:
    You send an entry processor to a cache in service A, which synchronously (with the query() method) calls to Invocation service I in which the invocable agent sends an entry-processor to service A (again) targeted to an entry on the same node.
    Let's for the sake of the simplicity of the example suppose service A has a thread pool of size 2.
    You send two such entry-processors on entries residing in the same node.
    We now have a possible deadlock. If both entry-processors entered the first process() method (doesn't matter what entry as long as they are on the same node), they can both proceed into the invocation service call, but from that none of them can proceed further to the inner invoke() call, because there are no more free threads in service A!!! Poof, deadlock, both threads will wait until a thread becomes available... and none will become available because none of the service calls can proceed.
    Of course, starting with 3.5 the Guardian will kill one of the threads (at least), and in earlier version it will also time out, but the point is that they will not be able to complete in this scenario.
    Best regards,
    Robert

  • In Captivate 7, how can I call another action from within an action?

    I have a conditional action called FakeSuccessRewind. Now I need to call another function called ShowGrayBalloons02 from within its Else statement, but I couldn't find something like "Execute Advanced Action." Can anybody share some tips here? Thanks!
    Below are screenshots of my two actions:
    1) FakeSuccessRewind (if/else). Here I need to call the 2nd action from the Else statement, underneath the statement Go to the next slide.
    2) ShowGrayBalloons02. Note this function has five seperate runs when the variable is decrementing from 5-1.
    Thanks a lot!
    Melissa

    You can't, you need to add the other action into the first one.

  • Launching/executing files from within AIR

    Hi.
    Just wanted to know if I can launch files from within my AIR
    app...for instance I would like the user to click a button which
    then opens a Microsoft Word doc...the Word doc doesn't have to open
    in the AIR app, it can open on the desktop (Windows XP).
    Thanks for the help.

    Mike provided a good proof here:
    http://www.mikechambers.com/blog/2008/01/17/commandproxy-net-air-integration-proof-of-conc ept/
    HTH

  • WebLogic Server 7.0: Including another JSP from within a custom tag

    Hi all,
              has anyone made experience with including (ie. processing) a dynamic
              resource (JSP) from within a custom JSP tag?
              Using the following code inside doEndTag():
              pageContext.include("/templates/blub.jsp");
              throws a ServletException (Note: the JSP is a part of the web app
              which is deployed as war). Does it make a difference if the web
              application is warred up into and therefore include cannot resolve the
              specified relative URL?
              [Tomcat 4.1.10 doesn't have problems for that matter]
              The full stack trace is:
              javax.servlet.ServletException: java.lang.NullPointerException
              at com.foo.taglibs.template.InsertTag.doEndTag(InsertTag.java:55)
              at jsp_servlet._models.__index._jspService(__index.java:774)
              at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
              at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
              at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
              at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
              at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
              at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              TIA,
              niko.
              

    Try the same code from an exploded web app.
              Niko Schmuck wrote:
              > Hi all,
              >
              > has anyone made experience with including (ie. processing) a dynamic
              > resource (JSP) from within a custom JSP tag?
              >
              > Using the following code inside doEndTag():
              >
              > pageContext.include("/templates/blub.jsp");
              >
              > throws a ServletException (Note: the JSP is a part of the web app
              > which is deployed as war). Does it make a difference if the web
              > application is warred up into and therefore include cannot resolve the
              > specified relative URL?
              > [Tomcat 4.1.10 doesn't have problems for that matter]
              >
              > The full stack trace is:
              >
              > javax.servlet.ServletException: java.lang.NullPointerException
              > at com.foo.taglibs.template.InsertTag.doEndTag(InsertTag.java:55)
              > at jsp_servlet._models.__index._jspService(__index.java:774)
              > at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
              > at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:945)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:332)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:376)
              > at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:242)
              > at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:5360)
              > at weblogic.security.service.SecurityServiceManager.runAs(SecurityServiceManager.java:721)
              > at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3043)
              > at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2468)
              > at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:152)
              > at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:133)
              >
              > TIA,
              > niko.
              Rajesh Mirchandani
              Developer Relations Engineer
              BEA Support
              

  • Can you Launch External Applications From Within InDesign Ebook?

    Hi all,
    I was wondering if it is possible to open an external application from within an ebook (created with InDesign) e.g. click on a link and have an external ssh client open up for instance?
    Thanks in advance for any advice.
    Regards,
    RG

    It's possible to include hyperlinks in an InDesign file and export them in an EPUB file. Since I'm not familiar with working with SSH clients (in fact, I just had to Google it to have a clue what you're talking about), is this something that can be invoked in a standard URL format? If so, you could probably include it.
    The next issue is whether the link would work. The link couldn't be used directly in any eBook reader I know of, but at least the iBook on an iPad or iPhone would switch to to Safari to let you follow a URL to its destination. But I don't think that's possible on most eBooks.

  • Launching App Store from within code

    Hi, does anyone know if the app store has a url link so I can open the App Store on the iPhone from within my code (for upgrading etc), to be used withe the openURL: method?

    yes this works fine. This URL brings me to the Featured page of the App Store.
    http://phobos.apple.com/WebObjects/MZStore.woa/wa/viewGenre?id=36&mt=8
    Now I need to figure out if I can get to the Update tab in the App Store, which I really wanted so that I can get the user to jump there immediately if my app needs updating.

  • Launching another prog from java prog

    Hi!
    I'm striving to format floppy disk from a java prog.
    format, like many other commands/applications, sends some messages back to the terminal and waits for user input. I need to handle communication with such programs.
    So far it doesn't go smooth - please look at the code below, there must be number of bugs:private static void execute(String command) // command="cmd.exe /c format A:"; (Win2k)
         try {
         String outp_line;
            Process process = Runtime.getRuntime().exec(command);
         // put process input in BufferedReader
         BufferedReader normalBR =
              new BufferedReader(new InputStreamReader(process.getInputStream()));
         // "format A:" on win2k sends to console 2 lines:
         // 1. Insert disk in drive A:
         // 2. and press ENTER
         // but I see only one(first) line. Why?
         while ((outp_line = normalBR.readLine()) != null)
                        System.out.println(outp_line);
         // assign an output stream to the process
         BufferedOutputStream bos = new BufferedOutputStream(process.getOutputStream());
         // assign input from user to BufferedInputStream
         byte[] bytes = new byte[12];
         BufferedInputStream bis = new BufferedInputStream(System.in, 12);
         // read user's input
         bis.read(bytes);
         // write user's input to the process
         bos.write(bytes);
         }catch(IOException ioex){ioex.printStackTrace();}

    Don't know about the first thing, but I saw this in the API:
    "The Runtime.exec methods may not work well for special processes on certain native platforms, such as native windowing processes, daemon processes, Win16/DOS processes on Microsoft Windows, or shell scripts. The created subprocess does not have its own terminal or console. All its standard io (i.e. stdin, stdout, stderr) operations will be redirected to the parent process through three streams (Process.getOutputStream(), Process.getInputStream(), Process.getErrorStream()). The parent process uses these streams to feed input to and get output from the subprocess. Because some native platforms only provide limited buffer size for standard input and output streams, failure to promptly write the input stream or read the output stream of the subprocess may cause the subprocess to block, and even deadlock."
    I'd suggest googling for a workaround.
    Re: the second item, I think another thread makes sense. Perhaps a thread that reads all the error output and stores it in a buffer, which could then be queried.

  • Launch another app from Siena app

    As it's not possible to launch a map in Siena, I'm hoping that I can pass an address out of Siena to the native Maps app in Windows 8. Is that possible? I can't find any documentation on how to open other apps from my app.

    Nice,
    Now we can launch browser, Skype, bing maps
    Sidenote: You need then to be sure that the user has the map app (or Skype) installed and all associations are correct. So at least best to write it in the prerequisites when moving to the app store.
    If you just want to add maps, you can also insert them directly in the app as static maps. I've explained that in
    http://social.technet.microsoft.com/Forums/en-US/45b2ffe3-4d57-4b4c-94a4-75d299a03e62/how-to-add-a-bing-map-with-pins-to-a-siena-project?forum=projectsiena
    The interactive nature is not present of course
    Or you could use the static google map api
    https://developers.google.com/maps/documentation/imageapis/
    Regards
    StonyArc
    http://www.stonyarc.com http://www.xboxlivenation.com

Maybe you are looking for

  • Can I Restore Firefox After Hard Drive Failure?

    Hi, My Laptop Hard drive failed but i was able to save all data to an external one and put it back onto the new hard drive. I will have to install Firefox on the laptop again, But I just want to know could i restore Firefox (Like the Bookmarks, Brows

  • Regarding vendor creation

    While creating new vendor in xk01 IDES. it is going to dump. and i even 1000 company code i am creating. still its going to dump. and it is givining below message: When exporting the structure description, the structure components overlapped. The err

  • Can I turn off screen rotation?

    I would like to know if I can turn off screen rotation espicially in music. Thanks, Dave

  • It seems that every time I update Firefox, Firefox sync starts getting errors every time it tries to sync.

    I have an hTC Mecha (Thunderbolt) running Firefox for Android, two partitions on one laptop both using Firefox as well as a desktop with two partitions both of which also use Firefox. I'm not sure how I fixed it / what fixed this issue last time, but

  • Nested Dependent Dropdowns in Acrobat

    Firstly I am an exceptionally new user of JavaScript. My knowledge has been entirely gleaned by using examples of code which others have provided and I only started a few days ago. I'm trying to create a form that helps University researchers select