Trying to create test project, and get NPE during server startup

Hi
I am trying to create simple test project using JSF RI (usually use myfaces), but I am getting a couple of NPE's during server startup.
I am using :
jetty (maven plugin)
jsf 1.2_03
facelets 1.1.12
I am probably missing something simple, but I just can't figure it out.
My web.xml:
<?xml version = '1.0' encoding = 'ISO-8859-1'?>
<web-app  xmlns="http://java.sun.com/xml/ns/j2ee"
          xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
          xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
          version="2.4">
     <context-param>
          <param-name>facelets.REFRESH_PERIOD</param-name>
          <param-value>2</param-value>
     </context-param>
     <context-param>
        <param-name>facelets.LIBRARIES</param-name>
        <param-value>
            /WEB-INF/tomahawk.taglib.xml
        </param-value>
    </context-param>
     <context-param>
          <param-name>facelets.DEVELOPMENT</param-name>
          <param-value>true</param-value>
     </context-param>
     <context-param>
         <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
         <param-value>client</param-value>
         <!--param-value>server</param-value-->
       </context-param>
     <context-param>
          <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
          <param-value>.xhtml</param-value>
     </context-param>
     <context-param>
          <param-name>javax.faces.CONFIG_FILES</param-name>
          <!-- /WEB-INF/faces-config.xml loaded by default -->
        <param-value>
               /WEB-INF/faces-config.xml,/WEB-INF/faces-beans.xml,/WEB-INF/faces-nav.xml
          </param-value>
     </context-param>
     <!-- JSF 1.2 RI specifc -->
     <!-- Listener implementation to handle web application lifecycle events -->
     <listener>
          <listener-class>
               com.sun.faces.application.WebappLifecycleListener
          </listener-class>
     </listener>
     <listener>
          <listener-class>
               com.sun.faces.config.ConfigureListener
          </listener-class>
     </listener>
     <context-param>
          <description>
            Set this flag to true if you want the JavaServer Faces
            Reference Implementation to validate the XML in your
            faces-config.xml resources against the DTD.  Default
            value is false.
        </description>
          <param-name>com.sun.faces.validateXml</param-name>
        <param-value>false</param-value>
    </context-param>
    <context-param>
         <description>
            Set this flag to true if you want the JavaServer Faces
            Reference Implementation to verify that all of the application
            objects you have configured (components, converters,
            renderers, and validators) can be successfully created.
            Default value is false.
        </description>
        <param-name>com.sun.faces.verifyObjects</param-name>
        <param-value>true</param-value>
    </context-param>
     <!-- Faces Servlet -->
     <servlet>
          <servlet-name>faces</servlet-name>
          <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
          <load-on-startup>1</load-on-startup>
     </servlet>
     <!-- Faces Servlet Mappings -->
     <servlet-mapping>
          <servlet-name>faces</servlet-name>
          <url-pattern>*.jsf</url-pattern>
     </servlet-mapping>
     <welcome-file-list>
          <welcome-file>index.html</welcome-file>
     </welcome-file-list>
</web-app>My faces-config.xml :
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE faces-config PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.1//EN"
                              "http://java.sun.com/dtd/web-facesconfig_1_1.dtd">
<faces-config>
     <application>
           <!-- view-handler>
                org.rcfaces.core.internal.facelets.FaceletViewHandler
         </view-handler-->
          <view-handler>com.sun.facelets.FaceletViewHandler</view-handler>
          <locale-config>
               <default-locale>en</default-locale>
          </locale-config>
     </application>
</faces-config>My Stack traces :
INFO: Initializing Sun's JavaServer Faces implementation (1.2_03-b09-FCS) for context '/test'
2007-01-23 15:41:57.351::WARN:  failed ContextHandler@964130{/test,file:/C:/code/tests/rcfacesTest/src/main/webapp/}
java.lang.NullPointerException
        at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:171)
        at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:221)
        at com.sun.faces.application.WebappLifecycleListener.attributeReplaced(WebappLifecycleListener.java:211)
        at org.mortbay.jetty.handler.ContextHandler$Context.setAttribute(ContextHandler.java:1317)
        at com.sun.faces.config.ConfigureListener$ApplicationMap.put(ConfigureListener.java:1885)
        at com.sun.faces.renderkit.RenderKitUtils.loadSunJsfJs(RenderKitUtils.java:1076)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:468)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
        at org.mortbay.jetty.Server.doStart(Server.java:221)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2007-01-23 15:41:57.367::WARN:  failed ContextHandlerCollection@91b9b0
java.lang.NullPointerException
        at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:171)
        at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:221)
        at com.sun.faces.application.WebappLifecycleListener.attributeReplaced(WebappLifecycleListener.java:211)
        at org.mortbay.jetty.handler.ContextHandler$Context.setAttribute(ContextHandler.java:1317)
        at com.sun.faces.config.ConfigureListener$ApplicationMap.put(ConfigureListener.java:1885)
        at com.sun.faces.renderkit.RenderKitUtils.loadSunJsfJs(RenderKitUtils.java:1076)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:468)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
        at org.mortbay.jetty.Server.doStart(Server.java:221)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2007-01-23 15:41:57.367::WARN:  failed HandlerCollection@1360c93
java.lang.NullPointerException
        at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:171)
        at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:221)
        at com.sun.faces.application.WebappLifecycleListener.attributeReplaced(WebappLifecycleListener.java:211)
        at org.mortbay.jetty.handler.ContextHandler$Context.setAttribute(ContextHandler.java:1317)
        at com.sun.faces.config.ConfigureListener$ApplicationMap.put(ConfigureListener.java:1885)
        at com.sun.faces.renderkit.RenderKitUtils.loadSunJsfJs(RenderKitUtils.java:1076)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:468)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
        at org.mortbay.jetty.Server.doStart(Server.java:221)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
2007-01-23 15:41:57.523::INFO:  Started SelectChannelConnector @ 0.0.0.0:8080
2007-01-23 15:41:57.523::WARN:  failed Server@188f506
java.lang.NullPointerException
        at com.sun.faces.application.ApplicationAssociate.getInstance(ApplicationAssociate.java:171)
        at com.sun.faces.application.WebappLifecycleListener.handleAttributeEvent(WebappLifecycleListener.java:221)
        at com.sun.faces.application.WebappLifecycleListener.attributeReplaced(WebappLifecycleListener.java:211)
        at org.mortbay.jetty.handler.ContextHandler$Context.setAttribute(ContextHandler.java:1317)
        at com.sun.faces.config.ConfigureListener$ApplicationMap.put(ConfigureListener.java:1885)
        at com.sun.faces.renderkit.RenderKitUtils.loadSunJsfJs(RenderKitUtils.java:1076)
        at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:468)
        at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:450)
        at org.mortbay.jetty.servlet.Context.startContext(Context.java:124)
        at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1136)
        at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:420)
        at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:467)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:120)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:156)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:119)
        at org.mortbay.jetty.Server.doStart(Server.java:221)
        at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
        at org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:134)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:327)
        at org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:272)
        at org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:177)
        at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:183)
        at org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:412)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:534)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal(DefaultLifecycleExecutor.java:488)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:458)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:306)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:273)
        at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:140)
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322)
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
        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.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
        at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
        at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
        at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
[INFO] Jetty server exiting.Thanks,
Mike

This has been fixed in the RI head. Hopefully we'll be able to get a 1.2_04 out shortly.
Please download a nightly from the RI project site and give that a shot.

Similar Messages

  • Trying to create new user and getting remote procedure call error

    I'm trying to create a new user on my windows 8.1 machine but it's not letting me.
    If i open control panel and go to user accounts there's not even an option to add a new user. It's like it's missing, there si a blank space where the link should be. I can change my current account type, and manage another account (though that takes me
    to the list of accoutns which shows mine and the guest, but no option to add a new one) or change user account control settings.
    If i open the run menu and type "users" there is a program that shows up labeled "add, delete and manage other user accoutns" but if I click that a dialog pops up with the following message
    I've run sfc /scannow and it says there are corrupt files but that it couldnt repair them and logged them in the CBS.log

    OK I tried to run sfc /scannow again, and it said files needed to be fixed on a reboot. I rebooted and I can now create user accounts. So never mind, folks!
    Kyle

  • I have created a DVD via iMovie and burned several copies. When played the DVD's will stop and display a message SKIPPING DAMAGED Part. It is not the DVD. When trying to export the project, I get an error message.

    I have created a DVD via iMovie and burned several copies. It is a large file. When played the some DVD's will stop and display a message SKIPPING DAMAGED Part but will not resume. Some work fine.  It is not the DVD. I have burned from several batches. When trying to export the project, I get an error message with the following message: The project could not be prepared for publishing because an error occured (-108).

    TV video typically is copyrighted content.  We'd be breaking several rules trying to help you.  Good luck!

  • I have NI DAQmx 14.5 and running LV 2014, i am trying load some old project and i get the error of missing DAQmx Write VI

    I have NI DAQmx 14.5 and running LV 2014, i am trying load some old project and i get the error of missing DAQmx Write VI

    Can you attach an image of the error display? Did you install DAQmx after installing LabVIEW? Do you have the DAQmx palette?

  • PA_FUNCTION_SECURITY_ENFORCED when trying to create a project

    Hi
    I am trying to create a project from the backend by using
    pa_project_pub.execute_create_project(p_api_version_number =>
    l_api_version_number
    ,p_commit => l_commit
    ,p_init_msg_list => 'F'
    ,p_msg_count => l_msg_count
    ,p_msg_data => l_msg_data
    ,p_return_status => l_return_status
    ,p_workflow_started => l_workflow_started
    ,p_pm_product_code =>
    l_pm_product_code
    ,p_op_validate_flag => l_op_validate_flag
    ,p_pa_project_id => l_project_id
    ,p_pa_project_number =>l_pa_project_number);
    dbms_output.put_line ('Proj ID is '||l_project_id||sqlerrm||l_return_status);
    dbms_output.put_line ('Msg Count '||l_msg_count||'Msg Data '||l_msg_data||'WF '||l_workflow_started);
    IF l_return_status != 'S'
    THEN
    dbms_output.put_line ('error mesg 2'||l_data||sqlerrm||l_return_status);
    RAISE API_ERROR;
    END IF;
    and I get the following error saying "PA_FUNCTION_SECURITY_ENFORCE".
    I am able to create a project from the front end with the same values but when I use the api it errors.Appreciate if some gurus can help me.
    Regards,
    J

    user7335426 wrote:
    Hi
    I am trying to create a project from the backend by using
    pa_project_pub.execute_create_project(p_api_version_number =>
    l_api_version_number
    ,p_commit => l_commit
    ,p_init_msg_list => 'F'
    ,p_msg_count => l_msg_count
    ,p_msg_data => l_msg_data
    ,p_return_status => l_return_status
    ,p_workflow_started => l_workflow_started
    ,p_pm_product_code =>
    l_pm_product_code
    ,p_op_validate_flag => l_op_validate_flag
    ,p_pa_project_id => l_project_id
    ,p_pa_project_number =>l_pa_project_number);
    dbms_output.put_line ('Proj ID is '||l_project_id||sqlerrm||l_return_status);
    dbms_output.put_line ('Msg Count '||l_msg_count||'Msg Data '||l_msg_data||'WF '||l_workflow_started);
    IF l_return_status != 'S'
    THEN
    dbms_output.put_line ('error mesg 2'||l_data||sqlerrm||l_return_status);
    RAISE API_ERROR;
    END IF;
    and I get the following error saying "PA_FUNCTION_SECURITY_ENFORCE".
    I am able to create a project from the front end with the same values but when I use the api it errors.Appreciate if some gurus can help me.
    Regards,
    JHi J,
    You need to FND_GLOBAL.APPS_INITIALIZE
    procedure APPS_INITIALIZE(user_id in number,
    resp_id in number,
    resp_appl_id in number);
    before you call
    pa_project_pub.execute_create_project
    Thanks
    Shailendra

  • Macbook pro. app tries to use flash player and get " Blocked plugin" how to uninstall and reinstall flash player. update does nothing ?

    Wife has an older MacBook Pro. when an app uses flash player "Blocked plugin" comes up. I don't know much about mac, tried to update flash player and get newer version already installed, and update and still get same message. How do I uninstall flash player and reinstall?

    Sounds like it is blocked for the website you are at. Check with this:
    You can quickly test whether a recently added plug-in is causing problems by blocking it.
    Choose Safari > Preferences, click Security, then click Website Settings next to Allow Plug-ins.
    Select the plug-in you want to disable on the far left, then click each pop-up menu on the right and choose Block.For some plug-ins, you see pop-up menus for different websites, and you can choose to block each one individually. Use the “When visiting other websites” pop-up menu to block all other websites that don’t have individual settings.

  • Trying to relink video clips and getting "import reporting a generic error" using Premiere Pro CC 2014 on a Mac

    Moving a project over to another computer and I was trying to relink video clips and getting "import reporting a generic error" message.

    Did you find a solution? I'm having this same problem.

  • Trying to create an image and save it on file system

    Hi,
    I'm trying to create an image and save it in the file system :
         public static void main(String[] args) {
         int wid = 632;
         int hgt = 864;
         BufferedImage bufferedImage = new BufferedImage(wid,hgt,BufferedImage.TYPE_INT_RGB);
         bufferedImage.getGraphics().setColor(Color.black);
         bufferedImage.getGraphics().drawOval(30, 30, 100, 100);
              bufferedImage.getGraphics().drawString("test me one two three",2,2);
              bufferedImage.flush();
    try {
                   ImageIO.write(bufferedImage,".bmp",new File("C:/MyImage.bmp"));
         } catch (IOException e) {               
                   e.printStackTrace();
    THE PROBLEM : It creates C:/MyImage.bmp on my file system, but the file is empty (size 0).
    Am I missing something ?
    Thanks

    Try changing ".bmp" to "bmp". If that fails, try posting an SSCCE.
    Edit 1:
    And in future, please use the code tags when posting code, code snippets, HTML/XML or input/output. To do that, select the code and click the CODE button seen on the Plain Text tab of the message posting form.
    Edited by: AndrewThompson64 on Aug 3, 2009 1:23 AM

  • Trying to install windows 7 and getting error message windows must be installed to a partition formatted as NTFS

    Trying to install windows 7 and getting error message Windows must be installed to a partition formatted as NTFS

    Welcome to Apple Support Communities
    Boot Camp Assistant creates a Windows partition in FAT32 to make the Windows XP installation easier.
    The problem is that Windows Vista, 7 and 8 require a NTFS partition, so the Windows installer gives this error. The only thing you have to do is to choose the BOOTCAMP partition in the installer and go to “Drive options (advanced)” > Format. Finally, install it

  • Build error when trying to creat the project from inactive DC..

    Hello Experts,
    When I am trying to create a project from the inactive DC its giving and error message like build failed.When I switch to webdypro prespective I can see the project created.So please help me out in resolving the issue.
    Thanks,
    Harish.

    Hi Harish,
    Are you able to see the code and the components in the Webdynpro perspective. You can try the different options like Reload, Repair and Refresh.
    See in the log why the build is failing.
    Also check this thread:
    JDI:Import an existing DC fails BUILD; Used component not found: javaLib
    May be it helps.
    Regards.
    Rajat

  • Itunes was working fine. Tries to install latest upgrade and get error message about an invalid character in the path "Program Files (x86)". PC, Win7, nothing else appears to be having same issue.

    Itunes was working fine. Tried to install latest upgrade and get error message about an invalid character in the path "Program Files (x86)". PC, Win7, nothing else appears to be having same issue. Program still works, simply cannor upgrade.

    Thanks b noir,
    I tried this solution without success. After FixIt ran and didn't find a problem, either in looking for issues with "software upgrade" or "iTunes" it kindly offered to help me uninstall iTunes. I had thought of this as a possibilty but it seems to me that if you do that you lose a lot of "non-native-to-Apple" information you might have entered. I did this once and recovery was painfull. Is there a way to uninstall iTunes without losing all of that sort of thing? Any help would be appreciated.

  • BAPI's for creating of Project and WBS elements in SAP system.

    Hi Guys,
                 I was able to use a Wrapper FM for creating the
    We have a FM which combines 5 different BAPIs
    FM/Wrapper: "Z_LEED_PROJ_WBSELEMT_CREATE"
    1)      BAPI_PS_INITIALIZATION
    2)      BAPI_BUS2001_CREATE
    3)      BAPI_BUS2054_CREATE_MULTI
    4)      BAPI_PS_PRECOMMIT
    5)      BAPI_TRANSACTION_COMMIT
    Requirement: To automate the process of creation of Project and WBSE(Tasks) and create an entries in the PS tables based on the user inputs from the user interface in Visual Composer.
    Basically user should be able to create the Projects and WBSE.
    Issue: We were able to create the Project with the FM (BAPI_BUS2001_CREATE) but having the issue with the creation of WBSE(Tasks), the user will be entering the inputs for Project Definition, Project Profile and WBSE which are to be created in the UI.
    The problem is we are not able to create the WBS elements using  BAPI     BAPI_BUS2054_CREATE_MULTI .i will send u the code below .Can anybody correct
       CLEAR it_return.
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition-project_definition
        TABLES
          IT_WBS_ELEMENT = it_wbs_element
          ET_RETURN = it_return.
      APPEND LINES OF it_return[] TO et_return[].
    Thanks,
    Gopi.

    Hi Ramiro,
                   This is the entire FM code which is below.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(I_PROJECT_DEFINITION) LIKE  BAPI_BUS2001_NEW STRUCTURE
    *"        BAPI_BUS2001_NEW
    *"  TABLES
    *"      IT_WBS_ELEMENT STRUCTURE  BAPI_BUS2054_NEW
    *"      ET_RETURN STRUCTURE  BAPIRET2 OPTIONAL
    *"      EXTENSIONIN STRUCTURE  BAPIPAREX OPTIONAL
    *"      EXTENSIONOUT STRUCTURE  BAPIPAREX OPTIONAL
      DATA: it_return LIKE STANDARD TABLE OF BAPIRET2 WITH HEADER LINE,
            v_error TYPE boolean VALUE IS INITIAL.
      CLEAR: et_return, it_return.
      CALL FUNCTION 'BAPI_PS_INITIALIZATION'.
    Do checks for creating project definition
      CALL FUNCTION 'BAPI_BUS2001_CREATE'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition
        TABLES
          ET_RETURN = it_return.
      APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
    Do checks for creating WBS elements
      CLEAR it_return.
      CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'
        EXPORTING
          I_PROJECT_DEFINITION = i_project_definition-project_definition
        TABLES
          IT_WBS_ELEMENT = it_wbs_element
          ET_RETURN = it_return.
       APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_PS_PRECOMMIT'
        TABLES
          ET_RETURN = it_return.
       APPEND LINES OF it_return[] TO et_return[].
      LOOP AT it_return.
        IF it_return-type CA 'EAX'.
          CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
          v_error = 'X'.
          EXIT.
        ENDIF.
      ENDLOOP.
      IF v_error = 'X'.
        EXIT.
      ENDIF.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
        EXPORTING
          WAIT = 'X'.
    ENDFUNCTION.
      can u please look at the code and let me know the changes?
    Thanks,
    Gopi.

  • I previously downloaded the AI 30 day trial but was able to use it before the trial ran out I've since deleted it from my laptop (Windows 7 64 bit OS) How do I get it back? Trying to download AI again and getting error code 3 some thing to do with adminis

    I previously downloaded the AI 30 day trial but was able to use it before the trial ran out I've since deleted it from my laptop (Windows 7 64 bit OS) How do I get it back? Trying to download AI again and getting error code 3 some thing to do with administration permissions?

    If your intention is to use the trial again it will not reset if you reinstall.  It will remain in its ran out state.

  • Trying to register with ePrint and getting error code.Ajax submit failed: error = 403, Forbidden.

    Trying to register with ePrint and getting error code.Ajax submit failed: error = 403, Forbidden. I need help??

    To bypass this error attempt either a restart of your computer, or use an alernate broser such as firefox or chrome. If you already have another browser the latter may be the easier fix.
    Jon-W
    I work on behalf of HP
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    Click the KUDOS STAR on the left to say “Thanks” for helping!

  • When playing my ipod on an ipod dock the vocals are very faint. It is fine when doing through the headphones. I am trying to sync for updates and getting the message "An unknown error occured (-1)" - help

    When playing my ipod on an ipod dock the vocals are very faint. It is fine when doing through the headphones. I am trying to sync for updates and getting the message "An unknown error occured (-1)" - help

    Error -1
    Attempt to restore your iOS device two more times. If the issue is still unresolved, the device may need service.
    The "device may need service" means a hardware problem. In that case make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar
    Also see:
    -1 error
    -1 error too

Maybe you are looking for

  • Detailed Software Repair Instructions using Pc Companion(Win)or Bridge for MAC. (Update 8/5/2014)

    We have an extended guide that should help you repair the system of your phone. This instructions are valid for all Android based units and for some legacy Sony Ericsson models(The list of phones that can be used with the application is displayed in

  • Issue in setting Completion Deadlines

    Hi All, We have a scenario wherein we need to set the deadline for completing a given task, and it is working fine. But the issue here is that I want to specify a completion deadline of say 1 day but it should not cont any weekends for calculating th

  • Export iTunes Playlist to WPL format?

    I need to export my iTunes playlists to WMP format (.wpl files). Apparently, iTunes playlists are not DLNA/UPnP-compliant so they are not visible on Media Servers. I have a library of ~4000 songs and all songs, albums, artists and genres are visible

  • Messaging Icon Gone- Stuck In Productiviy Icon HELP

    As the title says, my messaging icon suddenyl dissapeared, and I finally found it hiding in the productivity icon. How do I get my messaging icon back on the home screen and out of where it is now?

  • I can't publish to my computer

    I can't publish to my computer. Muse wants to publish to a businesscatalyst site instead. How can I change this.