Using StreamConnection with MMAPI emulator

Hi,
I am using StreamConnection class to establish a socket connection with my server. If I run the application on PalmOS PDA it works fine. But when I run it in the mobile media emulator it does not connect to the server.
Does anyone know why?
These are the things I tried:
1. I tried using HttpConnection instead of StreamConnection and the application is able to connect to the server on the mmapi emulator but unable to retrieve data (as I wrote teh program keeping StreamConnection in mind....this probably can be fixed, but I wanted to make it work with the StreamConnection class using sockets so that I dont have to change my programs.)
2. I checked to see if the StreamConnection class files are present in the api zip file and I found all io classes in this zip file emptymmapi.zip
I really dont know why it wouldn't connect using StreamConnection....
Any answers would be really appreciated....

The StreamConnection undoubtedly exists but sockets might not be supported.
MIDP doesn't require sockets to be implemented so maybe opening a socket connection (socket://url:port) is impossible. Aren't you getting some "Connection scheme not supported" type exception when trying to create the StreamConnection?

Similar Messages

  • Prefetch Error with MMAPI

    hai Guys,,im so sorry if this thread already post..<but i dont find it here until 2x or more page>
    did anyone know this ? I got an error ( prefetch error: -5 or prefetch error: -2 ) when trying to run the code to play video format 3gpp with MMAPI. i send 7KB 3gpp file video format by chunks of 1KB and send each chunk to the midlet 7 times.
    the midlet will collect that chunck 7 times again,so it will become 7KB (byte array). then, it will create a new player, realize and prefetch it, but it become exception of prefetch error: -5 means that the operation is not supported.
    but it work when i try to play file video 3gpp that store in local :
    InputStream obInputStream = getClass().getResou rceAsStream("Video.3gp" );
    i use nokia emulator S60 FP2 3rd edition. is there no way to create a player just with a chunk of data?
    this is the code :
    public void play() {
            try {
                ByteArrayInputStream obByteArrayInputStream = new ByteArrayInputStream(obUDPconn.bFilePlay);
                InputStream obInputStream = obByteArrayInputStream ;
                obPlayer = Manager.createPlayer(obInputStream,"video/3gpp");
                obPlayer.addPlayerListener(this);
                if(obPlayer.getState() == obPlayer.UNREALIZED) obPlayer.realize();
                // get the video control and attach it to our form
                obVideoControl = (VideoControl)(obPlayer.getControl("VideoControl"));
                if(obVideoControl == null) {
                    obMainMidlet.informasiError("Video Control tidak support");
                }else{
                    obVideoItem = (Item) obVideoControl.initDisplayMode(VideoControl.USE_GUI_PRIMITIVE, null);
                    if(obPlayer.getState() == obPlayer.REALIZED) obPlayer.prefetch();
                    set(0, obVideoItem);
                    if(obPlayer.getState() == obPlayer.PREFETCHED) obPlayer.start();
                }//End Else
            } catch (IOException e) {
                obMainMidlet.informationError("IOException : " +e.getMessage());
            } catch (MediaException me) {
                obMainMidlet.informationError("MediaException : " +me.getMessage());
            } catch (SecurityException se) {
                obMainMidlet.informationError("SecurityException : " +se.getMessage());
        }Thank you and very best regards for your help..

    Hi @W6YUM , and welcome to the HP Forums!
    I see you are getting an error, but everything seems to work.  I would like to try and assist.
    Before we start, what error are you getting?
    Are you connected wirelessly, or USB? 
    Is the on the printer or computer?
    Please let me know. Thanks for posting on the HP Forums!
    Please click “Accept as Solution " if you feel my post solved your issue, it will help others find the solution.
    Click the “Kudos, Thumbs Up" on the right to say “Thanks" for helping!
    Jamieson
    I work on behalf of HP
    "Remember, I'm pulling for you, we're all in this together!" - Red Green.

  • One or more ports used by the Compute Emulator are currently used by other processes

    Environment:
    VS 2012 Professional
    Azure SDK October 2012
    Windows 8
    I lost the last few days of my life struggling with a weird issue in the emulator. I just ran out of options and I would really appreciate if someone could help me figure out what's wrong.
    I am trying to debug a service package from Visual Studio 2012. It's really just about any package -- even the ones generated from a Windows Azure Cloud Service VS template. Any. The VS debugger starts, and in parallel there's "Starting the Windows Azure Debugging
    Environment" dialog which shows "Deploying service package to the Windows Azure compute emulator..." message.
    The progress bar shown in the dialog gets stuck for a long time (possibly even for an hour or longer!) at some 60% and then the following error message is shown:
    "One or more ports used by the Compute Emulator are currently used by other processes. To resolve this, please see MSDN documentation at http://msdn.microsoft.com/en-us/library/hh472164.aspx"
    There doesn't seem to be anything else listening on the ports mentioned on the above MSDN page. I did nevertheless try to re-map devfabric and agent ports by specifying different values in the .config files mentioned on the page, but that did not help.
    What I also tried and did not help:
    - reinstalled SDK, IIS Express, Local DB
    - reinstalled VS 2012 (yes, I got that desperate)
    - tried using IIS instead
    - used SysInternals TcpView to check if there are any conflicts
    - rebooted the machine: the deployment works initially (*once*), and the subsequent deployments fail (!)
    - tried to kill all Azure-related processes in memory and restart debugging
    - tried looking into log files under the user directory (dftmp\...); no errors in *any* log
    - tried looking into Event Viewer logs (Azure-related and in general); no errors either
    Since the conflict seems to be related to my current network settings, below is my IP
    configuration. I am behind a router and I have DHCP activated, but again that should not matter since none of that has changed in the last few years (and the emulator did work until few days ago).
    C:\WINDOWS\system32>ipconfig /all
    Windows IP Configuration
       Host Name . . . . . . . . . . . . : MYCOMPUTER
       Primary Dns Suffix  . . . . . . . :
       Node Type . . . . . . . . . . . . : Hybrid
       IP Routing Enabled. . . . . . . . : No
       WINS Proxy Enabled. . . . . . . . : No
    Ethernet adapter Ethernet:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Marvell Yukon 88E8056 PCI-E Gigabit Ethernet Controller
       Physical Address. . . . . . . . . : 32-AB-30-66-BC-56
       DHCP Enabled. . . . . . . . . . . : Yes
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2a01:e35:8a3a:9970:edd9:b989:b67a:5a8a(Preferred)
       Temporary IPv6 Address. . . . . . : 2a01:e35:8a3a:9970:dc7a:4fe6:62a5:e54a(Preferred)
       Link-local IPv6 Address . . . . . : fe80::edd9:b989:b67a:5a8a%12(Preferred)
       IPv4 Address. . . . . . . . . . . : 192.168.0.1(Preferred)
       Subnet Mask . . . . . . . . . . . : 255.255.255.0
       Lease Obtained. . . . . . . . . . : Sunday, December 16, 2012 21:26:30 PM
       Lease Expires . . . . . . . . . . : Tuesday, December 18, 2012 09:26:14 AM
       Default Gateway . . . . . . . . . : fe80::224:d4ff:fea2:9722%12
                                           192.168.0.254
       DHCP Server . . . . . . . . . . . : 192.168.0.254
       DHCPv6 IAID . . . . . . . . . . . : 253808432
       DHCPv6 Client DUID. . . . . . . . : 00-01-00-01-18-1B-EE-4D-20-CF-30-66-BC-46
       DNS Servers . . . . . . . . . . . : 192.168.0.254
       NetBIOS over Tcpip. . . . . . . . : Enabled
    Tunnel adapter isatap.{7A96B710-3107-48B9-A7B2-2F261DDD91AD}:
       Media State . . . . . . . . . . . : Media disconnected
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Microsoft ISATAP Adapter
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
    Tunnel adapter Local Area Connection* 11:
       Connection-specific DNS Suffix  . :
       Description . . . . . . . . . . . : Teredo Tunneling Pseudo-Interface
       Physical Address. . . . . . . . . : 00-00-00-00-00-00-00-E0
       DHCP Enabled. . . . . . . . . . . : No
       Autoconfiguration Enabled . . . . : Yes
       IPv6 Address. . . . . . . . . . . : 2001:0:5ef5:79fb:1caf:12ff:a75c:5668(Preferred)
       Link-local IPv6 Address . . . . . : fe80::1caf:12ff:a75c:5668%14(Preferred)
       Default Gateway . . . . . . . . . :
       NetBIOS over Tcpip. . . . . . . . : Disabled
    Below are the Azure SDK emulator configuration files, unmodified (as created by the SDK installation).
    DevFC.exe.config
    <configuration>
        <configSections>
            <section name="DevFCSettings"        type="System.Configuration.NameValueSectionHandler" />
        </configSections>
        <!-- The following are options related to the SimulatorSetup -->
        <DevFCSettings>
            <add key="StartMACAddress" value="00155D201928" />
            <add key="EndMACAddress" value="155D20193C" />
            <add key="StartIPAddress" value="192.168.0.20" />
            <add key="EndIPAddress" value="192.168.0.40" />
            <add key="DipPoolStartIPAddress" value="127.255.0.0" />
            <add key="DipPoolEndIPAddress" value="127.255.255.255" />
            <add key="VipPoolStartIPAddress" value="127.0.0.1" />
            <add key="VipPoolEndIPAddress" value="127.0.0.255" />
            <add key="DefaultGateway" value="192.168.0.1" />
            <add key="SubnetMask" value="255.255.255.0" />
            <add key="InternalSwitchName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricSwitch" />
            <add key="InternalSwitchPortName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricHostSwitchPort" />
            <add key="InternalEthernetNICName" value="{F3C577E3-8256-4bb9-8F54-256F84E227DE}-DevFabricEthernetNIC" />
            <add key="InternalEthernetPortMACAddress" value="00155D201927" />
            <add key="InternalEthernetPortIPAddress" value="192.168.0.2" />
            <add key="InternalEthernetPortSubnetMask" value="255.255.255.0" />
            <add key="StorageRoot" value="DFTemp" />
            <add key="LogsDirName" value="DevFCLogs" />
            <add key="DynamicPortAllocStart" value="20000" />
            <add key="ManagementServicePort" value="15095" />
            <add key="RepositoryServicePort" value="15096" />
            <add key="AgentCallbackPort" value="15097" />
            <add key="AgentPort" value="15098" />
            <add key="PxeResponderPort" value="15100" />
        </DevFCSettings>
        <startup>
            <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
        </startup>
    </configuration>
    DFAgent.exe.config
    <configuration>
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
      <appSettings>
        <add key="AgentMAC" value="00155D201927"/>
        <add key="AgentIP" value="192.168.0.2"/>
        <add key="EnableActiveNotification" value="false"/>
        <add key="StorageRoot" value="C:\DFTemp"/>
        <add key="CopyFilesInStartRole" value="false"/>
        <add key="LogsDirName" value="DFAgentLogs" />
        <add key="EnableFileLog" value="true" />
        <add key="AgentPort" value="15098" />
        <add key="RuntimePort" value="15099" />
        <add key="AgentCallbackPort" value="15097" />
      </appSettings>
    </configuration>
    DFService.exe.config
    <configuration>
      <configSections>
        <section
          name="dfservice"
          allowExeDefinition="MachineToLocalUser"
          type="Microsoft.ServiceHosting.Tools.DevelopmentFabric.DfServiceConfigurationSection, DfService, Version=1.8.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"
        />
      </configSections>
      <dfservice
        ManagementServicePort="15095"
        RepositoryServicePort="15096"
       />
      <startup>
        <supportedRuntime version="v4.0" sku=".NETFramework,Version=v4.0"/>
      </startup>
    </configuration>
    Finally, here's what TcpView shows while the emulator is stuck:
    devenv.exe    3736    TCP      MYCOMPUTER    7240    localhost    15095    SYN_SENT
    devenv.exe    3736    TCP      MYCOMPUTER    7245    localhost    15095    SYN_SENT
    svchost.exe   4332    TCP      MYCOMPUTER    7438    MYCOMPUTER    0    LISTENING
    System        4        TCP      MYCOMPUTER    10000    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10001    MYCOMPUTER    0    LISTENING       
    System        4        TCP      MYCOMPUTER    10002    MYCOMPUTER    0    LISTENING       
    DevFC.exe      4380    TCP      MYCOMPUTER    15095    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15096    MYCOMPUTER    0    LISTENING              
    DevFC.exe      4380    TCP      MYCOMPUTER    15097    MYCOMPUTER    0    LISTENING              
    DFAgent.exe    14472    TCP      MYCOMPUTER    15098    MYCOMPUTER    0    LISTENING
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    0    LISTENING              
    DFAgent.exe    14472    TCPV6    mycomputer    15098    mycomputer    6399    ESTABLISHED         
    System        4        TCP      MYCOMPUTER    15099    MYCOMPUTER    0    LISTENING       
    System        4        TCPV6    mycomputer    15099    mycomputer    0    LISTENING            
    DevFC.exe      4380    TCP      MYCOMPUTER    15100    MYCOMPUTER    0    LISTENING
    Thanks in advance for help!



    Hi,
    Unfortunately I already tried all kinds of re-installs (the full list is in my original message). The only one remaining is the reinstall of Windows 8 itself, which I would really like to avoid.
    What I find really strange is the time it takes for the above error message to appear. It's like one hour or even more (never measured exactly, I left the computer running).
    What kind of a timeout is that? I would expect that, if ports are really used by some other application, I get the message in less than a minute (seconds, actually). To me this looks like the emulator itself for some reason believes there's a problem with
    some port while in reality there isn't.
    I'll eventually contact Microsoft Support, thanks for the suggestion.

  • Can you use ResourceBundle with resrouce that are grouped within folders?

    Hi I'm trying to internationalize my program by using the java ResrouceBundle.
    Is there a way to use it with resources that have been grouped into folders?
    For example, instead of using locale to specify the resource name as MessageBundle_en_US.properties, I would like to specify the locale name as the resource folder name like this:
    resources_en_US/MessageBundle.properties
    or resources_fr_FR/MessageBundle.properties etc.
    Is there something already available for this in the API that i'm not aware of or, if possible, is there a way to overwrite the ResrouceBundle package to handle this?

    Hi Simon,
    Yes, I understand people would expect it to work on the emulator too, but the point of Scout is really to provide you information about the real performance (on the device and in production) to be really accurate and reflect the reality.
    Having it work with the emulator would always be an approximation, which could still maybe be valuable, but we thought we would focus on production code.
    But thanks for bringing this up, it is valuable feedback about your experience.
    Thibault Imbert
    Sr. Product Manager | Adobe Scout

  • Can Anyone Tell me whats going on with the emulator??

    Hello I am getting an error with the emulation. I feel it its pretty pointless having it if i can not use it live. Any one out there come acroos this issue and if so how do I fix it?
    Cheers..... The emulation of samsungtest has completed successfully. Your app binary is located at c:/etc etc etcyet the emulator is not running on my desktop? Strange. I do get a pre load error and it tells me go to the bulldog. My desktop emulator on the taskbar is a blank file icon and before it loads i get a pre load error?
    Would appreciate some feed back on this if possible.
    Thanks in advance.

    it would not be install of Adobe that would cause this, however a changed printer driver may. Has the printer driver changed? Do you see any difference on the rpeort if you set the option "No Printer? (File menu, select Page setup).
    When you say the report is now 21 pages, do you mean it has more data? Or has the format changed such that it is 21 pages long. The latter would again point to printer driver...

  • HT202667 Hi - My daughter was using her Apple TV until recently when she got a Smart TV.  Now the Apple TV is not needed so she passed it on to me.  How do I get it transferred over from her Home Sharing account to mine so that I can use it with my PC?

    Hi - My daughter was using her Apple TV until recently when she got a Smart TV.  Now the Apple TV is not needed so she passed it on to me.  How do I get her Home Sharing account transferred over to mine so that I can use it with my PC? Thanks!

    As  Winston Churchill wrote, however you might want to do a factory reset on the Apple TV.
    This way all information pertaining to your daughter will be removed from the device. Specifically if see was sign into any of the streaming service, Netflix, Hulu, etc. her credentials will still be associated with this Apple TV, doing  a factory reset will remove all that and make it as if you purchased the device and just plugged it in.
    regards

  • OPEN CURSOR using a WITH clause in the select query

    Hi,
    I am using Oracle 9i. I have a requirement where I have a REFCURSOR as an OUT parameter for my procedure. I have declared the TYPE and created the procedure.
    In the procedure, I am using OPEN <cursor_name> FOR <query>;
    Ideally this works in most of the cases that I have tried earlier. However, in the current case I am using a WITH clause in my query to get the results.
    I need help in understanding if the above mentioned syntax would not allow me to use the WITH clause in the query.

    What error do you get , seems to work ok for me on 10g
    SQL> begin
      2  open :cv for 'with x as (select * from emp)  select * from x';
      3  end;
      4  /
    PL/SQL procedure successfully completed.
    SQL> print :cv
         EMPNO
    ENAME
    JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7521
    WARD
    SALESMAN        7698 22-FEB-81       1250        500         30
          7566
    JONES
    MANAGER         7839 02-APR-81       2975                    20
         EMPNO

  • My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    My iPhone 4 will not sync my new voice memos from the "Voice Memos" app to my computer. This is frustrating, should not be so hard, can someone please help. I use PC with windows 7 with iPhone version 6.1.3 and iTunes most recent. Thanks.

    In the Music tab of iTunes, do you have 'Include Voice Memos' checked?

  • I ordered my Macbook Air with Aperture two years ago. I now have an iMac - can I use that with Aperture in any way?

    I ordered my Macbook Air with Aperture two years ago. I now have an iMac - can I use that with Aperture in any way? I appreciate that it is a different computer but I am now the end user of both devices and I was just wondering if it was possible.
    Thanks,
    Sean

    The answer would be in your software license agreement for Aperture. However if you cannot locate it you can ask in the Aperture forum, the link for that is:
    https://discussions.apple.com/community/professional_applications/aperture
    However I believe you can have Aperture installed on two machines however only one may be using it at a time.
    On the new iMac launch the Mac App Store - Purchased - look for Aperture and download to your new machine.

  • How do I use LDAP with iMQ 2.0?

    I am looking for an example to see how to use LDAP with iMQ 2.0.
    I was able to set up the config settings to access a local LDAP,
    but iMQ authentication still rejects valid logins.
    Let me know if I can find more info someplace.

    You can also find an example I put togther in the Sun One knowledge base.
    If you go here:
    http://knowledgebase.iplanet.com/NASApp/ikb/index.jsp
    Search for article 7772
    Alternatively here is the direct link
    http://knowledgebase.iplanet.com/ikb/kb/articles/7772.html

  • How do you use Struts with Jboss Portal

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

    I am trying to use strust with jboss portal but I am getting the following error:
    An error occured while rendering window 'default.MyPortlet2.myportlet2Window'
    org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71 68: List searchresult = (List) request.getAttribute("searchresult"); 69: %> 70: Stacktrace:
    I am getting this is in the log file
    Caused by: org.apache.jasper.JasperException: Exception in JSP: /WEB-INF/jsp/SearchResultPage.jsp:71
    68: List searchresult = (List) request.getAttribute("searchresult");
    69: %>
    70: <%
    71: for (Iterator itr=searchresult.iterator(); itr.hasNext(); )
    72: {
    73: testPackage.net.dao.hibernate.WorkList workList = (testPackage.net.dao.hibernate.WorkList)itr.next();
    74: %>
    Stacktrace:
    at org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.execute(PortletRequestDispatcherImpl.ja
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at org.jboss.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
    at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
    at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
    at org.jboss.portal.portlet.impl.jsr168.PortletRequestDispatcherImpl.include(PortletRequestDispatcherImpl.ja
    ... 238 more
    Caused by: java.lang.NullPointerException
    at org.apache.jsp.WEB_002dINF.jsp.SearchResultPage_jsp._jspService(SearchResultPage_jsp.java:152)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:332)
    ... 255 more

  • How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?

    How do I use my apple bluetooth keyboard with touch and will I still be able to use it with my ipad?

    iPod touch User Guide (For iOS 4.3 Software)

  • How do I use user_datastore with a feeder proc to add an mdata section?

    Hi,
    I have text data spread across a number of different tables. I have created a user_datastore with a feeder procedure that creates an xml document which is then indexed into a dummy column on the parent table. This works fine. However I need to add an mdata section to the index, via my xml document. I haven't seen any examples of this being done in conjunction with the ctxsys.auto_section_group option of the create index statement, and am wondering if it is possible?
    Could somebody furnish me an example of how I achieve this.
    Oracle 11.2.
    Thanks
    Ralph

    You can't use MDATA with AUTO_SECTION_GROUP. AUTO means it automatically assigns zone sections for every tag it finds - if you want anything other than zone sections you must use BASIC_SECTION_GROUP, XML_SECTION_GROUP or HTML_SECTION_GROUP and manually define your sections.

  • I have a used Iphone with someone elses email on it for itunes, how do i remove it and put my account there

    I have a used Iphone with someone elses email on it for itunes, how do i remove it and put my account there
    It is an Iphone 4

    If you go to settings- store - click on the ID and sign out. Then you can put in your apple id.

  • Using Excel with Visual C++ 6.0 (need a graph control that behaves as much like the one in CVI as possible)

    I hate to beat this to death but I was unable to find a
    clear answer to this question.  Does NI provide Excel control from within
    Visual C++ 6.0? 
    I read that NI supports the ANSI-C library only for Visual C++ 6.0 users:
    Thread : "Re: Benifits of using measurment
    studio for VC++ 6.0?"
    NI REP : drohacek
    Quote  : "we made the decision to support Visual
    C++ 6.0 users only through the ANSI-C interface and not through the Measurement
    Studio MFC-based class libraries."
    If there is a suggested way of controlling Excel from within Measurement Studio
    for Visual C++ 6.0 then I’d love to know it. 
    If not, can a plain statement be made basically stating that if you want
    to control Excel you can’t use a Visual C++ 6.0 environment even with Measurement
    Studio support?
    With .NET of course you can just decide to have Excel support added during
    project creation.  CVI can act as an ActiveX server and easily control
    Excel just by building off the examples shipped with CVI.  I see that
    there is support, using the Measurement Studio for Visual C++ 6.0 Project Wizard,
    for taking existing CVI projects and converting them to Visual C++ 6.0 projects
    or for calling CVI libraries from a .dll from within Visual C++ 6.0.  I suppose I could do the work
    in CVI and then convert the project but I'm so deeply tied into all my MFC calls that I don't see
    how I can cleanly include the CVI libraries into my existing VC++ 6.0 projects.
    What I'm really after here is a visual graph control like the one in CVI that I
    can use from Visual C++ 6.0.  I purchased a 3rd party graph control for use
    in VC++ 6.0 that works well but isn't really visual.  I mean you can't
    enter any values in it until you run the program and fill it out programmatically. 
    Then you can see which columns are two narrow, quit the program, adjust the
    column width of your now empty control, and repeat, until you get the thing
    looking the way you want.  If I could call into Excel from within Visual
    C++ 6.0  the way I do from within .NET
    then I could use Excel to hold the table and just read in the values into my table
    control at run time.  Basically I'd use Excel as a visual development tool
    for all my tables.
    I do all my coding from within CVI and Measurement Studio for Visual C++
    6.0.  I'd use CVI for everything if I didn't depend so heavily on certain
    outside controlled C++ .dll's.  Could you please suggest then what I can
    do to get Excel support for Visual C++ 6.0?
    Last question :
    Is there any plan to ever have a NI table control like the CVI table control for
    use in Visual Studio?  One that you can
    completely set up before you do any compiling? 
    I imagine that the way Microsoft sets up their environment makes this idea impossible.  Otherwise someone would
    have come up with a truly “visual” table control before now.
    Thanks,
    Grant
    Grant M. Johnson
    Project Engineer
    LECO Corporation

    Hello Grant
    You can most certainly use Excel with VC++ 6.0. Measurement Studio won't provided you with any classes to talk to Excel in VC++ 6.0. This is because Excel allows control via Automation and you can use its automation API to do anything you need with Excel. This is what CVI uses as well.
    You can see this MSDN article on how to set this up. This mentions VC.NET, but it should work the same way.
    Here is one that talks about VC 6.0 and Excel.
    Here is a code project article about this.
    Even with .NET, you have to do thru the Excel Automation support. Excel started shipping with Primary Interop Assemblies (PIA) which are .NET wrappers about the Excel Automation object model. C++ Automation is definetely not as nice as .NET, BTW
    See this document for more information about the Excel object model.
    I would not recommend using the CVI Excel libraries if all you want to use them for is Excel automation. You will end up creating un-necessary dependencies and go through extra layers that way. You can make calls straight to Excel from VC++ without requiring CVI.
    One quick observation about your excel approach. If you decide to use Excel as your table, you might be requiring everyone who uses your application to have Excel installed on their machines. Just wanted to make sure this was acceptable to you.
    Have you looked at the Datagrid Activex control, which is one of the common controls that ships with Visual Studio? You can add it to Visual Studio by right-clicking and picking it from the list of installed activex control. If you have not already, you should check it out.
    Microsoft has made significant improvements in the number of controls they provide with .NET. They have a Datagrid control that seems to be what you need.
    Measurement Studio did add some high level classes for Excel and Word Automation that simplify some common tasks, but these exists for VS 2003 C++ and VS 2005 C++, not for VC 6.0. Underneath, we end up using the same Excel automation classes, so you can easily setup something similar for VC 6.0. Plus you can find alot of references online on how to use the Excel Automation object model with C++.
    We currently have no plans in Measurement Studio to create a table control unfortunately. I am assuming when you said graph, you actually meant table, since Measurement Studio already  provides a ActiveX graph controls for VC++ 6.0 that is very similar to the CVI graph.
    On a side note, VC++ 6.0 is really really old. Have you considered upgrading?
    To summarize
    - Yes, you can use Excel with Vc++ 6.0 without mstudio.
    - Try using the Datagrid Activex control if you just need a table.
    - Measurement Studio provides high-level excel and word classes for VC++ 6.0
    - Measurement Studio provides a graph control for VC++ 6.0 which is very similar to the CVI graph.
    - Measuremnt Studio does not have a table control.
    - VC++ 6.0 is really really old. Have you considered upgrading?
    Bilal Durrani
    NI

Maybe you are looking for