TargetDataLine.start() event doesn't occur

Hello everybody,
I've got a problem with a LineListener that is not informed about a specific LineEvent.
I created a class Recorder that implements LineListener and uses a TargetDataLine object on which it registers itself as listener.
Here's the code snippet, so you know what I mean:
public class DictateRecorder implements LineListener
    final private TargetDataLine line;
    private boolean bHasListener = false;
    public DictateRecorder()
            throws LineUnavailableException
        // initialisation of line is given here
    public void stop()
        synchronized(line)
            line.stop();
    public void record() throws LineUnavailableException
        if(!bHasListener)
            synchronized(line)
                line.addLineListener(this);
            bHasListener = true;
        synchronized(line)
            line.open(); //update() will be entered
            line.start(); //update() will only be entered, if the thread will sleep some time
        new Thread()
            @Override
            public void run()
                try
                    final ByteArrayOutputStream byteOutStream =
                            new ByteArrayOutputStream();
                    sleep(750);  // workaround
                    byte[] frame = new byte[2];
                    int iBytesRead = 0;
                    do
                        synchronized(line)
                            iBytesRead = line.read(frame, 0, frame.length);
                        byteOutStream.write(frame, 0, iBytesRead);
                    }while(0 < iBytesRead);
                    synchronized(line)
                        line.close();
                catch(LineUnavailableException luex){
                catch(Exception ex){
        }.start();
    public void update(LineEvent event)
        // not entered when line.start() and sleep() is commented out - event.getType() == LineEvent.Type.START
        // always entered when line.open() - event.getType() == LineEvent.Type.OPEN
}As indicated in the above comments, when invoking line.start(), the LineEvent.Type.START does only occur when the thread is sent to sleep for a while. Assuming the line sleep(750) is not in the code, the update() method will never be entered for LineEvent.Type.START. Not even delayed but never.
Can somebody please explain me why? Thanks!
P.S.: I use synchronized statements so the line object can be used by multiple threads without concurrent method access. For example, the stop() method might be called while read access within the thread. I am not perfectly sure if that is needed but it feels somehow safe.
JRE 6 Update 23 (64 Bit)
JDK 6 Update 23 (64 Bit)

P.S.: I use synchronized statements so the line object can be used by multiple threads without concurrent method access. For example, the stop() method might be called while read access within the thread. I am not perfectly sure if that is needed but it feels somehow safe.This isn't written in the documentation anywhere that I'm aware of, but I'm about 99% sure that lines are threadsafe and there's no need for the syncronization code... so get rid of it.
Can somebody please explain me why? Thanks!First, get rid of whatever syncronization code you've put in... lines should already be threadsafe and syncronizing on them is just not a good idea. I'd worry that your syncronization code is actually causing the problem...
And then report back with the new code and report the new behavior of your code...

Similar Messages

  • I was using iMovie yesterday and it was working. But today when it started it doesn't show anything in the window on the left. No events, no projects, nothing. It's blank and so is the rest of the screen. Does anyone know what my problem might be?

    I was using iMovie yesterday and it was working perfectly. But today when it started it doesn't show anything in the window on the left. No events, no projects, nothing. It's blank and so is the rest of the screen. Does anyone know what my problem might be?
    Where does the imovie.library reside? where do the events and projects reside?

    Hi winkydb,
    Thanks for visiting Apple Support Communities.
    If you do not see the events or clips you were working with previously, first see if you can switch back to the library you were using with this method:
    Show or hide the Libraries list
    You select libraries and events in the Libraries list.
    To show the Libraries list: Click the Show button on the left side of the toolbar.
    The default location for iMovie libraries is the Movies folder in your home folder.
    You can find this information here:
    iMovie (2013): Work with multiple libraries
    http://support.apple.com/kb/PH14745
    Best Regards,
    Jeremy

  • NW BPM start event not calling

    Hi Experts,
    I have deployed below process instance with start event having message trigger - synchronous service interface.
    While testing from soapUI it gives error like:
    <SOAP:Fault>
             <faultcode>SOAP:Server</faultcode>
             <faultstring>Server Error</faultstring>
             <detail>
                <jpr:Fault xmlns:jpr="http://com.sap/aii/proxy/xiruntime/">com.sap.aii.proxy.xiruntime.core.ESPXISystemFaultException: Error encountered during processing of XI request message in inbound ESP; Hint: com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.</jpr:Fault>
             </detail>
          </SOAP:Fault>
    I already searched SDN on the above error, but no clue.
    So I am pasting complete logs from NWA:
    process()
    [EXCEPTION]
    com.sap.engine.interfaces.webservices.runtime.RuntimeProcessException: Technical difficulties were experienced during process execution.
    at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:1021)
    at com.sap.glx.adapter.app.ucon.wsprov.GalaxyImplementationContainer.invokeMethod(GalaxyImplementationContainer.java:109)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process0(RuntimeProcessingEnvironment.java:710)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.preProcess(RuntimeProcessingEnvironment.java:662)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:322)
    at com.sap.engine.services.webservices.espbase.server.runtime.RuntimeProcessingEnvironment.process(RuntimeProcessingEnvironment.java:245)
    at com.sap.engine.services.webservices.espbase.xi.impl.ESPXIMessageProcessorImpl.process(ESPXIMessageProcessorImpl.java:38)
    at com.sap.aii.proxy.xiruntime.core.esp.ESP_XI_MessageAdapter.invokeXI2ESPProcessor(ESP_XI_MessageAdapter.java:430)
    at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeImpl.syncInvokeWSInterfaceIn(SyncInvokeWSInterfaceIn_PortTypeImpl.java:23)
    at com.sap.aii.proxy.xiruntime.sbeans.esp.xiproxies.SyncInvokeWSInterfaceIn_PortTypeBean.invokeMethod(SyncInvokeWSInterfaceIn_PortTypeBean.java:71)
    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 com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
    at com.sun.proxy.$Proxy3245.invokeMethod(Unknown Source)
    at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.parallelWSCall(XmlProxyJ2EE.java:649)
    at com.sap.aii.proxy.xiruntime.core.XmlProxyJ2EE.call(XmlProxyJ2EE.java:147)
    at com.sap.aii.proxy.xiruntime.core.XmlProxy$ProxyBeanCaller.call(XmlProxy.java:206)
    at com.sap.aii.proxy.xiruntime.core.XmlProxy.processRequest(XmlProxy.java:181)
    at com.sap.aii.proxy.xiruntime.core.XmlInbound.processRequestMessage(XmlInbound.java:115)
    at com.sap.aii.proxy.xiruntime.core.XmlInbound.processMessage(XmlInbound.java:78)
    at com.sap.aii.proxy.xiruntime.sbeans.JPRBean.onMessage(JPRBean.java:156)
    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 com.sap.engine.services.ejb3.runtime.impl.RequestInvocationContext.proceedFinal(RequestInvocationContext.java:47)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:166)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatesTransition.invoke(Interceptors_StatesTransition.java:19)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Resource.invoke(Interceptors_Resource.java:50)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulTransactionAssociation.invoke(Interceptors_StatefulTransactionAssociation.java:45)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:191)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_StatefulSessionInstanceGetter.invoke(Interceptors_StatefulSessionInstanceGetter.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.doWorkWithAttribute(Interceptors_Transaction.java:37)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_Transaction.invoke(Interceptors_Transaction.java:21)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_SecurityCheck.invoke(Interceptors_SecurityCheck.java:25)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.Interceptors_ExceptionTracer.invoke(Interceptors_ExceptionTracer.java:17)
    at com.sap.engine.services.ejb3.runtime.impl.AbstractInvocationContext.proceed(AbstractInvocationContext.java:179)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultInvocationChainsManager.startChain(DefaultInvocationChainsManager.java:138)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:172)
    at com.sap.engine.services.ejb3.runtime.impl.DefaultEJBProxyInvocationHandler.invoke(DefaultEJBProxyInvocationHandler.java:99)
    at com.sun.proxy.$Proxy3271.onMessage(Unknown Source)
    at com.sap.engine.messaging.impl.spi.ServicesImpl.deliver(ServicesImpl.java:362)
    at com.sap.aii.adapter.xi.ms.XIEventHandler.onDeliver(XIEventHandler.java:1098)
    at com.sap.engine.messaging.impl.core.queue.consumer.RequestConsumer.onMessage(RequestConsumer.java:75)
    at com.sap.engine.messaging.impl.core.queue.Queue.run(Queue.java:1033)
    at com.sap.engine.messaging.runtime.MSWorkWrapper.run(MSWorkWrapper.java:58)
    at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:185)
    at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:302)
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.adapter.app.ucon.UnifiedConnectivityAdapter.invokeProvisionedMethod(UnifiedConnectivityAdapter.java:987)
    ... 77 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException: Exception during prepare, rolling back
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:196)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.commit(AbstractTransaction.java:77)
    at com.sap.glx.core.kernel.mmtx.PrimaryTransaction.inPrepare(PrimaryTransaction.java:163)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
    ... 79 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script "_Ariba_Order_request:START_EVENT_UC_Start(
          com.sap.glx.adapter.UnifiedConnectivityAdapter:Request request,
          com.sap.glx.adapter.BPMNAdapter:Event_0_Start_5b8dad8a77346e54760570e1d1c8c088 event){
      messageId=request:messageId;
      initiator=request:initiator;
      kicker=request:kicker;
      instance=new com.sap.glx.adapter.BPMNAdapter:Instance_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(initiator, null, kicker, false, messageId, null);
      bridge=new com.sap.glx.adapter.internal.Synchronizer:Bridge_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, null, null, null, null);
      bridge:setRequest(request);
      token=new com.sap.glx.adapter.BPMNAdapter:Token_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance, 2, null, null, null);
      delete event;
      exit=new com.sap.glx.adapter.BPMNAdapter:Exit();
      exit:onActivation("E0B249478BB1FD54F78611E3B53000059A3C7A00", instance, token);
      delete exit;
      controller=new com.sap.glx.adapter.internal.ExceptionAdapter:ExceptionController();
      controller:setContext(token);
      delete controller;
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_1_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      view_7=new com.sap.glx.adapter.internal.ContainerAdapter:View_2_TextVariables_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      instance:setContainerObject("TextVariables", view_7);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_3_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      role_5=new com.sap.glx.adapter.internal.ContainerAdapter:View_0_Ariba_Order_request_PotentialOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_4_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      role_8=new com.sap.glx.adapter.internal.ContainerAdapter:View_3_Ariba_Order_request_ExcludedOwners_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_5_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      role_6=new com.sap.glx.adapter.internal.ContainerAdapter:View_1_Administrators_5b8dad8a77346e54760570e1d1c8c088(instance, scope, -1, false, false, null);
      instance:setContainerObject("Administrators", role_6);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_6_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_2=new com.sap.glx.adapter.internal.ContainerAdapter:Context_1_ProcessInstanceAttributes_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      instance:setContainerObject("ProcessInstanceAttributes", context_2);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_7_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_8_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_1=new com.sap.glx.adapter.internal.ContainerAdapter:Context_0_reqdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      scope=new com.sap.glx.adapter.internal.TypeRegistry:Scope_11_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      context_4=new com.sap.glx.adapter.internal.ContainerAdapter:Context_3_payloadID_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null);
      payload=request:getData();
      mapper=new com.sap.glx.adapter.internal.Transformer:DataMapper();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      yves_in:setData("", "$cXML", payload, "365B925081E9760C6CFC8AAE6A38BE4A");
      yves_out=new com.sap.glx.adapter.internal.Transformer:Data();
      data=context_1:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "B0A4F97FB4313113B63F888AA86D7449");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", copy, "B0A4F97FB4313113B63F888AA86D7449");
      data=context_4:getData();
      scope=new com.sap.glx.adapter.internal.TypeRegistry:GenericScope(null, "349213D98BEBBF54C08B2D9F20B3D5C7");
      copy=scope:copy(data);
      delete scope;
      yves_out:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", copy, "349213D98BEBBF54C08B2D9F20B3D5C7");
      mapper:map("E0B249478BB72A80F78611E38B9D00059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, yves_out);
      data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", "B0A4F97FB4313113B63F888AA86D7449");
      context_1:setData(data);
      data=yves_out:getData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", "349213D98BEBBF54C08B2D9F20B3D5C7");
      context_4:setData(data);
      delete yves_in;
      delete yves_out;
      viewUpdater=new com.sap.glx.adapter.internal.ContainerAdapter:ViewUpdater();
      delete viewUpdater;
      delete mapper;
      extractor=new com.sap.glx.adapter.internal.Transformer:DataExtractor();
      yves_in=new com.sap.glx.adapter.internal.Transformer:Data();
      data=context_1:getData();
      yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:reqdata", data, "B0A4F97FB4313113B63F888AA86D7449");
      data=context_4:getData();
      yves_in:setData("example.org/orderreq/Ariba_Order_request/Ariba_Order_request", "$example.org/orderreq/Ariba_Order_request/Ariba_Order_request:payloadID", data, "349213D98BEBBF54C08B2D9F20B3D5C7");
      value1=extractor:extractAs("E0AAACCD28D4CDD4F78711E3840300059A3C7A00_5b8dad8a77346e54760570e1d1c8c088", yves_in, "BOOLEAN");
      delete yves_in;
      delete extractor;
      subscription=new com.sap.glx.adapter.internal.CorrelationAdapter:Subscription_0_Wait_for_response_message_5b8dad8a77346e54760570e1d1c8c088(instance, value1, null, null);
      subscription:addModifier(2, context_1);
      subscription:addModifier(2, context_4);
      new com.sap.glx.adapter.internal.LoggingAdapter:FlightRecorder_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088(instance);
      eventLogger=new com.sap.glx.adapter.internal.EventLogAdapter:EventLogger_0_Ariba_Order_request_5b8dad8a77346e54760570e1d1c8c088();
      eventLogger:createEntryWithMessageId(1, "E0B249478AE020FCF78611E3925F00059A3C7A00", instance, "E0B249478BB1FD54F78611E3B53000059A3C7A00", kicker, messageId);
      delete eventLogger;
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:83)
    at com.sap.glx.core.kernel.execution.transition.Transition.commence(Transition.java:196)
    at com.sap.glx.core.kernel.mmtx.DirectNestedTransaction.inPrepare(DirectNestedTransaction.java:69)
    at com.sap.glx.core.kernel.mmtx.AbstractTransaction.do_prepare(AbstractTransaction.java:194)
    ... 82 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: An exception occurred while executing the script command "context_3=new com.sap.glx.adapter.internal.ContainerAdapter:Context_2_respdata_5b8dad8a77346e54760570e1d1c8c088(instance, scope, 0, false, false, null)"
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:803)
    at com.sap.glx.core.kernel.execution.transition.ScriptTransition.execute(ScriptTransition.java:78)
    ... 85 more
    Caused by: com.sap.glx.core.kernel.api.TransitionRollbackException
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:701)
    at com.sap.glx.core.kernel.mmtx.AbstractTransactionBase.rollback(AbstractTransactionBase.java:710)
    at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:234)
    at com.sap.glx.core.kernel.trigger.config.Script$NewInstance.execute(Script.java:368)
    at com.sap.glx.core.kernel.trigger.config.Script.execute(Script.java:798)
    ... 86 more
    Caused by: com.sap.glx.core.kernel.api.TransitionException: Cannot find type for :#cXML
    at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.instantiateSDO(TypeRegistryImpl.java:176)
    at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl.access$000(TypeRegistryImpl.java:51)
    at com.sap.glx.core.internaladapter.typeregistry.TypeRegistryImpl$3.invoke(TypeRegistryImpl.java:372)
    at com.sap.glx.core.dock.impl.DockObjectImpl.invokeMethod(DockObjectImpl.java:657)
    at com.sap.glx.core.internaladapter.ContainerAdapter$InstanceContainerHandler.onConstruction(ContainerAdapter.java:769)
    at com.sap.glx.core.dock.impl.DockObjectImpl.creation(DockObjectImpl.java:284)
    at com.sap.glx.core.dock.impl.GalaxyClassImpl.create(GalaxyClassImpl.java:224)
    ... 88 more
    --Divyesh

    Hi Jocelyn,
    sorry for OT question.
    I`m experiencing Transition exception a lot. But it Transition Exception caused by
    Caused by: com.sap.glx.core.kernel.api.CancelTransitionException: java.lang.IllegalArgumentException: Generator skipped on service 'cezdata.corp/wmsintegration/pr/pm/WMSIS019/WMSIS019_pool' operation 'SI_WMSIS019_In'
    Let me explain the bug - I have developed application with cca 30 BPM processes. Each of them, of course, has Message Trigger.
    But sometimes, that trigger just stops working and when I try to start a process, that exception is logged.
    It is quite easy to repair - I have to delete original Message trigger and create a new one from exactly same wsdl - so formally nothing changes.
    But it is really annoying, and my customer has grey hair out of that. It is unpredictable which process stops working because of that.
    I`m on SAP PO 7.4 SP06 (AEX, BPM, BRM)
    Dont you know what causes that problem and how to avoid it?
    Thank you

  • Distiller Start Error, Time-out occured

    We are using Acrobat distiller 7 in our Formscape/Bottomline
    Project. The incoming file is a pdf  from JDE OneWorld XE.  WHen Formscape tries to create the pdf, it has an error that says "Distiller start error. time-out occured." 
    Has anyone else had this issue? What could be causing it? and How do I fix it? Distiller 9 doesn't work with Formscape/Bottomline.  I haven't tried 8

    This forum is for issues relating to Distiller Server, not Acrobat Distiller. Please repost in the Acrobat Windows forum.

  • Z BO not workin for start events

    Hi all,
    I have creted a Z BO from the std. BO of BUS2032 (Sales Order) and have added some new attributes, methods to it.
    The Z BO works fine in conditions and activities in WF.
    BUT the prob. is i have used the Z BO in the Start Events in my WF but then its not workin.
    Also i cant see an entry in trace for the start events trigger. when i use the standard BO in start events it works fine.
    Can nybody tell me whts the prob.
    Rgds

    HI n thnkx again..
    I created a Z BO with custom attributes and delegated the same to the std. one.
    Now i am using the std. BO in WF start events and in Condition step of my WF.
    Now when i change my sales order i dont get any mail as such thogh my Start events is activated.
    and at the same time i check in SWI3 (WF Log) i see errors such as:
    ( Error '9' when calling service 'SO_OBJECT_SEND'
    Problems occurred when generating a mail
    Notification of completion cannot be generated
    Error when determining attribute 'NETVALUE' of object instance '[BO.ZZBUS2032.]' )
    But at the same time when i execute my WF via SWUS T-code i get a mail wid all relavant information this means that
    my binding is right then.. or corect me if i am wrong..
    am i missing someting.. inputs needed on the same..
    Rgds

  • Aperture 3.2.4 macbookpro lion: image disappears after loading from any project; repairing everything on starting app doesn't fix it. Only restarting the computer works. Any help, please? ... in non-technical language please. Thanks

    aperture 3.2.4, macbookpro lion: image disappears after loading from any project; repairing everything on starting app doesn't fix it. Only restarting the computer works. Any help, please? ... in non-technical language please. Thanks

    “Hi Kirby, thanks a lot for your answer.
    I got one answer, from DMoore, saying:
    “Try Safe boot and then restart with only Aperture open.  Still doent work write back with more details like Ram, HD capacity/free space.  Are these thumbnails or Previews? Have you turned off building previews in AP preferances?
    Safe boot   http://support.apple.com/kb/HT1564
    Starting up into Safe Mode does several things:
    1  It forces a directory check of the startup volume.
    2  It loads only required kernel extensions (some of the items in /System/Library/Extensions).
    3  In Mac OS X v10.3.9 or earlier, Safe Mode runs only Apple-installed startup items (such items may be installed either in /Library/StartupItems or in /System/Library/StartupItems; these are different than user-selected account login items).
    4  It disables all fonts other than those in /System/Library/Fonts (Mac OS X v10.4 or later).
    5  It moves to the Trash all font caches normally stored in /Library/Caches/com.apple.ATS/(uid)/ , where (uid) is a user ID number such as 501 (Mac OS X v10.4 or later).
    6  It disables all startup items and login items (Mac OS X v10.4 or later).
    7  Mac OS X v10.5.6 or later: A Safe Boot deletes the dynamic loader shared cache at (/var/db/dyld/). A cache with issues may cause a blue screen on startup, particularly after a Software Update. Restarting normally recreates this cache.”
    As I don’t know much about the technical aspects of computers, I don’t really understand the first answer, and it sounds like following it might produce unwanted changes.
    But I understand your questions, so I’ll try to answer them;
    "loading from any Project" means that I encounter the problem when I’m using a project, possibly after/because I’ve left the Mac on overnight, and/or  I’ve made a lot of adjustments, and, once the problem is there, it happens in any other project which I open – the images load then disappear.
    I can see images in the Browser, so it only happens in the Viewer(s).
    I’m afraid I don’t understand what you mean by: “If you select "Photos" from near the top of the Library tab of the Inspector, does it show you all of your Images?”. I am a newcomer to Aperture, so I don’t know what some of the buttons are for yet, but when I want to look at and adjust my pictures, I import them, as referenced images, then Aperture creates a folder/project in the Library. When I click on that Project (when it’s working properly), all the images appear in the Browser or the Viewers  – without me needing to “select Photos from near the top of the Library tab of the Inspector”. I selected it and looked at all the items in the dropdown menu, but none of them seems to offer the option to ‘show all the images’. So I’m not sure how to answer your question except to say that – yes, I can see all the pictures in the Browser or the Viewers (when it’s working properly), but I don’t seem to need to use the Photos button to achieve this.
    Did Aperture work before?
    Yes it worked ok for a while, but I only purchased it on 24th May.
    If I understand correctly, the difference between thumbnail and preview is that the thumbnail is what I see when the “Loading” wheel is turning, and the disappearance of this wheel after a few seconds means that I am now looking at the preview (also, the thumbnail cannot be adjusted).
    So I think the problem occurs when the thumbnail has finished loading; the viewer going blank/grey might mean that it is not showing the preview.
    But I have not changed the default Preview settings in Aperture Preferences.
    My macbookpro details:
    2.7 Ghz Intel Core i7
    Memory: 8 Gb 1333 MHz DDR3
    Hard Drive capacity 499.25 GB
    Available 387.36 GB
    I have noticed another problem: I cannot apply the same rating to multiple images: following the instructions, I select a group of contiguous (or non- contiguous) images, choose a selection eg “5stars” using the keyboard, but the stars only appear in the last selected image – even though all the images are still showing as selected.”
    I hope this helps you to understand more.
    Thank you for trying to help me.
    Tony

  • I have a problem with iCal.Since 2 days ago,I couldn't add new event in iCal on my ipad2.It Keeps saying 'No calendar has been set", then if I go to Calendar field,choose one calendar,it gives this msg "That event doesn't belong to that event store".

    I have a problem with iCal.Since 2 days ago,I couldn't add new event in iCal on my ipad2.It Keeps saying 'No calendar has been set", then if I go to Calendar field,choose one calendar,it gives this msg "That event doesn't belong to that event store". I can add event from iCloud and from my iCal on my iMac. Please help

    Most likely you have Office 2004 which are PPC-only applications and will not work in Lion. Upgrade to Office 2011. Other alternatives are:
    Apple's iWork suite (Pages, Numbers, and Keynote.)
    Open Office (Office 2007-like suite compatible with OS X.)
    NeoOffice (similar to Open Office.)
    LibreOffice (a new direction for the Open Office suite.)

  • When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-tunes to play a single album and then stop, without continuing on through my entire library. It's a problem that doesn't occur when I'm listening through my i-pod.

    When playing my i-tunes library through my hi-fi via Airport Express, how can I get i-Tunes to play a single album and then stop, without continuing on through my entire library? It's a problem that doesn't occur when listening on my i-pod.

    Hey everyone in Apple world!
    I figured out how to fix the flashing yellow screen problem that I've been having on my MBP!  Yessssss!!!
    I found this super handy website with the golden answer: http://support.apple.com/kb/HT1379
    I followed the instructions on this page and here's what I did:
    Resetting NVRAM / PRAM
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the second time.
    Release the keys.
    I went through the 6 steps above twice, just to make sure I got rid of whatever stuff was holding up my bootup process.  Since I did that, my MBP boots up just like normal.  No flashing yellow screen anymore!!   
    (Note that I arrived at this solution when I first saw this page: http://support.apple.com/kb/TS2570?viewlocale=en_US)
    Let me know if this works for you!
    Elaine

  • Creating a new library with 'Shift/Start iTunes' doesn't work

    I'm trying to start a new library, but pressing Shift when I start itunes doesn't work. It takes me to my existing library.
    I've uninstalled, rebooted and reinstalled, and completely deleted any other libraries.
    Any ideas how I can start a new library any other way?

    Thanks, that didn't work the first time but did work the second.
    Perhaps I wasn't holding the shift key long enough - you presumably must keep holding it until the 'choose library' dialog actually pops up. I was releasing it after I'd clicked the 'start itunes' button.

  • Delegated Object's event not appearing in the "start event" tab

    Hi,
    I have created a object type say Y00Mara( copy of BUS1001) ....then created a subtype from it  ...called Ymara00.
    then I created a deleegation ...if I test the supertype i can now see the new objects/attributes etc...
    I also added one event "old_material_changed"  in the subtype and changed the status on both the subtype and delegted obj to "implemented".
    when i am trying to use this delegated obj in the "start event" tab of a WF ...the new event "old_material_changed" is not appearing...
    what maay be thhe reason

    HI,
    Please maintain the delegation with the subtype ( Y00Mara)  and supertype ( BUS1001 ) by using transaction SWE_SET_DELEGATION. Now run the above transaction.
    Click on new entres.
    Enter the follwoing values...
    Object type  :  BUS1001
    Person responsible : your sap user id
    Delegation type :  Y00Mara
    Save it.
    Now whenever you use BUS1001, all the custom mentod, events will be available there.
    Thanks and regards,
    SNJY

  • Urgent - not able to add or change start events in workflow

    Hi,
      I have added one event as start event for a workflow. Now I want to change the event to some other event.
      But it is not allowing me to do any changes to the start events.It is showing a pop up window with 'Client 002 has status 'not modifiable' & 'Choose 'Display object' or 'Cancel'.' But it is allowing me to do changes to my workflow steps.
    Where is  the problem?
    Is there anything I need to check with some customizing? Is it a Basis related issue?
    Thanks,
    Sivagami

    Well it depends on the settings done by basis. But usually this message comes in when you try to modify a workflow/code in CLNT2 but the code was developed in CLNT1. The cause to it is the CTS is specific to the client in which it is created and you can`t add a task (subrequest ) to it in a different client.
    Solution: Check the client you are working in . Should help you !!
    Let me know if it does!
    regards
    Anuj Sethi

  • Synchronous start event for a BPM process??

    Hi,
    If I trigger a BPM Process from say a BSP Application(Shld be able to do this as all I need is a Service Interface (Start Event) related to the BPM), If for some reason the process fails to start -- Is there a way of  having a response that would let the triggering application know that the BPM process instantiation has failed...
    What I am trying to understand is :
    1)would the Service Interface for the BPM start Event, provide a response ?...??
    2)Is it possible to have some kind of logic implementation for this Service Interface(that starts a BPM Process) ??
    Eventhough there was a similar message in the forum, I wanted to have a clear picture ....
    A detailed reply would be highly appreciated ..Thanks !
    Best Regards,
    Arun

    Hi Arun,
    I guess you need to distinguish 2 to 3 cases here:
    In case you used a snychronous call in the service interface definition assigned to the process start event it will result in a SOAP fault, which says that the process started successfully. Reason for that is explained here: Starting a BPM Process - Where is the Service?
    Problems within your process would also not be reflected in the SOAP message (e.g. if there is some issue within the first step after the process has been started). I guess that is somehow obvious as the process has been started after all, but I wanted to state it anyways.
    Finally and that's possibly the most important point for you: If there are any problems during the instantiation and in the end no process has been started then this should be reflected in the SOAP result. If not I would consider it as an issue in the implementation and would like to ask you to open a ticket for it on http://service.sap.com/message
    More details could be found in the documentation:
    Starting a Process
    https://help.sap.com/saphelp_nwce711/helpdata/en/62/a6d7ac03994e0796c6b949c8952547/frameset.htm
    Creating Service Interface Definitions
    https://help.sap.com/saphelp_nwce711/helpdata/en/47/62632a3c304359e10000000a42189c/frameset.htm
    Hope that helps,
    Martin

  • Multiple start events in a process

    How does one add more than one start event to a process?
    "6.2.1.2 Using Multiple Start Events in a Process" of the modeling and implementation guide suggests this should be possible. I'd like to be able to create process instances using a none start event followed by a user task defined with the initiator pattern, so users can initiate the process. I also need to support creation of process instances via web service call. I should be able to accomplish this using a none start event followed by a receive task. However, I can't seem to get both in a single process. It only seems to allow a single start event.

    Sorry, I didn't realize that my component palette was being hidden - so I was missing a lot of activity/flow object types.
    Why is there only a small subset of flow objects displayed in the header of the process editor? (the one with the swimlanes)

  • Business objects and start events required for CO11N and CO13 transactions

    Hi,
    We do production order <b>confirmation</b> and <b>cancellation</b> in CO11N and CO13 respectively. Can somebody please tell me the corresponsing business objects and the start events for them? This is a very urgent issue, I will surely rewad good points.
    I guess we need to use AFVC_PM object and "finalconfirmation" event for the confirmation.
    Please confirm this and kindly suggest the same for cancellation.
    Thanks,
    Max

    Hi Max,
    You will have to use the object BUS2005 - which is for Production order.
    If you do not have Required events in the BO, you will have to extend object to add those custom events e.g. Cancellation event.
    In this case you wil have to use Status management technique for raising events if standad transaction is not raising them.
    Hope following SAP Help link might help you  to start off..
    http://help.sap.com/saphelp_47x200/helpdata/en/c5/e4aed5453d11d189430000e829fbbd/content.htm
    Regards,
    Akshay Bhagwat

  • In Work flow Iam enable to change the start event which I gave .

    In Workflow Iam enable to change the start event .The message is 'not modifiable'.

    Hi,
    1. If you are in QA or PRD system or rather in test client of development system, you will not be able to chage the event linkage as for these systems, client status is maintained as non-modifiable.
    2. second reason may be you are trying to change the event linkage when you are in diaply mode of transaction rather than chage mode !
    Hope this helps.
    Regds,
    Akshay

Maybe you are looking for