Trouble creating instance of generic container

Hi,
I'm new to generics and having problem with a member initialization. The member in question is a Map where the key is a String and the values are Lists of String. Here's my most recent attempt:
private Map<String,List<String>> m_dimProps = new HashMap<String,new ArrayList<String>( )>( );
If I comment out the initialization and replace it with null the compiler doesn't complain so I know that the left hand side is right. Help!
-ts1971

ts1971 wrote:
private Map<String,List<String>> m_dimProps = new HashMap<String,new ArrayList<String>( )>( );Parameterizations do not take objects but type names as parameters:
private Map<String,List<String>> m_dimProps = new HashMap<String,List<String>>( );

Similar Messages

  • How To: Use reflection to create instance of generic type?

    I would like to be able to use reflection to instantiate an instance of a generic type, but can't seem to avoid getting type safety warnings from the compiler. (I'm using Eclipse 3.1.1) Here is a trivial example: suppose I want to create an instance of a list of strings using reflection.
    My first guess was to write the following:
    Class cls = Class.forName("java.util.ArrayList<String>");
    List<String> myList = cls.newInstance();The call to Class.forName throws a ClassNotFoundException. OK, fine, so I tried this:
    Class cls = Class.forName("java.util.ArrayList");
    List<String> myList = cls.newInstance();Now the second line generates the warning "Type safety: The expression of type List needs unchecked conversion to conform to List<String>".
    If I change the second line to
    List<String> myList = (List<String>)cls.newInstance();then I get the compiler warning "Type safety: The cast from Object to List<String> is actually checking against the erased type List".
    This is a trivial example that illustrates my problem. What I am trying to do is to persist type-safe lists to an XML file, and then read them back in from XML into type-safe lists. When reading them back in, I don't know the type of the elements in the list until run time, so I need to use reflection to create an instance of a type-safe list.
    Is this erasure business prohibiting me from doing this? Or does the reflection API provide a way for me to specify at run time the type of the elements in the list? If so, I don't see it. Is my only recourse to simply ignore the type safety warnings?

    Harald,
    I appreciate all your help on this topic. I think we are close to putting this thing to rest, but I'd like to run one more thing by you.
    I tried something similar to your suggestion:public static <T> List<T> loadFromStorage(Class<T> clazz) {
        List<T> list = new ArrayList<T>();
        for ( ...whatever ...) {
           T obj = clazz.newInstance();
           // code to load from storage ...
           list.add(obj);
        return list;
    }And everything is fine except for one small gotcha. The argument to this method is a Class<T>, and what I read from my XML storage is the fully qualified name of my class(es). As you pointed out earlier, the Class.forName("Foo") method will return a Class<?> rather than a Class<Foo>. Therefore, I am still getting a compiler warning when attempting to produce the argument to pass to the loadFromStorage method.
    I was able to get around this problem and eliminate the compiler warning, but I'm not sure I like the way I did it. All of my persistent classes extend a common base class. So, I added a static Map to my base class:class Base
       private static Map<String, Class<? extends Base>> classMap = null;
       static
          Map<String, Class<? extends Base>> map = new TreeMap<String, Class<? extends Base>>();
          classMap = Collections.synchronizedMap(map);
       public static Class<? extends Base> getClass(String name)
          return classMap.get(name);
       protected static void putClass(Class<? extends Base> cls)
          classMap.put(cls.getName(), cls);
    }And added a static initializer to each of my persistent classes:class Foo extends Base
       static
          Base.putClass(Foo.class);
    }So now my persistence code can replace Class.forName("my.package.Foo") with Base.getClass("my.package.Foo"). Since Foo.class is of type Class<Foo>, this will give me the Class<Foo> I want instead of a Class<?>.
    Basically, it works and I have no compiler warnings, but it is unfortunate that I had to come up with my own mechanism to obtain a Class<Foo> object when my starting point was the string "my.package.Foo". I think that the JDK, in order to fully support reflection with generic types, should provide a standard API for doing this. I should not have to invent my own.
    Maybe it is there and I'm just not seeing it. Do you know of another way, using reflection, to get from a string "my.package.Foo" to a Class<Foo> object?
    Thanks again for your help,
    Gary

  • Creating instance of generic type

    Hi.
    Here is my class
    public class ManagerForm<M extends Stuff>{
    private Class<M>clazz;
    private M manager;
    public void setWorker(M manager){
    this.manager=manager;
    public M getWorker(){
    return this.manager;
    private final Class<M> getGenericClass() {
    Class<M> persistentClass = null;
    Type genericType = getClass().getGenericSuperclass();
    if (genericType instanceof ParameterizedType) {
    ParameterizedType pType = ((ParameterizedType) genericType);
    // obtaining first generic type class
    persistentClass = (Class<M>) pType.getActualTypeArguments()[0];
    return persistentClass;
    public ManagerForm(){
    this.clazz=getGenericClass();
    this.manager=this.clazz.newInstance();
    In default constructor I need to inicialize U instance this.user.
    I have an nullPointerException in line this.manager=this.clazz.newInstance();
    persistantClass is returned nullable because genericType is not instance of ParameterizedType.
    Could anybody say me what is wrong or propose other methods to create generic instance. I need help. Will be very appreciable.
    Thanks in advance.

    YoungWinston wrote:
    877715 wrote:
    Could anybody say me what is wrong or propose other methods to create generic instance. I need help. Will be very appreciable. I think you need to back up and explain exactly what you're trying to do here.
    It would appear that you're attempting to divine the actual type of a specific ManagerForm, but I'm not absolutely certain. Also, since you already specify the type as a field, why can't you just usemanager.getClass()? I suspect that all you'll get from getClass().getGenericSuperclass() is 'Stuff', but I have to admit I'm no expert on this.
    Far better to describe what you want than an implementation that plainly doesn't work.
    WinstonWell. I have class ManagerForm<M extends Stuff>. there is private field manager that have generic type M. And I need to instantinate manager in default constructor.
    I cant write
    public ManagerForm(){
    this.manager=new M();//will be compiler error
    Thats why exists a mechanism to get current generic type in runtyme through ParameterType.
    I have method getGenericClass that gets current class in runtime and then I create an instance of this class through <class>.newInstance(); And this is the standard way to instantinate generic type.
    I hoped line Type genericType = getClass().getGenericSuperclass(); of method returned ParameterizedType. But variable genericType cannot be casted to ParameterizedType. I don't know why. So I cannot get current generic param M and instantiate its.

  • Trying to access methods from a .class file by creating instance of class

    Hey all,
    I'm hoping you can help. I've been given a file "Input.class" with methods such as readInt(), readString(), etc. I have tried creating instances of this class to make use of it, but I receive the error "cannot find symbol : class Input".
    If you could help at all, I would greatly appreciate it.
    Here's my code. The first is the base program, the second is the driver.
    import java.util.*;
    public class CarObject
         private String makeType = "";
         private String modelType = "";
         private int yearOfRelease = 0;
         private double numOfMiles = 0.0;
         public void setFilmTitle(String make)
              makeType = make;
         public void setMediaType(String model)
              modelType = model;
         public void setYearOfRelease(int year)
              yearOfRelease = year;
         public void setNumOfMiles(double miles)
              numOfMiles = miles;
         public String getMakeType()
              return makeType;
         public String getModelType()
              return modelType;
         public int getYearOfRelease()
              return yearOfRelease;
         public double getNumOfMiles()
              return numOfMiles;
    The program is used by a rental car company and the object takes on desired attributes.
    import java.util.*;
    public class TestCarObject
         static Scanner keyboard = new Scanner(System.in);
         public static void main(String[] args)
              System.out.println("Please answer the following questions regarding your rental car order.");
              Input carinput = new Input();
              String makeType = carinput.readString("Enter your desired make of car: ");          
              String modelType = carinput.readString("Enter your desired model of car: ");
              int yearOfRelease = carinput.readInt("Enter the oldest acceptable year of release to rent: ");
              double numOfMiles = carinput.readDouble("Enter the highest acceptable number of miles: ");
              System.out.println("Make: " + makeType);
              System.out.println("Model: " + makeType);
              System.out.println("Year: " + makeType);
              System.out.println("Mileage: " + makeType);
    }

    No, I don't know the package name....Is there a way
    to import the Input.class by itself without importing
    the entire packge?
    I tried extending the driver program too...It didn't
    work either...
    Message was edited by:
    BoxMan56How do you know you have a class called Input.class ?
    You got a jar file which contains it ? or just a simple .class file ?
    You have to set the classpath in either case.
    But for the former, you should also need to explicitly telling which package containing the class file you looking for (i.e. Input.class)
    e.g. java.util.Vector which is a class called Vector inside java.util package.
    You don't have to import the whole package, but you should tell which package this class belongs to.

  • How to Create Instances in the Transient Root Node and Sub Nodes from Root Node Query Method ?

    Hi All,
    I am Creating a BOPF BO with 3 Nodes,
    Node 1) ROOT -- > contains a query,
    using Root Node I have created Search UIBB Configuration in FBI.
    In testing -- > when i enter Data in the Search Criteria Fields am able to get the details in to the query method
    from Imporing parameter : 'IT_SELECTION_PARAMETERS'.
    HERE I am fetching data from a standard table and trying to fill the data in the Node : 'MNR_SEARCH_RESULT'.
    How to Append data to the Sub node 'MNR_SEARCH_RESULT' when there is no Node instance created in the ROOT Node ?
    For This  I have created an instance in the ROOT Node and Using that I tried to create Instance in the Sub Node 'MNR_SEARCH_RESULT'.
    Below is my code which i have placed in the Query method ..
    DATA : LR_DATA TYPE REF TO ZBO_S_ROOT1.
    DATA : LR_SEARCH_RES TYPE REF TO ZBO_S_MNR_SEARCH_RESULT.
    DATA : LO_CI_SERVICE_MANAGER TYPE REF TO /BOBF/IF_TRA_SERVICE_MANAGER,
            LO_TRANSACTION_MANAGER TYPE REF TO /BOBF/IF_TRA_TRANSACTION_MGR.
       LO_CI_SERVICE_MANAGER = /BOBF/CL_TRA_SERV_MGR_FACTORY=>GET_SERVICE_MANAGER( IV_BO_KEY = ZIF_BO_TEST_PO_C=>SC_BO_KEY ).
       LO_TRANSACTION_MANAGER = /BOBF/CL_TRA_TRANS_MGR_FACTORY=>GET_TRANSACTION_MANAGER( ).
    CREATE DATA LR_DATA.
    LR_DATA->KEY = LO_CI_SERVICE_MANAGER->GET_NEW_KEY( ).
    LR_DATA->ROOT_KEY   = IS_CTX-ROOT_NODE_KEY.
    LR_DATA->PIPO_MAT_ID = '100100'.
    LR_DATA->PIPO_MAT_DESC = 'MATERIAL'.
    LR_DATA->PIPO_SPRAS = 'E'.
    LR_DATA->PIPO_MATL_TYPE = 'ZPMI'.
    LR_DATA->PIPO_MATL_GROUP = 'ZKK'.
         DATA lt_mod      TYPE /bobf/t_frw_modification.
         DATA lo_change   TYPE REF TO /bobf/if_tra_change.
         DATA lo_message  TYPE REF TO /bobf/if_frw_message.
         FIELD-SYMBOLS: <ls_mod> LIKE LINE OF lt_mod.
        APPEND INITIAL LINE TO lt_mod ASSIGNING <ls_mod> .
        <ls_mod>-node        =   ZIF_BO_TEST_PO_C=>sc_node-ROOT.
        <ls_mod>-change_mode = /bobf/if_frw_c=>sc_modify_create.
        <ls_mod>-key         = LR_DATA->KEY.
        <ls_mod>-data        = LR_DATA.
    DATA : LT_CHG_FIELDS TYPE /BOBF/T_FRW_NAME.
    DATA : LS_CHG_FIELDS LIKE LINE OF LT_CHG_FIELDS.
    DATA : LV_KEY TYPE /BOBF/CONF_KEY.
    CALL METHOD IO_MODIFY->CREATE
       EXPORTING
         IV_NODE            = ZIF_BO_TEST_PO_C=>sc_node-ROOT
         IV_KEY             = LR_DATA->KEY
         IS_DATA            = LR_DATA
         IV_ROOT_KEY        = IS_CTX-ROOT_NODE_KEY
       IMPORTING
         EV_KEY             = LV_KEY .
    CREATE DATA LR_SEARCH_RES.
    LR_SEARCH_RES->KEY           = LO_CI_SERVICE_MANAGER->GET_NEW_KEY( )..
    LR_SEARCH_RES->PARENT_KEY    = LV_KEY.
    LR_SEARCH_RES->ROOT_KEY    = LV_KEY.
    LR_SEARCH_RES->MATNR    = '123'.
    LR_SEARCH_RES->ERSDA    = SY-DATUM.
    LR_SEARCH_RES->ERNAM    = SY-UNAME.
    **LR_SEARCH_RES->LAEDA    = .
    **LR_SEARCH_RES->AENAM    = .
    **LR_SEARCH_RES->VPSTA    = .
    *LR_SEARCH_RES->LVORM    = .
    LR_SEARCH_RES->MTART    = 'ZPI'.
    LR_SEARCH_RES->MBRSH    = 'ZTP' .
    LR_SEARCH_RES->MATKL    = 'MAT'.
    **LR_SEARCH_RES->BISMT    = ''
    **LR_SEARCH_RES->MEINS    =
    CALL METHOD io_modify->create
               EXPORTING
                 iv_node            = ZIF_BO_TEST_PO_C=>sc_node-MNR_SEARCH_RESULT
                 is_data            = LR_SEARCH_RES
                 iv_assoc_key       = ZIF_BO_TEST_PO_C=>sc_association-root-MNR_SEARCH_RESULT
                 iv_source_node_key = ZIF_BO_TEST_PO_C=>sc_node-root
                 iv_source_key      = LV_KEY
                 iv_root_key        = LV_KEY.
    I am Unable to set data to the Node . I did not get any error message or Dump while executing . when i tried to retrive data I got the details from the node but am unable to view those details in the FBI UI and BOBT UI while testing .
    Please provide your valuable Suggestions.
    Thanks in Adv.
    Thanks ,
    Kranthi Kumar M.

    Hi Kranthi,
    For your requirement you need only two nodes. Root Node and Result node. Use the same structure for both.
    To create Instance while search.
    Create Query method with input type which has the required fields for selection criteria.
    Fetch the data and create instance in the root node.
    Pass the new instance key as exporting parameter form Query Method.
    To Move data from ROOT to Result.
    Create a action at root node.
    Write a code to create new entries in Result node.
    Then configure the Search UIBB and display result in List UIBB. Add button and assign the action MOVE_MAT_2_RESULT.
    Create another List uibb to display data from Result node.
    Connect the UIBBs using wire schema. SEARCH -> LIST(ROOT) ---> LIST(RESULT).
    Give src node association for ROOT to RESULT Configuration.
    Regards,
    Sunil

  • Error creating instances in Business Process Workspace

    i have the following error:
    oracle.bpm.web.exception.WapiOperationException: Error creating instance for target process Serv_M/Proj_V!76.0*/EV.
    Caused by: BPM-70204
    Exception
    exception.70204.type: error
    exception.70204.severity: 2
    exception.70204.name: Error creating process instance.
    exception.70204.description: Error creating instance for target process Serv_M/Proj_V!76.0*/EV.
    exception.70204.fix: Verify server log to find the problem cause.
    at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:205)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:345)
    at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:259)
    at oracle.bpm.services.instancemanagement.ejb.InstanceManagementServiceBean_sqa2w0_IInstanceManagementServiceRemoteImpl_1036_WLStub.createProcessInstanceTask(Unknown Source)
    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:597)
    at weblogic.ejb.container.internal.RemoteBusinessIntfProxy.invoke(RemoteBusinessIntfProxy.java:85)
    at $Proxy413.createProcessInstanceTask(Unknown Source)
    at oracle.bpm.papi.ora.util.ApplicationExecution11G.beginExecution(ApplicationExecution11G.java:50)
    ... 101 more
    Caused by: ORABPEL-02023
    Cannot activate block.
    failure to activate the block "EV" for the instance "30037"; exception reported is: .
    This error contained the exceptions thrown by the underlying routing system.
    Contact Oracle Support Services. Provide the error message, the composite source and the exception trace in the log files (with logging level set to debug mode).
    Help me please!
    Regards

    Hi Chris
    If you are trying to create a LOV and use that as a parameter, then you need to create LOV as Dynamic Cascading values. Once created then you can use that LOV in the Crystal Reports.    
    This is the best way to get dynamic cascading prompts in Crystal reports.
    Please refer to Business View Admin guide for more information.
    Hope this helps!!
    Regards
    Sourashree

  • Trouble creating a MobileMe Gallery with Aperture

    I'm having trouble creating a MobileMe Gallery from within Aperture. In the past it work flawlessly but now it isn't working at all. This is what happens: I create a gallery from within Aperture by clicking on either "New/MobileMe Album, or "New From Selection/MobileMe Album." The gallery is made and appears in Aperture. However, when I visit the MobileMe site the Gallery doesn't contain any images. When I sync it again the gallery disappears from within Aperture all together.
    Any ideas?

    I resolved my problem by rebuilding the Aperture Library from the Aperture Vault. Apparently, and this makes sense, Aperture can't build a Gallery if the photo version, or photo itself is missing. I think the reason why it appeared visible is because the Preview file was embedded...

  • Trouble Creating Padded Images for iMovie

    i am having trouble creating "padded" images to add to iMovie 09.  I followed the directions here (https://discussions.apple.com/message/10699725?messageID=10699725#10699725?messa geID=10699725) which recommend the following:
    Set up an Automator Workflow to
    1. Ask for Photos (You must select one or more photos and hit Select - you can make this easier by putting them in an album beforehand)
    2. Copy Finder Items (give it a folder to copy to- so you can find them easily)
    3. Pad Images. (put a check mark in "scale image before padding" and set for dimensions of your project.
    Hit Run and a dialog box will come up asking you to select photos. When you are finished, press SELECT and the Automator script will keep running.
    However, each time I run the script I get the following error: The action "Pad Images" was not supplied with the required data."
    My files are .jpg and I am running OS X.  Any suggestions on what I might be doing wrong?

    If you want a quick response it might make sense to try and contact user TessB directly. I say that only as that person was the one that proposed the Automater Workflow workaround, and that's not exactly something here can answer (Maybe the folks in another forum related to Autmator might be able to help). Unfortunately some solutions aren't as generic or easy to use for everyone as they are for the person who has written them up. I call it the "Works for Me" problem.

  • Trouble creating new app

    I am new to Planning and having trouble creating a new app. I'm working w/ the Classic App Wizard in Workspace. I have created a 'hypuser' schema on Oracle 10g and and I use this in the 'configure database' stage of the Planning config. I have created/activated an instance 'inst1', and then in 'data source configuration' I have created a new datasource called 'dsn1' and have configured it as follows. For Relational Storage Config I have:
    Server: TestServer
    Port: 1521
    Product: PLANNING
    Database: xe
    User: hypuser
    Password: password
    For Essbase Server Info, I have:
    Server: TestServer
    User: hypuser
    Password: password
    In the Classic App Wizard, I select 'Create Application' and see that my data source name is pre-populated in the Select tab. I go on to choose a name for my app, description etc. and choose 'Planning' project from the Shared Services Project list. I then choose the instance that I had configured/activated earlier and finally check the Sample application checkbox. I feel I have followed all the correct steps, so I click 'finish', and after 5 minutes I get a totally nondescript error message: *"An error occurred while processing this page. Please check the log for details"*
    Which log is this error msg referring to? I have searched thru my C:\Hyperion\Planning directory and don't see any log files. More importantly, I can't detect where I'm making a mistake in the overall Planning database/datasource config and app creation process? All my other Hyperion apps, Smartview, Financial Studio, Web Analysis etc are working great with my Oracle database, so I can't imagine that it's a database issue. But I don't know what else it can be! I have plenty of cpu/memory resources on my Window 2003 server machine.. (fyi).
    Appreciate any advise on how to diagnose/solve this issue.
    thanks,
    Akshay

    Hi John,
    I've posted the following log (below) from the command window after running "startHyperionPlanning.bat" and going thru the create app process in Workspace. The log seems to point to a few different things that I have underlined.
    1. It keeps referring to problems with JDBC connection. What does this mean in the context of Planning ?install/config?
    2. It says "cannot set catalog name to: xe" Should I have used "+oracle: xe+" during the Repository config stage as the SID? I've used +'xe'+ in other places with no problems.
    3. It also says that 'No object was successfully created...' because of either OLAP server or database not running. I've double-checked and both my essbase server and oracle db are working fine and can be accessed by other apps.
    What does all of this suggest is the root cause of the problem. Should I go into oracle and manually delete all tables from the 'hypuser' schema? I'm a little skeptical about this, because during the database config I always choose the 'drop tables...' option.
    Anyways, appreciate your continued help on this.
    thanks,
    Akshay
    LOG:
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe_
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe*
    *Unable to create JDBC connection. java.sql.SQLException: [Hyperion][Oracle JDBC*
    *Driver][Oracle]ORA-12519 The listener could not find any available service handl*
    ers that are appropriate for the client connection_. One possible cause for this
    error is that the server was not configured for the specified server type (share
    d/dedicated).
    Unable to set Planning's Oracle connection numeric character to '.'. java.lang.N
    ullPointerException
    Can not set database catalog name, skipping set of catalog name: xe
    Can not get JDBC connection.
    *java.lang.Exception: No object were successfully created. This can be caused by*
    any of the following: The OLAP Server is not running, The DBMS is not running, t_
    he DBMS is running on a different machine that the one specified, the name and p_
    assword provided were incorrect._
    at com.hyperion.planning.HspPool.getObject(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.getConnection(Unknown Source)
    at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Attempted to release a null connection
    java.lang.NullPointerException: JDBCCacheLoader.loadObjects(): jdbc connection w
    as null.
    at com.hyperion.planning.sql.JDBCCacheLoader.loadObjects(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    java.lang.RuntimeException: Error loading objects from data source: java.lang.Nu
    llPointerException: JDBCCacheLoader.loadObjects(): jdbc connection was null.
    at com.hyperion.planning.sql.GenericCache.loadCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getCache(Unknown Source)
    at com.hyperion.planning.sql.GenericCache.getUnfilteredCache(Unknown Sou
    rce)
    at com.hyperion.planning.HspJSImpl.loadSystemCfg(Unknown Source)
    at com.hyperion.planning.HspJSImpl.<init>(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.createHspJS(Unknown Source)
    at com.hyperion.planning.HspJSHomeImpl.getHspJSByApp(Unknown Source)
    at com.hyperion.planning.HyperionPlanningBean.Login(Unknown Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.deleteApplication
    *(Unknown Source)*
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Error cleaning up application after failed creation attempt: java.lang.NullPoint
    erException
    java.lang.NullPointerException: Connection was null
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.sql.HspSQLImpl.executeQuery(Unknown Source)
    at com.hyperion.planning.HspManageApplication.addPeriodsToYearTotal(Unkn
    own Source)
    at com.hyperion.planning.appdeploy.HspManageAppSession.createApplication
    *(Unknown Source)*
    at HspCreateApp.Handle(Unknown Source)
    at HspCreateApp.doPost(Unknown Source)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:709)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
    icationFilterChain.java:237)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
    ilterChain.java:157)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
    alve.java:214)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardContextValve.invokeInternal(Standard
    ContextValve.java:198)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
    alve.java:152)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
    ava:137)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
    ava:118)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:102)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
    ve.java:109)
    at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValv
    eContext.java:104)
    at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav
    a:520)
    at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
    at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:16
    *0)*
    at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)
    at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)
    at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)
    at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.ja
    va:675)
    at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)
    at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadP
    ool.java:683)
    at java.lang.Thread.run(Unknown Source)
    Can not get JDBC connection for SYS external changed actions.
    Can not get JDBC connection for SYS external changed actions.

  • Failed to create instance if Software Execution Request Manager. 0x80070005

    Using sccm 2012 R2, getting issues on some of computer.
    Task sequence is failing at very end. Client is deployed successfully and all tasks ran in TS
    I can see following errors in SMSTS.log file as below and _SMSTaskSequece folder contains TSEnv.dat
    I am looking for fixes and only found restart during application install might be cause it or access denied.
    Failed to set log directory. Some execution history may be lost.
    The system cannot find the file specified. (Error: 80070002; Source: Windows) OSDSetupHook 16/01/2015 8:17:53 PM 996 (0x03E4)
    Executing task sequence OSDSetupHook 16/01/2015 8:17:53 PM 996 (0x03E4)
    Task Sequence environment not found. OSDSetupHook 16/01/2015 8:17:53 PM 996 (0x03E4)
    Attempting to get active request. OSDSetupHook 16/01/2015 8:17:53 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:17:53 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:17:53 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:17:58 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:17:58 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:03 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:03 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:08 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:08 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:13 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:13 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:19 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:19 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:24 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:24 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:29 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:29 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:34 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:34 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:39 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:39 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:44 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:44 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:49 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:49 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:54 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:54 PM 996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 OSDSetupHook 16/01/2015 8:18:59 PM 996 (0x03E4)
    Waiting for ccmexec process to start. OSDSetupHook 16/01/2015 8:18:59 PM 996 (0x03E4)
    I would really appreciate any help in this regards
    Thanks
    RJ
    RJ09

    Please see smsts.log below. Logs on top are from smsts.log which was created after this file.
    Failed to set log directory. Some execution history may be lost.
    The system cannot find the file specified. (Error: 80070002; Source: Windows)   
    OSDSetupHook 16/01/2015 8:17:53 PM        
    996 (0x03E4)
    Executing task sequence             
    OSDSetupHook 16/01/2015 8:17:53 PM  996 (0x03E4)
    Task Sequence environment not found.              
    OSDSetupHook 16/01/2015 8:17:53 PM  996 (0x03E4)
    Attempting to get active request.           
    OSDSetupHook 16/01/2015 8:17:53 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:17:53 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:17:53 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:17:58 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:17:58 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:03 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:03 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:08 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:08 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:13 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:13 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:19 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:19 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:24 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:24 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:29 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:29 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:34 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:34 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:39 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:39 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:44 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:44 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:49 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:49 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:54 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:54 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:18:59 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:18:59 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:04 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:04 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:09 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:09 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:14 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:14 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:19 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:19 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:24 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:24 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:29 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:29 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:34 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:34 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:39 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:39 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:44 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:44 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:49 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:49 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:54 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:54 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:19:59 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:19:59 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:04 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:04 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:09 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:09 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:14 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:14 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:19 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:19 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:24 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:24 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:29 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:29 PM  996 (0x03E4)
    Failed to create instance if Software Execution Request Managerr. 0x80070005 
    OSDSetupHook 16/01/2015 8:20:34 PM        
    996 (0x03E4)
    Waiting for ccmexec process to start.     OSDSetupHook
    16/01/2015 8:20:34 PM  996 (0x03E4)
    GetActiveRequest failed with error code 0x87d01012    
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    GetActiveRequest failed. 0x87D01012.   OSDSetupHook
    16/01/2015 8:20:43 PM  996 (0x03E4)
    ReleaseActiveRequest failed. 0x87d01012.          
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    Deleting SMS_MaintenanceTaskRequests istance: SMS_MaintenanceTaskRequests.TaskID="{F98436F3-ABC4-490B-B92F-578DB297AC24}". 
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    Removed 1 instance of SMS_MaintenanceTaskRequests for tasksequence.       
    OSDSetupHook 16/01/2015 8:20:43 PM        
    996 (0x03E4)
    Uninstalling Setup Hook               
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    Removing setup hook from registry.      
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    Successfully removed C:\Windows\system32\OSDGINA.DLL      
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    Successfully removed C:\Windows\system32\OSDSETUPHOOK.EXE       
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    Successfully removed C:\Windows\system32\_SMSOSDSetup  OSDSetupHook
    16/01/2015 8:20:43 PM  996 (0x03E4)
    RegQueryValueExW is unsuccessful for Software\Microsoft\SMS\Task Sequence, SMSTSEndProgram               
    OSDSetupHook 16/01/2015 8:20:43 PM  996 (0x03E4)
    GetTsRegValue() is unsuccessful. 0x80070002.   OSDSetupHook
    16/01/2015 8:20:43 PM  996 (0x03E4)
    End program:     OSDSetupHook 16/01/2015 8:20:43 PM 
    996 (0x03E4)
    Successfully finalized logs to SMS client log directory from C:\Windows\CCM\Logs          
    OSDSetupHook 16/01/2015 8:20:43 PM         
    996 (0x03E4)
    RJ09

  • HOW TO CREATE A VIEW WHICH CONTAINS A PARAMETER

    Hi all
    I am trying to create a view which contains paramaters.
    Lets assume that the view may look like this:
    STEP 1:
    CREATE OR REPLACE procedure Myproc(v_count in NUMBER) as
    BEGIN
    EXECUTE IMMEDIATE
    'CREATE OR REPLACE VIEW myview AS
    SELECT COUNT(*) FROM DUAL WHERE ROWNUM like '''||v_count||'%'' ';
    END myproc;
    SHOW ERRORS;
    Procedure created.
    Elapsed: 00:00:00.31
    SQL&gt; SHOW ERRORS;
    No errors.
    STEP 2:
    SQL&gt; EXEC Myproc(2);
    BEGIN Myproc(2); END;
    ERROR at line 1:
    ORA-00998: must name this expression with a column alias
    ORA-06512: at "MYUSERNAME.MYPROC", line 3
    ORA-06512: at line 1
    Elapsed: 00:00:00.16
    It seems that doesn't really likes the third line: "EXECUTE IMMEDIATE".
    Can I get any help with this one ?
    Thank-you
    Robert

    Bear in mind that VIEWs are not supposed to be parameterised. That is why Nature gave us a WHERE clause. However, there is one, albeit slightly clunky, way of doing it....
    SQL> CREATE OR REPLACE VIEW emp_view AS
      2  SELECT * FROM scott.emp
      3  WHERE deptno = sys_context('userenv','client_info')
      4  /
    View created.
    SQL>
    SQL>
    SQL> exec dbms_application_info.set_client_info(10)
    PL/SQL procedure successfully completed.
    SQL> SELECT * FROM emp_view
      2  /
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM
        DEPTNO
          7782 CLARK      MANAGER         7839 09-JUN-81       2450
            10
          7839 KING       PRESIDENT            17-NOV-81       5000
            10
          7934 MILLER     CLERK           7782 23-JAN-82       1300
            10
    SQL> Cheers, APC

  • Create Attachments to Generic Object Services from Webdynpro appliccation

    Hi,
    I have requirement to Create Attachments  to Generic Object Services(GOS) in equipment master (IE03)  from webdynpro when a user clicks on upload button and also allow the user to delete the attachments .
    Can anyone advice me of any Function Modules or logic to use from Web GUI.
    I used below logic from R/3 to create attachments, but from webdynpro this method doesn't work.
    DATA lo_attachment TYPE REF TO cl_gos_document_service.
      CREATE OBJECT lo_attachment.
      CALL METHOD   lo_attachment->create_attachment
           EXPORTING  is_object = ls_object
           IMPORTING  ep_attachment = lp_attachment
    Your inputs are appreciated.
    Thanks
    Rajesh Yalda

    Hi,
    try using the Class CL_GOS_SRV_ATTACHMENT_CREATE with Method EXECUTE_ITS.
    best regards,
    Michael

  • I have trouble creating a pdf portfolio from Outlook: the result does not have "From" or "Subject"

    I have trouble creating a pdf portfolio from Outlook: it creates the portfolio, but the result does not have "From" or "Subject" in the index.  Please help!

    Thank you, I am aware of this function.  The fields are present, but blank.  (It seems that the data is not getting exported…)
    Please keep trying to help me!
    -Nancie

  • Trouble creating pie-chart

    Post Author: ujain82
    CA Forum: WebIntelligence Reporting
    Hello,      I am having trouble creating pie chart. I am calculating different count values from different data providers. Now I need to create a pie chart showing the proportion for each count as I can find the percentage of count.
    My scenario(task):I need count on persons depending on searching on complaint text. So for each search I have a data providers. Like this I am searching for 8 criteria. So I have different data providers for each search. I get person counts from each criteria.
    Now I want to show it in a pie chart. But I could not make it done.Does anyone faced a similar problem? How do I solve my problem?
    Any comments?

    Post Author: Chris Chen
    CA Forum: WebIntelligence Reporting
    Hi ujain82,
    Because you have some data provider,so some metric may have no conjunction,i suggest that you creat variables to reuse them.

  • Error Installing OFM 11.1.1.1 Creating Instance AS

    HI.
    I have a problem installing OFM11g 11.1.1.1 in Windows XP 32 bits.
    The problem is that in the step 12 of 13, when is "Creating instance AS", the installation crash.
    In the log file, the error is:
    opmnctl start: opmn failed to start.
    "C:\Oracle\Middleware\as_1\opmn\bin\opmn.exe" -M: unexpected exit: code 0
    java.lang.Exception: oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:218)
         at oracle.as.install.classic.ca.standard.StandaloneTool.execute(StandaloneTool.java:50)
         at oracle.as.install.classic.ca.standard.StandardProvisionTaskList.execute(StandardProvisionTaskList.java:61)
         at oracle.as.install.classic.ca.ClassicConfigMain.doExecute(ClassicConfigMain.java:126)
         at oracle.as.install.engine.modules.configuration.client.ConfigAction.execute(ConfigAction.java:335)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.run(TaskPerformer.java:87)
         at oracle.as.install.engine.modules.configuration.action.TaskPerformer.startConfigAction(TaskPerformer.java:104)
         at oracle.as.install.engine.modules.configuration.action.ActionRequest.perform(ActionRequest.java:15)
         at oracle.as.install.engine.modules.configuration.action.RequestQueue.perform(RequestQueue.java:63)
         at oracle.as.install.engine.modules.configuration.standard.StandardConfigActionManager.start(StandardConfigActionManager.java:158)
         at oracle.as.install.engine.modules.configuration.boot.ConfigurationExtension.kickstart(ConfigurationExtension.java:81)
         at oracle.as.install.engine.modules.configuration.ConfigurationModule.run(ConfigurationModule.java:82)
         at java.lang.Thread.run(Thread.java:619)
    Caused by: oracle.as.provisioning.exception.ASProvisioningException
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:876)
         at oracle.as.install.classic.ca.standard.InstanceProvisioningTask.doExecute(InstanceProvisioningTask.java:214)
         ... 12 more
    Caused by: oracle.as.provisioning.engine.CfgWorkflowException
         at oracle.as.provisioning.engine.Engine.processEventResponse(Engine.java:596)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:175)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstanceAndComponents(ASInstanceProv.java:114)
         at oracle.as.provisioning.engine.WorkFlowExecutor._createASInstancesAndComponents(WorkFlowExecutor.java:521)
         at oracle.as.provisioning.engine.WorkFlowExecutor.executeWLSWorkFlow(WorkFlowExecutor.java:437)
         at oracle.as.provisioning.engine.Config.executeConfigWorkflow_WLS(Config.java:870)
         ... 13 more
    Caused by: oracle.as.provisioning.util.ConfigException:
    Error al crear la instancia de AS asinst_1.
    Cause:
    Fallo en la operación interna: Error in starting opmn server
    Operation aborted because of a system call failure or internal error
    Action:
    Consulte los logs para obtener más información.
         at oracle.as.provisioning.util.ConfigException.createConfigException(ConfigException.java:123)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:306)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv.createInstance(ASInstanceProv.java:163)
         ... 17 more
    Caused by: oracle.as.management.opmn.optic.OpticException: Error in starting opmn server
    Operation aborted because of a system call failure or internal error
         at oracle.as.management.opmn.optic.OpmnAdmin.executeCommand(OpmnAdmin.java:255)
         at oracle.as.management.opmn.optic.OpmnAdmin.startOpmnServer(OpmnAdmin.java:87)
         at oracle.as.provisioning.fmwadmin.ASInstanceProv._createInstance(ASInstanceProv.java:251)
         ... 18 more
    progress in calculate progress4
    I don´t any idea what is the problem.
    Thanks.

    Hi Adama,
    you can check the install log first (under Program Files\Oracle\Inventory\Logs) ,If log file appears "PermGen space" error ,then you try to change MEM_ARGS to -Xms512m unger \MidXXX\wlserver_10.3\common\bin\CommEnv.cmd
    Good Luck
    Allen

Maybe you are looking for