ConcurrentModificationException occurs while using RotateTransition

Hello friends, I'm developing a desktop game using JavaFX and I'm facing a serious problem of ConcurrentModificationException which completely hangs my application. Apart from main thread, my application contains some threads which are working independently. Some events (actons) occurs on particular point in time eg rotating a wheel on every fix period. This exception is really uncertain.
I'm not able to recognize  this error. The exception shows some LinkedHashMap, which got modified while traversing it. But its an internal thing which is controlled by main thread, so I don't know how to prevent this exception.
Please help me in this regard.
java.util.ConcurrentModificationException
  at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(Unknown Source)
  at java.util.LinkedHashMap$KeyIterator.next(Unknown Source)
  at javafx.scene.Parent.recomputeBounds(Parent.java:1526)
  at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
  at javafx.scene.Node.updateGeomBounds(Node.java:3142)
  at javafx.scene.Node.getGeomBounds(Node.java:3102)
  at javafx.scene.Node.getLocalBounds(Node.java:3084)
  at javafx.scene.Node.getTransformedBounds(Node.java:3002)
  at javafx.scene.Parent.recomputeBounds(Parent.java:1577)
  at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
  at javafx.scene.Node.updateGeomBounds(Node.java:3142)
  at javafx.scene.Node.getGeomBounds(Node.java:3102)
  at javafx.scene.Node.getLocalBounds(Node.java:3084)
  at javafx.scene.Node.updateTxBounds(Node.java:3155)
  at javafx.scene.Node.getTransformedBounds(Node.java:3002)
  at javafx.scene.Parent.recomputeBounds(Parent.java:1528)
  at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
  at javafx.scene.Node.updateGeomBounds(Node.java:3142)
  at javafx.scene.Node.getGeomBounds(Node.java:3102)
  at javafx.scene.Node.getLocalBounds(Node.java:3084)
  at javafx.scene.Node.updateTxBounds(Node.java:3155)
  at javafx.scene.Node.getTransformedBounds(Node.java:3002)
  at javafx.scene.Parent.recomputeBounds(Parent.java:1577)
  at javafx.scene.Parent.impl_computeGeomBounds(Parent.java:1275)
  at javafx.scene.Node.updateGeomBounds(Node.java:3142)
  at javafx.scene.Node.getGeomBounds(Node.java:3102)
  at javafx.scene.Node.impl_computeLayoutBounds(Node.java:2945)
  at javafx.scene.Node$16.computeBounds(Node.java:2802)
  at javafx.scene.Node$LazyBoundsProperty.get(Node.java:7545)
  at javafx.scene.Node$LazyBoundsProperty.get(Node.java:7515)
  at javafx.scene.Node.getLayoutBounds(Node.java:2817)
  at javafx.scene.Parent.computePrefHeight(Parent.java:954)
  at javafx.scene.Parent.prefHeight(Parent.java:879)
  at javafx.scene.Parent.computeMinHeight(Parent.java:984)
  at javafx.scene.Parent.minHeight(Parent.java:903)
  at javafx.scene.layout.Region.computeChildMinAreaHeight(Region.java:1565
  at javafx.scene.layout.Region.getMaxAreaHeight(Region.java:1721)
  at javafx.scene.layout.Region.computeMaxMinAreaHeight(Region.java:1665)
  at javafx.scene.layout.StackPane.computeMinHeight(StackPane.java:276)
  at javafx.scene.Parent.minHeight(Parent.java:903)
  at javafx.scene.layout.Region.minHeight(Region.java:1349)
  at javafx.scene.layout.Region.computeChildPrefAreaHeight(Region.java:159
9)
  at javafx.scene.layout.VBox.getAreaHeights(VBox.java:394)
  at javafx.scene.layout.VBox.layoutChildren(VBox.java:490)
  at javafx.scene.Parent.layout(Parent.java:1018)
  at javafx.scene.Scene.layoutDirtyRoots(Scene.java:516)
  at javafx.scene.Scene.doLayoutPass(Scene.java:487)
  at javafx.scene.Scene.access$3900(Scene.java:170)
  at javafx.scene.Scene$ScenePulseListener.pulse(Scene.java:2203)
  at com.sun.javafx.tk.Toolkit.firePulse(Toolkit.java:363)
  at com.sun.javafx.tk.quantum.QuantumToolkit.pulse(QuantumToolkit.java:46
0)
  at com.sun.javafx.tk.quantum.QuantumToolkit$9.run(QuantumToolkit.java:32
9)
  at com.sun.glass.ui.win.WinApplication._runLoop(Native Method)
  at com.sun.glass.ui.win.WinApplication.access$100(WinApplication.java:29
  at com.sun.glass.ui.win.WinApplication$3$1.run(WinApplication.java:73)
  at java.lang.Thread.run(Unknown Source)

sharing some part of code, where mostly causes error
public void countDown(Text timeField1, int usrlim, Text tscore) {
String str1 = "";
sound++;
double total = textt.calculatetotalcell();
AudioAccess.mainsound.stop();
AudioAccess.rotatesound.play();
//serverside results validation
if (total > 0) {
textt.previousauto();
//Animate Rotatate making True
startrotate.RotateAnimate(randomNumber, imagview1); //many times error comes here
try {
Thread.sleep(2000);
} catch (InterruptedException ex) {
ex.printStackTrace();
getResponse(clientDetails);
result = init.results;
while (result[0].trim().equalsIgnoreCase("XX")) {
try {
Thread.sleep(100);
responsecount++;
if (responsecount < 10) {
getResponse(clientDetails);
} else {
stucker = true;/* intentionally pause the Application*/
tempblockrotate = true;
new dialogthrad().start();
messagedialog = " PLEASE LOGIN AGAIN ";
defaultexitoperation();
break;
result = init.results;
} catch (InterruptedException ex) {
ex.printStackTrace();
if (tempblockrotate) {
Thread.currentThread().interrupt();
} else {
randomNumber = Integer.parseInt(result[0].trim());
sound = 0;
Platform.runLater(new Runnable() {
@Override
public void run() {
startrotate.RotateAnimate(randomNumber, imagview1);//many times error comes here
AudioAccess.mainsound.stop();
AudioAccess.rotatesound.play();
if (total > 0) {
textt.setpreviousauto();
textt.clear();
localtempmin = currentclockmin;
localtempsec = currentclocksec;
localtempsec = localtempsec - 10;
int i1 = 0;
while (currentclocksec != localtempsec - 1) {
try {
Thread.sleep(1000);
} catch (InterruptedException ex) {
Logger.getLogger(TargetTimer.class.getName()).log(Level.SEVERE, null, ex);
Disablepane.setDisable(false);
CompoBuild.Keyboardenableflag = true;
textt.Resultsound(randomNumber);
AudioAccess.placebetsound.play();
AudioAccess.mainsound.play();
AudioAccess.winsound.play();
for (int i = 1; i <= 6; i++) {
winrecord[i - 1] = winrecord[i];
winrecord[6] = String.valueOf(randomNumber);
for (int i = 0; i < 7; i++) {
str1 = str1 + " " + winrecord[i];
Gamedata.setText(str1);
updateBalance(false);
textt.blinkAnimate1(randomNumber);
textt.circleblink.setOpacity(1);
try {
Thread.sleep(2000);
} catch (InterruptedException ex) {
Info.printStackTrace(ex);
if (total > 0) {
getWinner();
tempblockupdatebalanceflag = false;/* Temporary update balance thread Releasing*/
Platform.runLater(new Runnable() {
public void run() {
if (lobbyroot.getChildren().contains(p)) {
pflag = false;
new progressThread().start();

Similar Messages

  • WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.

    I have two forests with a transitive on-way trust between them: PROD -> TEST (test trusts PROD). I had previously had kerberos authentication working with winrm from PROD to machines in TEST. I have verified the trust is healthy, I also verified users
    in TEST can use WINRM with kerberos just fine. Users from PROD cannot connect via kerberos to machines in TEST with winrm.
    I have verified the service has registered the appropriate SPNs. I ran dcdiag against all my PROD and TEST domain controllers and didn't find anything that would prevent kerberos from happening. I even tried disabling the firewall entirely on my TEST dcs
    but that didn't gain me anything.
    I've enabled kerberos logging but only see the expected errors such as it couldn't find a PROD SPN for the machine, which it shouldn't from what I understand, it should go to the TEST domain and find the SPN from there.
    I'm really out of next steps before I call PSS and hope someone here has run into this and could provide me some next steps.
    PowerShell Error:
    Connecting to remote server failed with the following error message : WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.  
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config. For more information, see the about_Remote_Troubleshooting Help topic.
        + CategoryInfo          : OpenError: (:) [], PSRemotingTransportException
        + FullyQualifiedErrorId : PSSessionStateBroken
    winrs Error:
    Winrs error:
    WinRM cannot process the request. The following error occured while using Kerberos authentication: The network path was not found.  
     Possible causes are:
      -The user name or password specified are invalid.
      -Kerberos is used when no authentication method and no user name are specified.
      -Kerberos accepts domain user names, but not local user names.
      -The Service Principal Name (SPN) for the remote computer name and port does not exist.
      -The client and remote computers are in different domains and there is no trust between the two domains.
     After checking for the above issues, try the following:
      -Check the Event Viewer for events related to authentication.
      -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or use HTTPS transport.
     Note that computers in the TrustedHosts list might not be authenticated.
       -For more information about WinRM configuration, run the following command: winrm help config.

    Hi Adam,
    I'm a little unclear about which SPNs you were looking for, in which case could you confirm you were checking that on the computer object belonging to the actual destination host it has the following SPNs registered?
    WSMAN/<NetBIOS name>
    WSMAN/<FQDN>
    If you were actually trying to use WinRM to connect to the remote forest's domain controllers, then what you said makes sense, but I was caught between assuming this was the case or you meant another member server in that remote forest.
    Also, from the client trying to connect to this remote server, are you able to telnet to port 5985? (If you've used something other than the default, try that port)
    If you can't, then you've got something else like a firewall (be that the Windows firewall on the destination or a hardware firewall somewhere in between) blocking you at the port level, or the listener on the remote box just isn't working as expected. I
    just replied to your other winrm post with steps for checking the latter, so I won't repeat myself here.
    If you can telnet to it and the SPNs exist, then you might be up against something called selective authentication which has to do with how the trust was defined. You can have a read of
    this to learn a bit more about selective trusts and whether or not it's affecting you.
    Cheers,
    Lain

  • Working fine with JAVA code and Error Occured while using in JSP

    Hi.....
    When initiating a BPEL process from JAVA the code is working fine and the Process is getting initiated.But while using that code in J2EE project as a java code and while calling that method Error is occuring.....
    Here by i am attaching my JAVA Code which runs as an applicateion and package which runs in Server....
    JAVA Code (Run as Application) Working Fine:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class processit {
         public static void main(String args[]){
              String input = "TATA";
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              String replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
    JSP and Java Method Used:
    JSP Code:
    ===============
    <%@ page import=" bo.callbpel" %>
    <%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
    <title>FEATT - I30</title>
    </head>
    <body>
    <%
    String input=request.getParameter("dnvalue");
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    out.print("The Input Given to the BPEL Process is : "+input);
    %>
    <BR><BR><BR><BR><BR><BR>
    <%
    out.print("The Reply from BPEL Process is : "+Output);
    %>
    </body>
    </html>
    Java Code:
    package bo;
    import com.oracle.bpel.client.Locator;
    import com.oracle.bpel.client.NormalizedMessage;
    import com.oracle.bpel.client.delivery.IDeliveryService;
    import java.util.Map;
    import java.util.Properties;
    import oracle.xml.parser.v2.XMLElement;
    /*import javax.servlet.RequestDispatcher;
    import javax.servlet.ServletConfig;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest ;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.http.HttpSession; */
    //import java.util.*;
    import javax.naming.Context;
    import javax.naming.InitialContext;
    import javax.naming.NamingException;
    public class callbpel {
         public String Initiate(String value){
              String replyText=null;
              String input = value;
              System.out.println(input);
              String xmlInput= "<ns1:AccessDBBPELProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/AccessDBBPEL\"><ns1:input>"+input+"</ns1:input></ns1:AccessDBBPELProcessRequest>";
              String xml="<ns1:BPELProcess1ProcessRequest xmlns:ns1=\"http://xmlns.oracle.com/BPELProcess1\">";
              xml=xml+"<ns1:input>"+input+"</ns1:input>";
              xml=xml+"</ns1:BPELProcess1ProcessRequest>";
              try{
              Properties props=new Properties();
              props.setProperty("orabpel.platform","ias_10g");
              props.setProperty("java.naming.factory.initial","com.evermind.server.rmi.RMIInitialContextFactory");
              props.setProperty("java.naming.provider.url","opmn:ormi://157.227.132.226:6003:home/orabpel");
              props.setProperty("java.naming.security.principal","oc4jadmin");
              props.setProperty("java.naming.security.credentials","oc4jadmin");
              props.setProperty("dedicated.rmicontext", "true");
              Locator locator = new Locator("default", "bpel", props);
              String uniqueBpelId = com.collaxa.cube.util.GUIDGenerator.generateGUID();
              //System.out.println(uniqueBpelId);
              //java.util.Map msgProps = new HashMap();
              System.out.println("After creating the locator object......");
              IDeliveryService deliveryService =(IDeliveryService)locator.lookupService(IDeliveryService.SERVICE_NAME);
              System.out.println("Before creating the NormalizedMessage object......");
              NormalizedMessage nm = new NormalizedMessage();
              System.out.println("After creating the NormalizedMessage object.*.*.*...");
              //msgProps.put("conversationId",uniqueBpelId);
              //nm.setProperty("conversationId",uniqueBpelId);
              nm.addPart("payload", xml);
              System.out.println("Before creating response object......");
              NormalizedMessage res = deliveryService.request("BPELProcess1", "process", nm);
              System.out.println("After calling the BPELProcess1 .*.*.*...");
              Map payload = res.getPayload();
              System.out.println("BPEL called");
              XMLElement xmlEl=(oracle.xml.parser.v2.XMLElement)payload.get("payload");
              replyText=xmlEl.getText();
              System.out.println("Reply from BPEL Process>>>>>>>>>>>>> "+replyText);
              catch (Exception e) {
              System.out.println("Exception : "+e);
              e.printStackTrace();
              return replyText;
    While Creating and Object for the Class callbpel and Whilw Calling that Method
    callbpel p=new callbpel();
    String Output=p.Initiate(input);
    Its throwing an Error:
    Error Occured is:
    After creating the locator object......
    Before creating the NormalizedMessage object......
    After creating the NormalizedMessage object.*.*.*...
    Before creating response object......
    Apr 24, 2008 9:12:00 AM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet jsp threw exception
    java.lang.NoClassDefFoundError: javax/ejb/EJBException
         at com.oracle.bpel.client.util.ExceptionUtils.handleServerException(ExceptionUtils.java:76)
         at com.oracle.bpel.client.delivery.DeliveryService.getDeliveryBean(DeliveryService.java:254)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:83)
         at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:53)
         at bo.callbpel.Initiate(callbpel.java:55)
         at org.apache.jsp.output_jsp._jspService(output_jsp.java:55)
         at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:331)
         at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:329)
         at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
         at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:151)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
         at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
         at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
         at java.lang.Thread.run(Unknown Source)
    For Running JSP i am Using Eclipse 3.2.0 and apache-tomcat-5.5.25
    Please Provide me a Solution......
    Thanks in Advance.....
    Regards,
    Suresh K

    A JSP is not the same as a Java application. A Java application has package statment, import statements, try/catch block, a JSP doesn't.

  • Mac - 10.11 - El Capitan - Error occurs while using Spotify

    While using Spotify on the mac (10.11 Dev preview) an error pops up with the following stack trace:  Exception Name: NSInvalidArgumentException
    Description: -[SPMediaKeyTap grab]: unrecognized selector sent to instance 0x7f98434166a0
    User Info: (null)
    0 CoreFoundation 0x00007fff87c07b35 __exceptionPreprocess + 165
    1 libobjc.A.dylib 0x00007fff8275646a objc_exception_throw + 48
    2 CoreFoundation 0x00007fff87c0ab1d -[NSObject(NSObject) doesNotRecognizeSelector:] + 205
    3 CoreFoundation 0x00007fff87b4658a ___forwarding___ + 1002
    4 CoreFoundation 0x00007fff87b46118 _CF_forwarding_prep_0 + 120
    5 Spotify 0x000000010af10b67 _ZThn56_N5boost16exception_detail19error_info_injectorINS_6system12system_errorEED0Ev + 37623
    6 Spotify 0x000000010af10cf3 _ZThn56_N5boost16exception_detail19error_info_injectorINS_6system12system_errorEED0Ev + 38019
    7 Spotify 0x000000010af10dea _ZThn56_N5boost16exception_detail19error_info_injectorINS_6system12system_errorEED0Ev + 38266
    8 Spotify 0x000000010af10530 _ZThn56_N5boost16exception_detail19error_info_injectorINS_6system12system_errorEED0Ev + 36032
    9 HIToolbox 0x00007fff8763c77e _ZL23DispatchEventToHandlersP14EventTargetRecP14OpaqueEventRefP14HandlerCallRec + 1231
    10 HIToolbox 0x00007fff8763bbe4 _ZL30SendEventToEventTargetInternalP14OpaqueEventRefP20OpaqueEventTargetRefP14HandlerCallRec + 404
    11 HIToolbox 0x00007fff8763ba43 SendEventToEventTargetWithOptions + 43
    12 HIToolbox 0x00007fff876cc13c HIToolboxLSNotificationCallbackAllASNsFunc + 298
    13 LaunchServices 0x00007fff918b7102 ___LSScheduleNotificationFunction_block_invoke_2 + 47
    14 CoreFoundation 0x00007fff87b19f3c __CFRUNLOOP_IS_CALLING_OUT_TO_A_BLOCK__ + 12
    15 CoreFoundation 0x00007fff87b0c9b5 __CFRunLoopDoBlocks + 341
    16 CoreFoundation 0x00007fff87b0c712 __CFRunLoopRun + 2274
    17 CoreFoundation 0x00007fff87b0bbc8 CFRunLoopRunSpecific + 296
    18 HIToolbox 0x00007fff87665b4d RunCurrentEventLoopInMode + 235
    19 HIToolbox 0x00007fff876658df ReceiveNextEventCommon + 432
    20 HIToolbox 0x00007fff87665717 _BlockUntilNextEventMatchingListInModeWithFilter + 71
    21 AppKit 0x00007fff8bb5d972 _DPSNextEvent + 927
    22 AppKit 0x00007fff8bf3f234 -[NSApplication _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 324
    23 AppKit 0x00007fff8bb53297 -[NSApplication run] + 682
    24 Chromium Embedded Framework 0x000000010c4e3831 cef_time_delta + 359761
    25 Chromium Embedded Framework 0x000000010c4e300c cef_time_delta + 357676
    26 Chromium Embedded Framework 0x000000010c5346b3 cef_time_delta + 691155
    27 Chromium Embedded Framework 0x000000010c5212ed cef_time_delta + 612365
    28 Spotify 0x000000010b5b65f9 _ZNSt3__16vectorI12CefPageRangeNS_9allocatorIS1_EEE21__push_back_slow_pathIS1_EEvOT_ + 40873
    29 Spotify 0x000000010af04bce _ZNSt3__18multimapI13CefStringBaseI20CefStringTraitsUTF16ES3_NS_4lessIS3_EENS_9allocatorINS_4pairIKS3_S3_EEEEE16__construct_nodeIRA28_KcRA2_SD_JEEENS_10unique_ptrINS_11__tree_nodeINS_12__value_typeIS3_S3_EEPvEENS_21__map_node_destructorINS6_ISN_EEEEEEOT_OT0_DpOT1_ + 26206
    30 Spotify 0x000000010adf07c9 Spotify + 30665
    31 Spotify 0x000000010adf07b4 Spotify + 30644  The application continues running if I just click Continue -- but the error can appear continually and often while using the application.

    Hi mire3212, not so much a solution (sorry), but I believe that El Capitan is actually too new for Spotify at this point. I'm not entirely sure, so hopefully someone will be able to confirm/deny this, but if I am right, then it's just a matter of time as to when Spotify will be updated, and that should take care of the issue.  

  • An unknown error occurred while using remote from iPhone to iTunes on Mac

    I have STF for this answer, but am probably using the wrong words.  I have an iPhone 3Gs with a remote app on it.  I have several things going on.
    I have a mini-mac running iTunes 10.4.  This computer runs both my music for the house as well as my Apple TV.  When I use the Remote App lately for playing and controling music, and I tap on a song within an album, I get this error.  "An unknown error occurred.  Please check your library and try again".  I am having miserable luck (basically no luck) finding or playing the music in my iTunes.
    Then an error pops up after this.  "Remote can't connect to your iTunes library.  Check your network settings and try again."
    Recently (about 5-6 days ago), my Network Gateway crashed.  This was a Linux box running Gateway software. (ClarkConnect).  Since the disk was hosed, I replaced it with a fairly new (8-10 month old) Apple Airport Extreme (version 7.5.2).  I have set this up to port forward and dispense DHCP within my house and wireless network.  Is it possible that something needs to be set additionally on this to allow remote connections to iTunes from my iPhone.  I should also say that my iPad does this just fine using the same Remote App.

    I am getting this error whilst attempting to move NEF (Nikon RAW files) either between folders on the same hard-drive or between hard-drives (which are incorporated into my Lightroom catalogue).
    Whenever I receive this error, a strange (locked) file appears in the directory/folder to which I intended to move the file and on examining this file in the terminal I can see that it contains the following error message: "cannot execute binary file...logout". The filename of this strange file is usually very random such as 470F00FF-9FBC-4517-84BF-26E52251B2B9-449-0000020C6A4DD5FD
    I do not have any problems with missing sidecars and always select "save metadata to files" before attempting to move the files...can anyone figure this out?

  • Error occured while using checkInFileStream of CIS

    Hi,
    I am having problem using the CIS in client mode. I am trying to use the CheckIn api. I am unable to find the problem. Following are the details:
    FLOW: Custom application – client Api – cis-server(Deployed in oracle application server) – content server.
    The part of cis-server -- content server works. I have tested the chekin being successful using the web application http://localhost:8888/cis-admin/ucpmbrowsecategory.do?category=active
    But the Custom application – Client Api – cis-server part does not work for me
    Following is the code for CheckIn along with the exception trace:
    public String checkIn() {
    System.out.println("ECM1Service :: checkIn :: Started");
    String contentId ="";
    try {
    Properties properties = new Properties();
    properties.setProperty(ICISApplication.PROPERTY_CONFIG_TYPE, "client");
    properties.setProperty(ICISApplication.PROPERTY_CONFIG_CLIENT_CONNECTION, "jndi");
    properties.setProperty("jndi."+Context.INITIAL_CONTEXT_FACTORY,ConfigUtils.getEntry("jndiInitialContextFactory"));
    properties.setProperty("jndi."+Context.PROVIDER_URL, ConfigUtils.getEntry("jndiProviderUrl"));
    properties.setProperty("jndi."+Context.SECURITY_AUTHENTICATION, ConfigUtils.getEntry("jndiSecurityAuthentication"));
    properties.setProperty("jndi."+Context.SECURITY_PRINCIPAL,ConfigUtils.getEntry("jndiSecurityPrincipal"));
    properties.setProperty("jndi."+Context.SECURITY_CREDENTIALS, ConfigUtils.getEntry("jndiSecurityCredentials"));
    ICISApplication client = CISApplicationFactory.initialize(properties);
    //Connect
    System.out.println("ECM1Service :: checkIn :: Connect Started");
    ISCSDocumentCheckinAPI api = client.getUCPMAPI().getActiveAPI().getDocumentCheckinAPI();
    ICISTransferStream transferStream = client.getUCPMAPI ().createTransferStream();
    transferStream.setFile(new File ("c:\\fileStreamTest.txt"));
    //getSCSContext
    ISCSContext context = client.getUCPMAPI ().getActiveAPI ()._createSCSContext ();
    context.setUser ("sysadmin");
    context.setCrendentials("idcdev");
    context.setAdapterName ("ecm");
    //getActiveContent
    ISCSContent activeContent = (ISCSContent) client.getUCPMAPI ().createObject(ISCSContent.class);
    ISCSContentID contentID = (ISCSContentID) client.getUCPMAPI ().createObject(ISCSContentID.class);
    contentID.setContentID("TEST_1");
    AppLog.debug("ECM1Service :: checkIn :: contentID"+contentID.getContentID());
    activeContent.setContentID (contentID);
    activeContent.setTitle ("TEST_1");
    activeContent.setType ("Test");
    activeContent.setSecurityGroup ("Public");
    activeContent.setSecurityAccount("fiscalAssistantOnly");
    //Execute
    System.out.println("ECM1Service :: checkIn :: Execute Started");
    ISCSDocumentCheckinResponse result = api.checkinFileStream (context, activeContent, transferStream);
    System.out.println("ECM1Service :: checkIn :: Execute Started after");
    String message = result.getMessage ();
    ICISID icisId = result.getIdentifier();
    contentId = icisId.getPropertyAsString("dDocName");
    System.out.println("ECM1Service :: main :: message: "+message);
    System.out.println("ECM1Service :: main :: icisId: "+icisId.getPropertyAsString("dDocName"));
    System.out.println("ECM1Service :: checkIn :: Execute Completed");
    } catch (Exception e) {
    e.printStackTrace ();
    System.out.println("ECM1Service :: checkIn ::Completed");
    return contentId;
    EXCEPTION:
    INFO [main] (AppLog.java:40) - ECMService :: checkIn :: Execute Started
    [2008-08-30 15:11:20,234] [main] DEBUG (cis.profiler) - <Timer SectionName="invokeCommand" ThreadName="main" Begin="1220123480234" Desc="" />
    [2008-08-30 15:11:20,234] [main] DEBUG (cis.profiler) - <Timer SectionName="FacadeExecuteCommand" ThreadName="main" Begin="1220123480234" Desc="active.document.checkin.checkinFileStream" />
    [2008-08-30 15:11:21,734] [main] ERROR (com.stellent.cis.server.filetransfer.impl.ClientResourceHandler) - Error parsing XML
    org.dom4j.DocumentException: Error on line 9 of document : <Line 9, Column 46>: XML-20190: (Fatal Error) Whitespace required. Nested exception: <Line 9, Column 46>: XML-20190: (Fatal Error) Whitespace required.
         at org.dom4j.io.SAXReader.read(SAXReader.java:355)
         at org.dom4j.io.SAXReader.read(SAXReader.java:271)
         at org.dom4j.DocumentHelper.parseText(DocumentHelper.java:215)
         at com.stellent.cis.server.filetransfer.impl.ClientResourceHandler.uploadFile(ClientResourceHandler.java:242)
         at com.stellent.cis.server.filetransfer.impl.ClientResourceHandler.publishResource(ClientResourceHandler.java:155)
         at com.stellent.cis.server.filetransfer.SCSContentTransferStream.writeObject(SCSContentTransferStream.java:259)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
    The message indicates that there is a parse error with the a xml file but I am unable to figure which xml file??
    My adapaterconfig.xml file is as below:
    <?xml version="1.0" encoding="UTF-8" ?>
    - <config>
    - <properties>
    <property name="webPath">http://localhost:8888/cis-server</property>
    </properties>
    <jndi />
    - <adapter default="true" name="ecm" type="scs">
    - <config>
    <property name="port">xxxx</property>
    <property name="connectionTimeout">20000</property>
    <property name="type">socket</property>
    <property name="persistentConnection">false</property>
    <property name="host">ecmserver.xxx.com</property>
    <property name="eventPollingEnabled">true</property>
    <property name="cacheEnabled">true</property>
    </config>
    <beans template="classpath:/META-INF/resources/adapter/adapter-services-scs.jxml" />
    </adapter>
    </config>
    Please let me know pointers to this problem.
    Thanks in advance.
    Aparna
    Edited by: user537651 on Aug 30, 2008 12:56 PM

    Disabling the event polling has helped to some extent. I did not have any Command cache properties set and had event polling enabled. This came by default. Oracle support rep has told that he had seen miscellaneous errors with enabling the event poll while the chache properties are not set.
    This has helped when I deploy cis-admin application to the Oracle 10g app server on a windows machine but again, when I do the same on another machine i.e. a unix machine (I doubt if operating system would be the cause) it did not work.
    Thanks,
    Aparna Raj Golla

  • How to find exception occured while using LOGON function in oracle 10g

    Hi,
    I am using LOGON function to login with a different user name in oracle 10g forms.
    LOGON ( User, Pass@tns, FALSE)
    The third parameter is passed as 'FALSE' to avoid the login screen to be opened. If any of the other parameter ( User Name, Password, TNS) is passed wrong, connection is not established but no exception is occurred. The value for 'FORM_FAILURE' is set to 'TRUE'.
    What i need is the ORA error for connection failure. The error message related to user name/password (ORA-01017) or connection identifier (ORA-12155).
    How i can get this error code if connection is failed. Is there any other way to login in oracle forms other than 'LOGON'.
    Habib

    Habib Ahmad wrote:
    Hi,
    I am using LOGON function to login with a different user name in oracle 10g forms.
    LOGON ( User, Pass@tns, FALSE)
    The third parameter is passed as 'FALSE' to avoid the login screen to be opened. If any of the other parameter ( User Name, Password, TNS) is passed wrong, connection is not established but no exception is occurred. The value for 'FORM_FAILURE' is set to 'TRUE'.
    What i need is the ORA error for connection failure. The error message related to user name/password (ORA-01017) or connection identifier (ORA-12155).
    How i can get this error code if connection is failed. Is there any other way to login in oracle forms other than 'LOGON'.As salamu alikum, Habib
    If you pass FALSE in login you can't catch anything. Want to catch the error ?
    Then change
    LOGON ( User, Pass@tns, FALSE)
    to
    LOGON ( User, Pass@tns, TRUE) Now Create On-Error trigger at form level
    and try the following code
    if error_code=01017 then
         message('invalid user name or password');
         message('invalid user name or password');
         raise form_trigger_failure;
    elsif error_code=12154 or error_code=1215 then
         message('invalid connection string');
         message('invalid connection string');
         raise form_trigger_failure;
    end if;Hopes this helps
    If someone's response is helpful or correct, please mark it accordingly.

  • Topic: error occuring while use jsp

    code:
    Parsing of JSP File '/view.jsp' failed:-------------------------------------------------------------------------------- /view.jsp(18): "mybean" is not a defined bean variable on this pageprobably occurred due to an error in /view.jsp line 18:value="<jsp:getProperty name="mybean" property="firstname"/>"/>
    this is the error i am getting while accesing the view.jsp.
    here below is my view.jsp and mybean.java codes.
    view.jsp
    code:
    <jsp:useBean id="mybean" class="mvc.beans.mybean" scope="request"/ ><html><head><title>MVC View</title></head><body><h2>MVC Architecture View<h2><form method="post" action="myservlet"><table> <tr> <td>     First Name:     </td> <td>     <input type="text"           name="form first name"                    value="<jsp:getProperty name="mybean" property="firstname"/>"/>                                   </td>     </tr>      <tr>     <td>          Last Name:          </td>          <td>          <input type="text"               name="form last name"                    value="<jsp:getProperty name="mybean" property="lastname"/>"/>     </td>     </tr>      <tr>     <td>          E-mail:          </td>          <td>          <input type="text"               name="form mail"                    value="<jsp:getProperty name="mybean" property="email"/>"/>     </td>     </tr>      <tr>     <td>     <input type="submit"          value="submit"/>          <td>     <tr> </table></form></body>      <pre>     <jsp:getProperty name="mybean" property="message"> </pre></html>
    mybean.java
    code:
    package mvc.beans; public class mybean{ private String firstname; private String lastname; private String email;  public String getFirstname()     {       return fixNull(this.firstname);    } public String getLastname()     {      return fixNull(this.lastname);    } public String getEmail()     {       return fixNull(this.email);    } public void setFirstname(String firstname)     {      this.firstname=firstname;     } public void setLastname(String lastname)     {      this.lastname=lastname;     } public void setEmail(String email)     {       this.email=email;    } private String fixNull(String in){        return (in == null) ? "" : in;    }      public String getMessage()     {      return "\nFirst Name:" +  getFirstname() + "\n"              +"Last Name :" +  getLastname()  + "\n"                      +"email     :" +  getEmail()     + "\n";     } };
    please clarrify my error.

    Are u putting the bean in the request scope????

  • Exception Occur while Using Microsoft Visual Studio for Debugging JNI app.

    Hi all,
    My JNI program works fine. And also Visual Studio IDE allow to debug C++ program properly.
    But after each instance of program executation(Under Visual Studio IDE) I am getting following log file.
    ================================================================================================================
    # An unexpected error has been detected by Java Runtime Environment:
    # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d99f278, pid=4800, tid=1196
    # Java VM: Java HotSpot(TM) Client VM (1.6.0_02-b06 mixed mode)
    # Problematic frame:
    # V [jvm.dll+0x12f278]
    # If you would like to submit a bug report, please visit:
    # http://java.sun.com/webapps/bugreport/crash.jsp
    --------------- T H R E A D ---------------
    Current thread (0x00446c00): JavaThread "main" [_thread_in_vm, id=1196]
    siginfo: ExceptionCode=0xc0000005, reading address 0x545c3a49
    Registers:
    EAX=0x545c3a45, EBX=0x00000000, ECX=0x004475c8, EDX=0x01bdf6a8
    ESP=0x01bdf69c, EBP=0x00447594, ESI=0x00446c00, EDI=0x00447594
    EIP=0x6d99f278, EFLAGS=0x00010202
    Top of Stack: (sp=0x01bdf69c)
    0x01bdf69c: 00447598 00446c00 000000b6 004475c8
    0x01bdf6ac: 004475c4 004475c0 004475bc 6d99f3d1
    0x01bdf6bc: 01bdf720 00447594 00447598 00000e00
    0x01bdf6cc: 00446c00 6d92a997 01bdf720 00447594
    0x01bdf6dc: 00447598 00000e00 000000b6 00446c00
    0x01bdf6ec: 00446c00 07e73fd9 01bdf768 000000b6
    0x01bdf6fc: 00446c00 00446c00 01bdf700 01c67cb4
    0x01bdf70c: 01bdf768 01bdf708 00447158 00447160
    Instructions: (pc=0x6d99f278)
    0x6d99f268: 4a 57 8b 7c 24 24 3b fb 75 04 33 c0 eb 05 8b 07
    0x6d99f278: 8b 40 04 50 56 8d 4c 24 38 e8 fa 89 ed ff 8b 4c
    Stack: [0x01b90000,0x01be0000), sp=0x01bdf69c, free space=317k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    V [jvm.dll+0x12f278]
    Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
    j FILE_INFO_J.SetOutputFileName(Ljava/lang/String;)V+1
    v ~StubRoutines::call_stub
    j FILE_INFO_J.ReadBinaryFile(Ljava/lang/String;LFILE_INFO_J;)V+0
    j FILE_INFO_J.CopyBinaryFile(Ljava/lang/String;)V+3
    j FILE_INFO_J.main([Ljava/lang/String;)V+38
    v ~StubRoutines::call_stub
    --------------- P R O C E S S ---------------
    Java Threads: ( => current thread )
    0x0be19c00 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=3888]
    0x0be18000 JavaThread "CompilerThread0" daemon [_thread_blocked, id=3752]
    0x0be0cc00 JavaThread "JDWP Event Helper Thread" daemon [_thread_blocked, id=1336]
    0x0be09800 JavaThread "JDWP Transport Listener: dt_socket" daemon [_thread_in_native, id=4848]
    0x0bdfbc00 JavaThread "Attach Listener" daemon [_thread_blocked, id=4160]
    0x0bdfac00 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=1436]
    0x0bde8000 JavaThread "Finalizer" daemon [_thread_blocked, id=676]
    0x0bde6c00 JavaThread "Reference Handler" daemon [_thread_blocked, id=4516]
    =>0x00446c00 JavaThread "main" [_thread_in_vm, id=1196]
    Other Threads:
    0x0bde3800 VMThread [id=4640]
    0x0be34c00 WatcherThread [id=5112]
    VM state:not at safepoint (normal execution)
    VM Mutex/Monitor currently owned by a thread: None
    Heap
    def new generation total 960K, used 17K [0x03cd0000, 0x03dd0000, 0x041b0000)
    eden space 896K, 2% used [0x03cd0000, 0x03cd47c8, 0x03db0000)
    from space 64K, 0% used [0x03dc0000, 0x03dc0000, 0x03dd0000)
    to space 64K, 0% used [0x03db0000, 0x03db0000, 0x03dc0000)
    tenured generation total 11948K, used 7985K [0x041b0000, 0x04d5b000, 0x07cd0000)
    the space 11948K, 66% used [0x041b0000, 0x0497c5b8, 0x0497c600, 0x04d5b000)
    compacting perm gen total 12288K, used 1690K [0x07cd0000, 0x088d0000, 0x0bcd0000)
    the space 12288K, 13% used [0x07cd0000, 0x07e76a30, 0x07e76c00, 0x088d0000)
    No shared spaces configured.
    Dynamic libraries:
    0x00400000 - 0x00423000      C:\Program Files (x86)\Java\jdk1.6.0_02\bin\java.exe
    0x7d600000 - 0x7d6f0000      C:\WINDOWS\system32\ntdll.dll
    0x7d4c0000 - 0x7d5f0000      C:\WINDOWS\syswow64\kernel32.dll
    0x00350000 - 0x003eb000      C:\WINDOWS\syswow64\ADVAPI32.dll
    0x7da20000 - 0x7db00000      C:\WINDOWS\syswow64\RPCRT4.dll
    0x7d8d0000 - 0x7d920000      C:\WINDOWS\syswow64\Secur32.dll
    0x7c340000 - 0x7c396000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\msvcr71.dll
    0x6d870000 - 0x6dab9000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\client\jvm.dll
    0x7d930000 - 0x7da00000      C:\WINDOWS\syswow64\USER32.dll
    0x7d800000 - 0x7d890000      C:\WINDOWS\syswow64\GDI32.dll
    0x76aa0000 - 0x76acd000      C:\WINDOWS\system32\WINMM.dll
    0x7dee0000 - 0x7df40000      C:\WINDOWS\system32\IMM32.DLL
    0x6d3c0000 - 0x6d3c8000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\hpi.dll
    0x76b70000 - 0x76b7b000      C:\WINDOWS\system32\PSAPI.DLL
    0x6d4b0000 - 0x6d4d9000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\jdwp.dll
    0x6d770000 - 0x6d776000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\npt.dll
    0x6d820000 - 0x6d82c000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\verify.dll
    0x6d460000 - 0x6d47f000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\java.dll
    0x6d860000 - 0x6d86f000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\zip.dll
    0x6d330000 - 0x6d337000      C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\dt_socket.dll
    0x71c00000 - 0x71c17000      C:\WINDOWS\system32\WS2_32.dll
    0x77ba0000 - 0x77bfa000      C:\WINDOWS\syswow64\msvcrt.dll
    0x71bf0000 - 0x71bf8000      C:\WINDOWS\system32\WS2HELP.dll
    0x10000000 - 0x10023000      C:\WINDOWS\system32\nvappfilter.dll
    0x77670000 - 0x777a9000      C:\WINDOWS\syswow64\ole32.dll
    0x0c150000 - 0x0c1db000      C:\WINDOWS\syswow64\OLEAUT32.dll
    0x7db30000 - 0x7dbb0000      C:\WINDOWS\system32\mswsock.dll
    0x5f270000 - 0x5f2ca000      C:\WINDOWS\system32\hnetcfg.dll
    0x71ae0000 - 0x71ae8000      C:\WINDOWS\System32\wshtcpip.dll
    0x7df50000 - 0x7dfc0000      C:\WINDOWS\system32\uxtheme.dll
    0x4b3c0000 - 0x4b410000      C:\WINDOWS\SysWOW64\MSCTF.dll
    0x777b0000 - 0x77833000      C:\WINDOWS\system32\CLBCatQ.DLL
    0x77010000 - 0x770d6000      C:\WINDOWS\system32\COMRes.dll
    0x77b90000 - 0x77b98000      C:\WINDOWS\syswow64\VERSION.dll
    0x0c500000 - 0x0c7c5000      C:\WINDOWS\system32\xpsp2res.dll
    0x75da0000 - 0x75e5d000      C:\WINDOWS\system32\SXS.DLL
    0x0cc60000 - 0x0ccc1000      E:\TI\Assignment_3\JNIFileOperation_C\Debug\JNIFileOperation.dll
    VM Arguments:
    jvm_args: -Xrunjdwp:transport=dt_socket,server=y,address=8888,suspend=n
    java_command: FILE_INFO_J E:\Assignment_3\VC.pdf
    Launcher Type: SUN_STANDARD
    Environment Variables:
    PATH=D:\oracle\app\oracle\product\10.2.0\server\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files (x86)\Subversion\bin;C:\Program Files (x86)\Java\jdk1.6.0_02\bin;C:\Program Files (x86)\Java\jdk1.6.0_02\jre\bin\client;C:\Sun\SDK\bin;��!
    USERNAME=user
    OS=Windows_NT
    PROCESSOR_IDENTIFIER=AMD64 Family 15 Model 47 Stepping 2, AuthenticAMD
    ================================================================================================================
    So please tell anyone could Figure out what is this file all about??
    Is this says to be worry about it .. or just provide information of current system status??
    I will be obliged to you if you would help me
    Thank you.

    This is exactly due to the memory stack.This error is entirely due to the native code.Check the native code,if there are data conversions handle them carefully
    and if you are passing an array see to that the array doesnt oveflow.
    Have some prints in the native code and watch the data transferred

  • Unreachable statement error occured while using return statement.

    Consider this code
    class q25{
         public static void main(String args[]){
              amethod(args);
         public static void amethod(String args[]){
              String str;
              try{
                   str = "Hello "+args[0];
                   System.out.println(str);
                   System.out.println("Returning to caller");
                   System.exit(0);
              catch(Exception e){
                   System.out.println("Exception ocured");
                   System.exit(0);          
              finally{
                   System.out.println("In finally");
              System.out.println("At the end of method");     
    }Above code compiles and runs successfully without any errors.
    Now consider below code which is same as above one except "System.exit(0)" statements were replace by "return" statements. Below code when compiled gives error as
    "q25.java:22: unreachable statement
    System.out.println("At the end of method");
    ^
    1 error"
    One thing i didn't understood in this context that, the above code when compiled should get same error as stated above. But not. It is obvious that presence of System.exit(0) must generate unreachable statement same as when it is replaced by "return" statement. What is the difference in getting the error for above but not for below code. Pls anyone help.
    class q25{
         public static void main(String args[]){
              amethod(args);
         public static void amethod(String args[]){
              String str;
              try{
                   str = "Hello "+args[0];
                   System.out.println(str);
                   System.out.println("Returning to caller");
                   return;
              catch(Exception e){
                   System.out.println("Exception ocured");
                   return;     
              finally{
                   System.out.println("In finally");
              System.out.println("At the end of method");     
    }

    warnerja wrote:
    masijade. wrote:
    Since you have a "return" in both the try and the catch portions of the try/catch block *(the second of which you should never do)* , anything thing that comes after the try/catch/finally blocks will be unreachable.That is not true. There are plenty of reasons to return from a catch block. If you handle the exception instead of rethrowing it or another exception, then you'll need a return somehow, either there or after the catch block. What you should never do is "return" in a finally block, because that will mask any exception in flight about to be thrown to the caller.Perhaps masijade's use of never is too strong, but I too prefer/tend to avoid using return anywhere in try/catch/finally to avoid potential gotchas. Consider:
    public class TryCatchFinally
      public Data process(String s)
        Data returnData = new Data();
        try
          returnData.value = Integer.parseInt(s);
          returnData.message = "Success";
          return returnData;
        catch (Exception ex)
          returnData.value = -1;
          returnData.message = "Fail";
          return returnData;
        finally
          returnData.value = 42;
          returnData.message = "?";
      public static void main(String[] args)
        TryCatchFinally demo = new TryCatchFinally();
        Data d = demo.process("2");
        System.out.println(d.message + ": " + d.value);
        d = demo.process("2.1");
        System.out.println(d.message + ": " + d.value);
      class Data
        int value = 0;
        String message = "";
    }

  • Update termination occurs while using EDIT method of BUS2038

    Hi,
    I am getting update termination issue whenever workflow dialog item calls transaction IW32 and do status update and save.This is happening only in case of calling IW32 from workflow but the same is not happening when I do directly using IW32.
    I have created TASK with the method "EDIT" as synchronous
    and the business object is BUS2038.
    Please let me know if any one has faced the similar issue.
    Regards,
    Raju

    Try to execute the Method from the business Object level through Tcode SWO1. Also make sure you are passing the values to the method according to the Task container value that is getting passed in the relevant container element.
    Also make sure you have the proper Auithorization to execute this method.
    Thanks
    Arghadip

  • How to remove error 59 which occurred while using Send Email Using Smtp Client .VI in Labview 2013.

    Hi,I am trying to run Send Email Using Smtp Client .VI in Labview 2013 examples ,but it gives error 59.Please can anyone suggest how to remove the error.The printscreen is attached below.
    Solved!
    Go to Solution.
    Attachments:
    error.docx ‏310 KB

    Thanks for the help,but i have set the parameters right but still it does not work for me.Please suggest me reasons and how to correct them.
    Attachments:
    error.docx ‏270 KB

  • Error occured while using DispatchAction Class

    I have a jsp file which has three submit buttons, with same name.
    If i click one of those buttons, it should execute a corresponding method from a class that extends the DispatchAction class.
    But when i click it throws method not found.
    The exact errors are
    error 1-->
    57d5900b DispatchActio E org.apache.struts.actions.DispatchAction Action[dispatchtest] does not contain method named execute1
    error 2-->
    57d5900b DispatchActio E org.apache.struts.actions.DispatchAction TRAS0014I: The following exception was logged java.lang.NoSuchMethodException: DispachActionTestClass.execute1(org.apache.struts.action.ActionMapping, org.apache.struts.action.ActionForm, javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
    wat could be possibly the mistake.

    This shuold be the first check:
    You shoud be having three different methods for three different actions in the class which extends dispatchAction.
    Something like this:
    Submit1 -- ActionMapping1 -- DispatchActionClass --> Execute1()
    Submit2 -- ActionMapping2 -- DispatchActionClass --> Execute2()
    Submit3 -- ActionMapping3 -- DispatchActionClass --> Execute3()
    Let me know if this does not help

  • Error while using implicit remoting from Win 7 Client

    Anyone who can help with below error while implicit remoting in exchange 2010, i have verified WinRM service, and currently using power-shell v2 both on client and server.
    Error Code:
    Connecting to remote server failed with the following error message : WinRM cannot process the request.
    The following error occured while using Kerberos authentication: A specified logon session does not exist. It may alre
    ady have been terminated.
    Possible causes are:
    -The user name or password specified are invalid.
    -Kerberos is used when no authentication method and no user name are specified.
    -Kerberos accepts domain user names, but not local user names.
    -The Service Principal Name (SPN) for the remote computer name and port does not exist.
    -The client and remote computers are in different domains and there is no trust between the two domains.
    After checking for the above issues, try the following:
    -Check the Event Viewer for events related to authentication.
    -Change the authentication method; add the destination computer to the WinRM TrustedHosts configuration setting or us
    e HTTPS transport.
    Note that computers in the TrustedHosts list might not be authenticated.
    -For more information about WinRM configuration, run the following command: winrm help config. For more information,
    see the about_Remote_Troubleshooting Help topic.
    + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) [], PSRemotingTransportExc
    eption
    + FullyQualifiedErrorId : PSSessionOpenFailed
    Aditya Mediratta

    Hi Aditya,
    Please running following command to enable the CredSSP on both client and server:
    Parameter Set: Default
    Enable-WSManCredSSP [-Role] <String> [[-DelegateComputer] <String[]> ] [-Force] [ <CommonParameters>]
    I found a blog for your reference in case I have anything misunderstanding:
    How To Use The 2012 Active Directory PowerShell Cmdlets From Windows 7
    http://blogs.technet.com/b/ashleymcglone/archive/2013/06/27/how-to-use-the-2012-active-directory-cmdlets-from-windows-7.aspx
    Thanks
    Mavis
    Mavis Huang
    TechNet Community Support

  • Problem while using Before insert Trigger

    Hello everybody,
    I am using 9.2.0.4.0 XMLDB..
    The problem occurs while using the before insert trigger shown below to convert a CLOB(:new.file_clob) to XMLTYPE(:new.file_xml). The trigger is on a table with file_clob and file_xml as columns. file_xml column is based on a registered schema.
    The trigger is:
    Create or replace trigger po_2_demo_xml_tab_trg
    before insert on po_2_demo_xml_tab
    FOR EACH ROW
    -- Step 1:to convert CLOB to XMLtype and store it
    --in :new.file_xml .
    :new.file_xml := xmltype(:new.file_clob);
    -- Step 2:to verify if :new.file_xml has been created
    dbms_output.put_line(:new.file_xml.extract('/PurchaseOrder/PONum/text()').getStringVal());
    end;
    If u insert a valid xml file, u can see the PONum value on dbms output(Step 2 of the trigger works). u also get the "1 row inserted" message.
    Surpisingly, if u query on the table it shows that the file_xml column is null! For some reason, the value of :new.file_xml in the before insert trigger is not being retained in the table.
    Has anybody encountered this before? Do I have to apply any patch?
    Appreciate any help in this regard.
    Thanks,
    Partha.

    sorry! I just noticed.. the trace file does show an error, but the error is while creating the table itself.
    Please see the segment from trace file below:
    The following statements encountered a error during parse:
    create table po_2_demo_clob_xml_tab
    file_clob CLOB,
    file_xml xmltype
    )xmltype column file_xml
    XMLSCHEMA "http://Friday/PO_2.xsd"
    ELEMENT "PurchaseOrder";
    XCTEND rlbk=0,
    Error encountered: ORA-00911
    But, inspite of this I am able to insert a xml file into file_xml using a sql statement. But the before insert trigger does not retain :new values.
    Appreciate any comments.
    Thanks,
    Partha.

Maybe you are looking for