JEditorPane PageLoader thread causing exceptions, not on EDT

Hello,
I have a swing GUI that creates a JEditorPane component and loads up an HTML file using the setPage() method to finally display it. I'm occaisionally getting NullPointerExceptions and ArrayIndexOutOfBoundsExceptions when running the GUI. It is apparent that the JEditor pane spawns a page loading process to load up the HTML. When the loading completes, this page loading thread signals the swing JEditorPane component to update its display. Because the signalling is being done from the pageloader thread and not from the EDT it seems to be creating race conditions and therefore the exceptions.
An example of the typical stacktrace thrown is:
Exception in thread "Thread-6" java.lang.NullPointerException
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.FlowView$LogicalView.loadChildren(FlowView.java:684)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.FlowView.loadChildren(FlowView.java:122)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.FlowView.setParent(FlowView.java:272)
at javax.swing.text.html.ParagraphView.setParent(ParagraphView.java:58)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.html.TableView$RowView.replace(TableView.java:1457)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.html.TableView.replace(TableView.java:896)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.TableView.setParent(TableView.java:800)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.CompositeView.loadChildren(CompositeView.java:97)
at javax.swing.text.CompositeView.setParent(CompositeView.java:122)
at javax.swing.text.html.BlockView.setParent(BlockView.java:55)
at javax.swing.text.html.HTMLEditorKit$HTMLFactory$BodyBlockView.setParent(HTMLEditorKit.java:1277)
at javax.swing.text.CompositeView.replace(CompositeView.java:200)
at javax.swing.text.BoxView.replace(BoxView.java:164)
at javax.swing.text.View.updateChildren(View.java:1095)
at javax.swing.text.View.insertUpdate(View.java:679)
at javax.swing.plaf.basic.BasicTextUI$RootView.insertUpdate(BasicTextUI.java:1590)
at javax.swing.plaf.basic.BasicTextUI$UpdateHandler.insertUpdate(BasicTextUI.java:1849)
at javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185)
at javax.swing.text.DefaultStyledDocument.create(DefaultStyledDocument.java:145)
at javax.swing.text.html.HTMLDocument.create(HTMLDocument.java:281)
at javax.swing.text.html.HTMLDocument$HTMLReader.flushBuffer(HTMLDocument.java:3323)
at javax.swing.text.html.HTMLDocument$HTMLReader.flush(HTMLDocument.java:2127)
at javax.swing.text.html.HTMLEditorKit.read(HTMLEditorKit.java:231)
at javax.swing.JEditorPane.read(JEditorPane.java:557)
at javax.swing.JEditorPane.read(JEditorPane.java:585)
at javax.swing.JEditorPane$PageLoader.run(JEditorPane.java:648) As can be seen from the stack trace, the javax.swing.text.AbstractDocument.fireInsertUpdate(AbstractDocument.java:185) line is called from the PageLoader.run thread which attempts to manipulate the swing component.
I haven't prepared a small compact test case for this yet as it is a race condition and only occurs under certain timings. The GUI on my machine throws these exceptions on almost every second run but far less frequently on another test machine.
I'm using Java 6 u 13 b 3 in linux ubuntu Jaunty.
Is there a way to load the page synchronously or to correctly load the page without causing these exceptions?
Thanks,
Mark
Edited by: Mark_Silberbauer on Jun 9, 2009 11:30 AM

I would try to create a HTMLDocument instance and read content there by the kit you use. When the document's filling is finished just call editorPane.setDocument() in EDT.
Regards,
Stas

Similar Messages

  • Enabled Hyper-V causes "System thread exception not handled" BSOD in builds 10041 and 10049

    I had a Windows 10 TP build 9926 installation with Visual Studio 2013 Community Edition installed, when build 10041 was released Windows Update tried to install it but after restart it got BSOD with "System thread exception not handled" text and
    reverted back to 9926 with error code 0xC1900101-0x40017. I tried update from ISO, got the same BSOD. Tried clean installation, it worked. 
    I decided to install software and restart the system after each installation and discovered that installing Visual Studio 2015 CTP6 caused BSOD after restart if and only if emulators were included. Installation of  Visual Studio 2015 CTP6 without emulators
    and then installation of Tools for Windows 10 also caused BSOD with "System thread exception not handled" error after restart. 
    So I thought that it was Hyper-V related and disabled hardware virtualisation in BIOS settings. It worked, system successfully booted, but, of course, Tools for Windows 10 setup showed up and told me about fail in UAP for Windows Phone package.
    So, my hardware is Gigabyte GA-A75N-USB3 motherboard with AMD A8-3870 APU with integrated graphics, Intel SSDSA2CW080G3 80GB SSD and 8 GB RAM.
    Steps to reproduce are to enable "Virtualisation" item in BIOS settings, install Windows 10 Technology Preview Build 10041, install Visual Studio 2015 CTP6, install Visual Studio Tools for Windows 10 Preview, restart the system and
    see blue screen with white text of description of "System thread exception not handled" error.

    Same issue, MSI A75MA-G55 AMD Fusion Socket FM1 with A8-3850 APU, 16GB RAM.  Hyper-V worked in 9926, but broke in 10041 and remains broken in 10049.  I have found that if you get in this BSOD loop, you can boot to Safe Mode and Un-install Hyper-V
    to recover.  10041 was an update to 9926, and 10049 was a clean install.

  • Handling Exceptions thrown by EDT Thread?

    Hi,
    How to handle exceptions thrown by EDT Thread?. If anybody can give any link or any example, then it really helpful.
    Thanks

    System.setProperty( "sun.awt.exception.handler", EventThreadExceptionHandler.class.getName() );

  • Macbook pro running windows 8.1 system thread exception not handled

    Running Windows 8.1on MacBook Pro with dual operating system. Get BSOD on boot up with following message - system thread exception not handled but no error code.  Have checked drivers all seem to be updated. Ran fine for a few weeks but Is happening daily also external speakers are not working - please help.

    Was W8.1 installed using Bootcamp? Are BC drivers installed? What year/model is the MBP?

  • Fail to upgrade my laptop to Windows 10 due to :"system thread exception not handled ndis.sys"

    Hi,I am trying to upgrade my Toshiba satellite Z30 laptop from windows 8.1 to windows 10.every time i try( and i tired more than 8 times already), it goes all the way to finishing installing the drivers and then after the auto reboot it comes up with a :"system thread exception not handled ndis.sys" error. at the second boot phase.I have an Intel I218V network adapter and an Intel(R) Dual Band Wireless-AC 3160.I tries upgrading them manually to a windows 10 compatible driver before the install but still no success.I also tried a clean booot and disabling both adapters before upgrading.does anyone have an additional idea of how to solve this problem? thanks Amose

    My many Win 10 install attempts have failed similarly. In the final phase of install during "Configuring Settings" I get the error message: "System Thread Exception Not handled...."  I'm not sure if it reads, "ndis.sys" at the end. The message doesn't remain long.I have a Satellite L355-S7905 with Windows 7 Home Premium. 

  • Thread unserialized exception: NotSerializableException: java.lang.Thread

    hello experts,
    i have this exception coming; seems to be coming from some thread but i removed all the threads from my code, i thought its because of some object which is still unserialized, i am not sure whether this is because of one unserialized object or its because of more reasons, please have a look:
    Exception in client main: java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread
    java.rmi.UnmarshalException: error unmarshalling return; nested exception is:
         java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:173)
         at BallServerImpl_Stub.getAllBallProxies(Unknown Source)
         at CopyOfManyMovingBalls.<init>(CopyOfManyMovingBalls.java:80)
         at CopyOfManyMovingBalls$2.run(CopyOfManyMovingBalls.java:294)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: java.lang.Thread
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1333)
         at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1947)
         at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
         at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
         at java.io.ObjectInputStream.readArray(ObjectInputStream.java:1667)
         at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1323)
         at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
         at sun.rmi.server.UnicastRef.unmarshalValue(UnicastRef.java:306)
         at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:155)
         ... 11 more
    this is coming  when i m accessing this method:
    class BallServerImpl extends UnicastRemoteObject
    implements BallServer
    * @return an enumeration of all Balls as proxy objects
    public Ball[] getAllBallProxies() throws java.rmi.RemoteException
         Ball[] locations1 = new Ball[hash.size()];
    java.util.Enumeration iter = hash.elements();
    int idx = 0;
    while (iter.hasMoreElements())
         BallImpl impl = (BallImpl)iter.nextElement();
    locations1[idx++] = new BallProxy(impl);
    return locations1;
    why this function is running fine when i m calling this from client unlike getAllBallProxies() nevertheless both are returning the same thing:
    * @return an enumeration of all Balls as remote references
    public Ball[] getAllBalls()
         Ball[] locations = new Ball[hash.size()];
    java.util.Enumeration iter = hash.elements();
    int idx = 0;
    while (iter.hasMoreElements())
    locations[idx++] = (Ball)iter.nextElement();
    return locations;
    the proxy Class:
    * The Proxybouncing ball.
    public class BallProxy implements Serializable,Ball {
    * The Real bouncing ball.
    public class BallImpl extends UnicastRemoteObject implements IBallRemote,Serializable
    *load of thanks as this is "SHOW STOPPER",
    jibbylala*
    Edited by: 805185 on Oct 25, 2010 8:33 PM
    Edited by: 805185 on Oct 25, 2010 8:39 PM
    Edited by: 805185 on Oct 25, 2010 9:21 PM
    Edited by: 805185 on Oct 25, 2010 9:25 PM
    Edited by: 805185 on Oct 25, 2010 9:27 PM
    Edited by: 805185 on Oct 25, 2010 9:46 PM

    that there was some thread there in BallProxy but i removed all from them and now testingIf you don't post the code people ask to see, you may never get a useful answer here.
    P.S i didn't know that threads are not SerializedThe Thread class is not Serializable. Precision please.
    Now i m updating the code, i needed the confirmationConfirmation of what?
    and now trying to avoid them.Them?
    But what if i need them.Them?
    Please make the effort to express yourself clearly. You've already been told you're not making much sense and you haven't done anything about it.
    how can we make serialized?The concept of serializing a Thread makes no sense whatsoever. You don't want to do it. You don't need to do it. You can't do it. It wouldn't work if you could do it.
    Somewhere or other you have a class member that is a reference to a Thread. Remove it or make it transient. If you post the code somebody may help you. If you don't, nobody can possibly do that.

  • Code causing exceptions at its own sweet time and place

    import java.lang.*;
    class newthread implements Runnable
         Thread t;
         int click=0;
         public volatile boolean running=true;
         newthread(int p)
              t=new Thread(this);
              t.setPriority(p);
         void start()
              t.start();
         public void run()
              while(running)
                   click++;
         void start1()
              running=true;
         void stop()
              running=false;     
    class threadpriority2
         public static void main(String argv[])
              newthread ob1=new newthread(Thread.NORM_PRIORITY+2);
              newthread ob2=new newthread(Thread.NORM_PRIORITY-2);
              ob1.start();
              ob2.start();
              try
                   Thread.sleep(5000);
              catch(Exception e)
                   System.out.println("error detected:"+e);
              System.out.println("first one:"+ob1.click);
              System.out.println("first one:"+ob2.click);
              System.out.println("the priority of ob1 is:"+ob1.t.getPriority());
              System.out.println("the priority of ob2 is:"+ob2.t.getPriority());
              ob1.stop();
              ob2.stop();
              ob2.t.setPriority(Thread.NORM_PRIORITY+3);      
              ob1.t.setPriority(Thread.NORM_PRIORITY-3);
              ob1.start1();
              ob2.start1();
              ob1.start();
              ob2.start();
              System.out.println("the priority of ob1 is:"+ob1.t.getPriority());
              System.out.println("the priority of ob2 is:"+ob2.t.getPriority());
              try
                   Thread.sleep(5000);
              catch(Exception e)
                   System.out.println("error detected:"+e);
              ob1.stop();
              ob2.stop();
              System.out.println("first one:"+ob1.click);
              System.out.println("first one:"+ob2.click);
    errors during runtime:
    Exception in thread "main" java.lang.IllegalThreadStateException
    at java.lang.Thread.start(Unknown Source)
    at newthread.start(threadpriority2.java:17)
    at threadpriority2.main(threadpriority2.java:77)
    when i run this code it causes exceptions at its own sweet locations when i run it separately.if once it displays some valid input it would then be followed by the exception
    next time if i run it it will throw exception as soon as i run it at the very start without displaying even an iota of valid data like the previous case
    is ti because the os is placing restrictions on the threads growth or something else.incase there is an error in my code it should atleast pop up the exceptions at one particular loaction in the output and not give different outputs

    1) When you post code, please use and tags as described in Formatting tips on the message entry page. It makes it much easier to read.
    wasnt aware of it.will keep it in mind i post nexttime.sorry for the inconvenience[\b]
    3) You have multiple threads, right? The scheduling of which thread gets how much CPU time when is not subject to your control or prediction, so of course you'll see different timings in subsequent runnings of the same code.[b]actually the problem is not with multiple threads showing different times.whats happening is that exceptions are being thrown randomly at runtime.once when i ran it the exception was displayed at the very beginning of the output and the program snapped.next when i ran it first some output which was slated to be displayed got displayed and then the exceptions appeared in the output.now if the exceptions are thrown at the very beginning its obvious theres some problem at the background coz in the second case that never happened[\b]
    i guess the formatting tips have taken effect[:D]

  • Exception not handled by the Collaxa Cube system

    Hi!
    i have plsql procedure and i published it as a web service using JDev 10.1.3, web service is deployed on OC4J 10.1.3. When i call it directly, everything works fine. When i make a BPEL process jast wrapping this web service (receive, assign, invoke, assign, reply - that`s all) the web service is invoked fine without error, but then error appears in the bpel process:
    Exception not handled by the Collaxa Cube system. An unhandled exception has been thrown in the Collaxa Cube system. The exception reported is: "java.lang.NullPointerException at com.collaxa.cube.engine.delivery.DeliveryHelper.saveAttachments(DeliveryHelper.java:436) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.saveAttachments(WSIFOperation_ApacheAxis.java:3521) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.populateOutMsgParts(WSIFOperation_ApacheAxis.java:1403) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.buildResponseMessages(WSIFOperation_ApacheAxis.java:1303) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeAXISRPCStyle(WSIFOperation_ApacheAxis.java:1815) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.invokeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1613) at com.collaxa.cube.ws.wsif.providers.axis.WSIFOperation_ApacheAxis.executeRequestResponseOperation(WSIFOperation_ApacheAxis.java:1083) at com.collaxa.cube.ws.WSIFInvocationHandler.invoke(WSIFInvocationHandler.java:452) at com.collaxa.cube.ws.WSInvocationManager.invoke2(WSInvocationManager.java:327) at com.collaxa.cube.ws.WSInvocationManager.invoke(WSInvocationManager.java:189) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__invoke(BPELInvokeWMP.java:601) at com.collaxa.cube.engine.ext.wmp.BPELInvokeWMP.__executeStatements(BPELInvokeWMP.java:317) at com.collaxa.cube.engine.ext.wmp.BPELActivityWMP.perform(BPELActivityWMP.java:188) at com.collaxa.cube.engine.CubeEngine.performActivity(CubeEngine.java:3408) at com.collaxa.cube.engine.CubeEngine.handleWorkItem(CubeEngine.java:1836) at com.collaxa.cube.engine.dispatch.message.instance.PerformMessageHandler.handleLocal(PerformMessageHandler.java:75) at com.collaxa.cube.engine.dispatch.DispatchHelper.handleLocalMessage(DispatchHelper.java:166) at com.collaxa.cube.engine.dispatch.DispatchHelper.sendMemory(DispatchHelper.java:252) at com.collaxa.cube.engine.CubeEngine.endRequest(CubeEngine.java:5438) at com.collaxa.cube.engine.CubeEngine.createAndInvoke(CubeEngine.java:1217) at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.createAndInvoke(CubeEngineBean.java:120) at com.collaxa.cube.engine.ejb.impl.CubeEngineBean.syncCreateAndInvoke(CubeEngineBean.java:153) at ICubeEngineLocalBean_StatelessSessionBeanWrapper0.syncCreateAndInvoke(ICubeEngineLocalBean_StatelessSessionBeanWrapper0.java:486) at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequestAnyType(DeliveryHandler.java:520) at com.collaxa.cube.engine.delivery.DeliveryHandler.initialRequest(DeliveryHandler.java:435) at com.collaxa.cube.engine.delivery.DeliveryHandler.request(DeliveryHandler.java:132) at com.collaxa.cube.ejb.impl.DeliveryBean.request(DeliveryBean.java:101) at IDeliveryBean_StatelessSessionBeanWrapper22.request(IDeliveryBean_StatelessSessionBeanWrapper22.java:479) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:120) at com.oracle.bpel.client.delivery.DeliveryService.request(DeliveryService.java:70) at _ngDoInitiate._jspService(_ngDoInitiate.java:289) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind.server.http.ServletRequestDispatcher.include(ServletRequestDispatcher.java:121) at com.evermind.server.http.EvermindPageContext.include(EvermindPageContext.java:267) at _displayProcess._jspService(_displayProcess.java:792) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:56) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:350) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:509) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:413) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:824) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.ServletRequestDispatcher.forward(ServletRequestDispatcher.java:222) at com.collaxa.cube.fe.DomainFilter.doFilter(DomainFilter.java:152) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:663) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:330) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:830) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:224) at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:133) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:186) at java.lang.Thread.run(Thread.java:534) ". Exception: java.lang.NullPointerException Handled As: com.collaxa.cube.CubeException
    i found similar problem calling axis web service, but this web service runs on OC4J ... any suggestions what to do?
    Thanks,
    Tomas

    User,
    I'd probably try the [url http://forums.oracle.com/forums/forum.jspa?forumID=212]BPEL Forum for this one.
    Regards,
    John

  • Thread Aborted Exception

    Hi,
    I'm using LDAP with Active Directory.
    When I run a query, the very first time, results are correctly
    populated. Every successive query then fails, with a thread aborted
    exception:
    Message: Thread was being aborted.
    Stack Trace:
    at System.Net.UnsafeNclNativeMethods.OSSOCK.recv(IntP tr
    socketHandle, Byte* pinnedBuffer, Int32 len, SocketFlags socketFlags)
    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset,
    Int32 size, SocketFlags socketFlags, SocketError& errorCode)
    at System.Net.Sockets.Socket.Receive(Byte[] buffer, Int32 offset,
    Int32 size, SocketFlags socketFlags)
    at System.Net.Sockets.NetworkStream.Read(Byte[] buffer, Int32
    offset, Int32 size)
    at System.IO.Stream.ReadByte()
    at Novell.Directory.Ldap.Asn1.Asn1Identifier..ctor(St ream
    in_Renamed)
    at Novell.Directory.Ldap.Connection.ReaderThread.Run( )
    Could anyone help with why this is happening?
    Thanks,
    Nedar
    nedar
    nedar's Profile: http://forums.novell.com/member.php?userid=78416
    View this thread: http://forums.novell.com/showthread.php?t=401581

    nedar;1936674 Wrote:
    > I did try simply replacing the dll, but that did not help.
    Can you encapsulate the failure into a test harness and post the code
    some place? If you are running latest libraries... and you do get a
    correct run the first time through... perhaps the issue is in the way
    you are using them.
    Also, have you seen 'similar'
    (http://developer.cisco.com/web/cuae/.../105446316CEF7)
    error? Seems to involve the FQN / BaseDN being used... same stack
    traces, essentially. Specifically:
    > DC=cisco,DC=com is reproducing the same error on my side. "o=cisco.com"
    > is working fine.
    >
    > Basically, the correct format of BaseDN for your specific ldap server
    > is needed to make the Query work. You may be able to look at your ldap
    > server to figure correct format.
    >
    -- Bob
    Bob Mahar -- Novell Knowledge Partner
    Do you do what you do at a .EDU? http://novell.com/ttp
    "Programming is like teaching a jellyfish to build a house."
    http://twitter.com/BobMahar http://vimeo.com/boborama
    Bob-O-Rama's Profile: http://forums.novell.com/member.php?userid=5269
    View this thread: http://forums.novell.com/showthread.php?t=401581

  • Digital graph causes exception in 8.5

    Wanted to port some of my older LV panels to 8.5.  I noticed that LabView would generate the following message when attempting to load one of my panels:
    "Unhandled exception at 0x007513e0 in LabVIEW.exe: 0xC0000005: Access violation reading location 0x00000000"
    The following is a snippit of code from the debugger:
    007513B0  aaa
    007513B1  adc         esi,dword ptr [ebp]
    007513B4  bound       edx,qword ptr [ebx]
    007513B6  jne         007513B8
    007513B8  jnp         007513CD
    007513BA  jne         007513BC
    007513BC  xchg        eax,esp
    007513BD  adc         esi,dword ptr [ebp]
    007513C0  xor         ecx,ecx
    007513C2  xor         eax,eax
    007513C4  test        edx,edx
    007513C6  je          00751461
    007513CC  mov         eax,dword ptr [edx+4]
    007513CF  test        eax,eax
    007513D1  push        esi
    007513D2  mov         esi,dword ptr [edx]
    007513D4  jle         0075145B
    007513DA  mov         edx,dword ptr [edx+8]
    007513DD  push        edi
    007513DE  mov         edi,eax
    007513E0  mov         al,byte ptr [esi]    <<<<************************************************ Dies here
    007513E2  cmp         al,2
    007513E4  jne         007513EB
    007513E6  or          ecx,4
    007513E9  jmp         00751412
    007513EB  cmp         al,5
    Panels like this one are mid sized, containing 10 - 20 sub VIs.  I stripped the panel down to try and find what exactly was causing LV 8.5 to crash.  It turns out to be the digital graph.    I have attached a very simple panel that just contains the digital graph with nothing wired to it.  If you try to run this in 8.5 I am guessing it will cause the problem.  I tried it on a few PCs and get the same results.
    Attachments:
    main.vi ‏20 KB

    Looking at my disks, version 6 appears to have been the first release to support digital graphs.  I remember using as soon as it was available.  
    I tried several tests to see if I could further narrow down the problem for NI.
    I am able to load the raw version 6.0 examples directly into 8.5.  
    1) I saved version 6.0 example  "Simple Digital Waveform Graph" (SDWG) into a seperate VI.   It loads in both 6.1 and 8.5 with no exception.
    2) Loaded main.vi example and copied it into the SDWG using 6.1.   Causes exception in 8.5
    3) Connect the two graphs together in example so digital data is shown on both graphs, then saved the values as defaults.  This version loads in 8.5 with no exception.
    4) Start with main.vi, clear all the waveform data and save as defaults.  Causes exception in 8.5
    So, problem appears to have nothing to do with the cursors but does appear to be something with the data that had been stored into this graph when the defaults were saved.   It is really strange that clearing the data does not solve the problem.  Maybe this is a bigger problem than I originally thought.   
    Message Edited by lecroy on 10-09-2008 01:07 PM

  • SQL Exception not in streaming mode

    Hi friends
    I am using oracle driver and I am getting this error on queries very randomly.I am using Oracle8i 8.1.5 on NT machine.
    SQL Exception not in streaming mode
    Can anybody explaing why and when this error gets generated and what is the solution for it.
    Please contact me at the following emailids
    [email protected]
    [email protected]
    null

    What do you do with the connection before the prepareStatement()? Is your program small enough to post here (use [code]...[/code] tags)? Do you have multiple threads that try to use the same connection simultaneously? Do you work with Long, Clob or Blob columns? What JDBC driver version?

  • Finally cause Exception be forgotten

    In trying out that finally cause previous return value be forgotten, as described on page 206 of "The Java Programming Language, 3rd edition", I wrote the following code, and tested it with jdk1.3.1. To my supprise, not only the return value was forgotten, the exception was appeared forgotten as well:
    class PException extends Exception {
    class Final {
        void f1(int i) {
         int result;
         System.out.println("f1("+i+")");
         try {
             result = f2(i);
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("caught an Exception: " + e);
         try {
             result = f3(i);
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("caught an Exception: " + e);
        int f2(int i) throws PException {
         try {
             if (i == 1) {
              System.out.println("generate exception");
              throw new PException();
             return 1;
         } finally {
             return 2;
        int f3(int i) throws PException {
         if (i == 1) {
             System.out.println("generate exception");
             throw new PException();
         return 1;
        public static void main(String[] args) {
         Final f = new Final();
         f.f1(1);
         f.f1(2);
         f.f1(1);
    }Here is the result:
    f1(1)
    generate exception
    result = 2
    generate exception
    caught an Exception: PException
    f1(2)
    result = 2
    result = 1
    f1(1)
    generate exception
    result = 2
    generate exception
    caught an Exception: PException

    The concern here is that when the
    try {
    finally {
    }pattern is used, without the catch block, purelly for flow control purpose, a return statement in the finally block could be problematic. If a finally block ends with a return statement, any exception that might be thrown in the try block would be ignored. The unhandled exception will not propergate, it simply lost in the midst. Because any code could throw unchecked exception, if the exception cannot afford to be lost, then one should be careful not to use return in the finally block. See the following test code:
    class Finally {
        void test() {
         int result;
         System.out.println("test()");
         try {
             result = f1();
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
         try {
             result = f2();
             System.out.println("result = " + result);
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
         try {
             f3();
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
         try {
             f4();
         } catch(Exception e) {
             System.out.println("Caught an Exception: " + e);
        int f1() {
         System.out.println("f1()");
         int a = 0;
         int b = 0;
         try {
             a = 1/0;  // this generate an unchecked exception
             b = 1;
         } finally {
             return b; // this return clobber the unchecked exception
        int f2() {
         System.out.println("f2()");
         int a = 0;
         int b = 0;
         a = 1/0; // this generate an unchecked exception
         b = 1;
         return b;
        void f3() {
         System.out.println("f3()");
         int a = 0;
         int b = 0;
         try {
             a = 1/0;  // this generate an unchecked exception
             b = 1;
         } finally {
             return;   // this return clobber the unchecked exception
        void f4() {
         System.out.println("f4()");
         int a = 0;
         int b = 0;
         try {
             a = 1/0;  // this generate an unchecked exception
             b = 1;
         } finally {
        public static void main(String[] args) {
         Finally f = new Finally();
         f.test();
    /code]
    Here are the results:test()
    f1()
    result = 0
    f2()
    Caught an Exception: java.lang.ArithmeticException: / by zero
    f3()
    f4()
    Caught an Exception: java.lang.ArithmeticException: / by zero
    We see that the devide by zero exception throw by f1() simply vanished, the unintended result 0, instead of the intended result 1, is returned. The test() method did not detect any abnormality in f1(), which is scary. To drive the point home, we try f3() and f4(), which has void return type. A simple return statement in f3() causes exception be lost. The stack frame seems intact, for otherwise, the test() method would exit abruptly before f2() even get a chance to be called.

  • ORA-00322: log 19 of thread 1 is not current copy

    Hi,
    On my standby database I am getting this error.
    I am using Oracle 10g on linux server.
    why this error occurs?
    After this the media recovery is going on.
    Thanks,
    Kavitha

    00322, 00000, "log %s of thread %s is not current copy"
    // *Cause:  Check of log file header at database open found that an online
    //          log appears to be an incorrectly restored backup.
    // *Action: Restore correct file or reset logs.

  • ORA-00322: log 1 of thread 1 is not current copy

    can you please help me.
    Im using oracle express edition.
    Regrds
    upul Indika.
    SQL> startup
    ORACLE instance started.
    Total System Global Area 146800640 bytes
    Fixed Size 1286220 bytes
    Variable Size 83890100 bytes
    Database Buffers 58720256 bytes
    Redo Buffers 2904064 bytes
    Database mounted.
    ORA-00322: log 1 of thread 1 is not current copy
    ORA-00312: online log 1 thread 1:
    'D:\PROGRAMEFILES\APP\ORACLE\FLASH_RECOVERY_AREA\XE\ONLINELOG\O1_MF_1_307BLHJ3_.
    LOG'
    SQL>
    SQL>
    Message was edited by:
    Upul Indika

    00322, 00000, "log %s of thread %s is not current copy"
    // *Cause:  Check of log file header at database open found that an online
    //          log appears to be an incorrectly restored backup.
    // *Action: Restore correct file or reset logs.

  • Thread Locking Exception

    Hi All,
    Many times while working on MDM via MDM API's I received Thread Locking Exception. This Exception is so severe that it leads MDM Data Manager in  hanged state and get resolved only by restarting the server. Sometimes I do not get this exception but Data Manager gets hanged, even I am unable to open Console also. Please answer this question.
    Thanks ..
    Vibha

    Hello All,
    Still we haven't able to resolve this issue. We already have SR with oracle. So many logs were captured.
    Below is the snippet of seedSchedulerdata.log
    ${work.dir}Entered Validate methodExiting Validate method------------------------------------------------------------
    Start seeding task
    job name--> Password Expiration Task
    schTaskName--> Password Expiration Task
    task class name--> com.thortech.xl.schedule.tasks.tcTskPasswordExpiration
    task job disable--> 0
    task frequency--> DAILY
    task maxRetries--> 5
    task retryCount--> 0
    task paramName--> Email Definition Name
    task paramValue--> Password Expired
    task paramTpe--> String
    Updating Job :Password Expiration Task with keys
    java.lang.Exception: Unable to seed scheduler data due to configuration problems. Contact System Administrator
         at oracle.iam.scheduler.seed.SeedSchedulerData.startSeeding(SeedSchedulerData.java:770)
         at oracle.iam.scheduler.seed.SeedSchedulerData.main(SeedSchedulerData.java:113)
    If any of them faced such issue please help.
    Thanks
    DK

Maybe you are looking for

  • HT201272 purchased app is missing

    My app is completely missing from my purchased apps tab. I have a receipt from where I purchased it. How can I get it redownloaded on my phone. The app is Keeper back up, I paid $9.99 for it and it is gone.  Any ideas on how to get it back.

  • How do I disable all HTML in incoming email messages?

    I just switched from Thunderbird to Mail and discovered that I cannot disable HTML rendering in email. I don't want to turn off only images. I want all HTML commands to be ignored. Most HTML is an annoyance, esp. with all the bad web designers who pu

  • Oracle server on a desktop

    Does the Oracle server database have a version to operate on a desktop pc? If so, what would be recommended for cpu processor speed, memory and OS? (If I do this, it would most likely be on Windows XP Professional.) I currently have Oracle 9i running

  • SSIS 2005 and SSIS 2012 Have Different Data Flow Output

    Hi Guys, I'm currently converting our SSIS 2005 packages to 2012 and I'm finding an odd difference on the Data Flow Output when it imports a txt file to a table. We have a pipe delimited file ( contains a totals on the bottom row). CATNO|Title|Total

  • Reduction of PIR in strategy 10, without GI to sales order!

    Guys, I plan a semi-finished product using strategy 10. This material is not sold,rater it is issued to order of finished product. In this case how is PIR for semi-finished product reduced, since there is no goods issue against sales order? Pl help!