Reg: Uncaught Exception: com.sun.forte.st.mpmt.ipc$AnIPCException

I am developing programs using sun studio 12 on SunFireT1000 Server having Solaris 10 OS .
My program is getting compiled and running well but i have probems in profiling.
When I try to profile, I got the following error
"Uncaught Exception: com.sun.forte.st.mpmt.ipc$AnIPCException
er_print exited due to internal error
Exception in thread Window_thread."
Even for the programs that I profiled earlier I am now getting the same error.
If I login with a different user name I am able to profile the same project without the above error but I cannot modify the source code.
Kindly suggest a solution to overcome the above problem.
Thanks in advance,
Mahendraarman.D

Hi Mahendraarman,
Thank you for the report! Usually this error message (exception) indicates a problem in "er_print",
or in the dialog between "analyzer" and "er_print". Could you please check if there is a "core" file
from "er_print"? If there is no 'core" file, please, make sure the limit on coredumpsize is unlimited,
and start analyzer again:
{code}
% csh
% limit coredumpsize unlimited
% limit
cputime unlimited
filesize unlimited
datasize unlimited
stacksize 10240 kbytes
coredumpsize unlimited
descriptors 256
memorysize unlimited
% analyzer
{code}
If you get a core file from "er_print", please, run "pstack core" and post its output.
You wrote that you can view the experiment using another user's account. This is
very important detail. Do you have ".er.rc" file in your $HOME directory?
If yes, could you, please, rename it and start analyzer again?
{code}
% mv $HOME/.er.rc $HOME/.er.rc.0
% analyzer
{code}
If you cannot get a core file, and there is no $HOME/.er.rc file, could you please
run analyzer under truss, and send me the truss output?
{code}
% truss -a -e -f -o /tmp/analyzer.tr analyzer
{code}
When the problem happens, send me this file: /tmp/analyzer.tr
My email address is: Nikolay dot Molchanov at Sun dot Com
Thanks in advance,
Nik

Similar Messages

  • Exception: com.sun.media.jai.util.ServiceConfigurationError

    I've developed an applet that uses javax.media.jai. API. When it's compiled and ran through Microsoft's IIS and from the command line it works fine. The final place for this applet, though, is on a Linux server. When it's compiled and ran from the shell it runs fine. But through Apache i get this error.
    com.sun.media.jai.util.ServiceConfigurationError: javax.media.jai.OperationRegistrySpi: : sun.io.MalformedInputException
         at com.sun.media.jai.util.Service.fail(Service.java:127)
         at com.sun.media.jai.util.Service.parse(Service.java:206)
    I know that the problem line is:
    PlanarImage im = (PlanarImage)JAI.create ("AWTImage", pb);
    Also, that both servers JSDK's and JRE's were installed correctly.
    And, that the needed registerFile.jai is located in the right place.
    I've been stumped by this for a week and can't find info on the com.sun.media.jai.util.ServiceConfigurationError class or javax.media.jai.OperationRegistrySpi class.

    Hi ,
    I am getting the similar error -
    I have an applet which displays a tiff image and allows the user to magnify , rotate , invert , zoom or print the displayed image . The applet uses JAI 1.1 API and jre plugin -1.3.0_0.1. It works fine when loaded in IE but with netscape (version 4.5/6.0) it throws the exception :-
    com.sun.media.jai.util.ServiceConfigurationError: javax.media.jai.OperationRegistrySpi: https://xyz/javatiffviewer/META-INF/services/javax.media.jai.OperationRegistrySpi:1: Illegal configuration-file syntax
         at com.sun.media.jai.util.Service.fail(Service.java:127)
         at com.sun.media.jai.util.Service.fail(Service.java:133)
         at com.sun.media.jai.util.Service.parseLine(Service.java:155)
         at com.sun.media.jai.util.Service.parse(Service.java:204)
         at com.sun.media.jai.util.Service.access$100(Service.java:118)
         at com.sun.media.jai.util.Service$LazyIterator.hasNext(Service.java:255)
         at javax.media.jai.OperationRegistry.registerServices(OperationRegistry.java:2031)
         at javax.media.jai.ThreadSafeOperationRegistry.registerServices(ThreadSafeOperationRegistry.java:620)
         at javax.media.jai.OperationRegistry.initializeRegistry(OperationRegistry.java:371)
         at javax.media.jai.JAI.<clinit>(JAI.java:382)
         at javax.media.jai.OpImage.<init>(OpImage.java:230)
         at javax.media.jai.PointOpImage.<init>(PointOpImage.java:374)
         at javax.media.jai.PointOpImage.<init>(PointOpImage.java:404)
         at javax.media.jai.NullOpImage.<init>(NullOpImage.java:108)
         at javax.media.jai.NullOpImage.<init>(NullOpImage.java:156)
         at TiffApplet.CReadImage.separateImages(CReadImage.java:185)
         at TiffApplet.CReadImage.checkForNoOfImages(CReadImage.java:149)
         at TiffApplet.CReadImage.<init>(CReadImage.java:68)
         at TiffApplet.CTIFFViewer.showImage(CTIFFViewer.java:259)
         at TiffApplet.CTIFFViewer.start(CTIFFViewer.java:191)
         at sun.applet.AppletPanel.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Can you please, suggest a solution .
    Thanks ,
    Navneet

  • Reg:(uncaught Exception :width/offset argument cannot be negative or exceed the text length)

    hi all,
        I just completed my application and import the COD File in Blackberry simulator 8300 . In my mobile after login click on button it throws error and exit the application.
    It throws "uncaught Exception:width/offset argument cannot be negative or exceed the text length"
    Kindly give suggestion

    Hello,
    You should ask in the
    Lightswitch forum.
    If this WAS in the Lightswitch forum, I suppose you should ask in Microsoft's ASP.Net forums:
    http://forums.asp.net/
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog:http://unlockpowershell.wordpress.com
    My Book:Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • Random classcast exception - com.sun.jndi.cosnaming.CNCtxFactory

    Hi,
    I am trying to use a remote ejb (weblogic 8.1.5/ jdk 14) from a j2se 1.5 rmi-iiop client.
    If I use com.sun.jndi.cosnaming.CNCtxFactory to look up the remote home & then use the remote interface, I get the following error RANDOMly (i.e only some calls succeed).
    java.lang.ClassCastException
         at xxx.equals(xxxjava:129)
         at weblogic.corba.utils.IndirectionValueHashtable.get(IndirectionValueHashtable.java:119)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1471)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
         at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
         at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
         at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
         at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
         at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
         at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
         at weblogic.iiop.RMIMsgOutput.writeObject(RMIMsgOutput.java:117)
         at xxx.yyy_ehqjge_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:492)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:435)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:430)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    I had a look at IndirectionValueHashtable class. It looks like the classcast is happening because the "handle-to-object" map has non String values.
    Could this be a corba compatabilty issue?
    The problem doesn't occur if I use weblogic initial context factory & t3 protocol.
    What is the best way to overcome this problem? I dont want to distribute weblogic.jar [from 8.1.5 server]. wlclient is okay.
    thanks

    Tony Zimmer <> writes:
    Certainly looks like a bug, in which case you need to go through
    support to get it fixed. Do however check that your objects are in
    fact serializable (including all their fields).
    andy
    Tried a few more combinations. No luck so far.
    classcast exception for some objects at some times
    server: WebLogic Server 10.0 / Sun 1.5.0_06/ WinNT 6
    client: Sun jdk 1.5.0_11/1.4.2_14
    java.lang.ClassCastException: java.lang.String
         at xxxpack.client.PaymentReceipt.equals(PaymentReceipt.java:881)
         at weblogic.corba.utils.IndirectionValueHashtable.get(IndirectionValueHashtable.java:119)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1836)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1992)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2253)
         at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
         at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
         at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1957)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1992)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2253)
         at weblogic.utils.io.ObjectStreamClass.writeFields(ObjectStreamClass.java:413)
         at weblogic.corba.utils.ValueHandlerImpl.writeValueData(ValueHandlerImpl.java:235)
         at weblogic.corba.utils.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:182)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1957)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1992)
         at weblogic.iiop.IIOPOutputStream.writeObject(IIOPOutputStream.java:2253)
         at xxxpack.server.ProcessPayment_ehqjge_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:589)
         at weblogic.rmi.cluster.ClusterableServerRef.invoke(ClusterableServerRef.java:224)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:479)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:475)
         at weblogic.rmi.internal.BasicServerRef.access$300(BasicServerRef.java:59)
         at weblogic.rmi.internal.BasicServerRef$BasicExecuteRequest.run(BasicServerRef.java:1016)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:200)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:172)
    server: WebLogic Server 8.1 SP6 / Sun 1.4.2_11 / WinNT 6
    client jdk 1.4.2_14/1.5.0_11:
    java.lang.ClassCastException
         at xxxpack.client.PurchaseAmount.equals(PurchaseAmount.java:148)
         at weblogic.corba.utils.IndirectionValueHashtable.get(IndirectionValueHashtable.java:119)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1471)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
         at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
         at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
         at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
         at com.sun.corba.se.internal.io.IIOPOutputStream.writeObjectField(IIOPOutputStream.java:685)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputClassFields(IIOPOutputStream.java:745)
         at com.sun.corba.se.internal.io.IIOPOutputStream.defaultWriteObjectDelegate(IIOPOutputStream.java:167)
         at com.sun.corba.se.internal.io.IIOPOutputStream.outputObject(IIOPOutputStream.java:526)
         at com.sun.corba.se.internal.io.IIOPOutputStream.simpleWriteObject(IIOPOutputStream.java:123)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValueInternal(ValueHandlerImpl.java:136)
         at com.sun.corba.se.internal.io.ValueHandlerImpl.writeValue(ValueHandlerImpl.java:116)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1593)
         at weblogic.iiop.IIOPOutputStream.write_value(IIOPOutputStream.java:1624)
         at weblogic.iiop.RMIMsgOutput.writeObject(RMIMsgOutput.java:117)
         at xxxpack.server.ProcessPayment_ehqjge_EOImpl_WLSkel.invoke(Unknown Source)
         at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:491)
         at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:120)
         at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:434)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
         at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:147)
         at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:429)
         at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:35)
         at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
         at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
    Do you have a list/ martix of client-server versions used for the bug fixes?
    Thanks

  • How to handle the exception com.sun.xml.internal.messaging.saaj.SOAPExcepn

    hi,
    I am accessing wsdl to get all the required data and the connection is establishing successfully thru java code but when i am calling the create user api the following exception is coming
    "com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: No NamespaceURI, SOAP requires faultcode content to be a QName"
    please tell me what is faultcode means and how to solve this exception

    Hi,
    Whenever there is any error inside the WebService or while it's processing ...it throws Exceptions ..We can handle these exception by our own to make the Exception details more readable.....For that we can create our own SOAPFault message...
    Please refer to the below Posts...
    1). If you are using JAXWS Style of WebService then : http://middlewaremagic.com/weblogic/?p=713
    2). If you are using JAXRPC Style of WebService then : http://middlewaremagic.com/weblogic/?p=721
    Thanks
    Jay SenSharma
    http://middlewaremagic.com/weblogic (Middleware magic Is Here)

  • Exception in Sun App Server 9

    Hi ,
    i was wondering why i get this stacktrace below when i access JSP page
    [#|2006-10-25T10:58:40.919+0800|SEVERE|sun-appserver-pe9.1|javax.enterprise.system.container.web|_ThreadID=11;_ThreadName=httpWorkerThread-80-0;_RequestID=b573afc9-2776-432e-a955-15a99f9cff71;|StandardWrapperValve[Faces Servlet]: PWC1406: Servlet.service() for servlet Faces Servlet threw exception
    java.lang.NullPointerException
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.getClearHiddenFieldScript(ButtonRenderer.java:313)
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:212)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:239)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.renderComponent(PopupCalendarRenderer.java:328)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.encodeEnd(PopupCalendarRenderer.java:213)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.renderer.PanelGroupRenderer.encodeChildren(PanelGroupRenderer.java:61)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableColumnRenderer.encodeChildren(TableColumnRenderer.java:173)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRowGroupRenderer.encodeChildren(TableRowGroupRenderer.java:185)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeChildren(TableRenderer.java:157)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:241)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:241)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:153)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at biz.autoscan.ils.security.SecurityFilter.doFilter(SecurityFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:789)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:328)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    But it was working fine when i use app server bundled with the Creator

    i dont know if this is related to the popup calendar thingy as u can see
    at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.renderComponent( PopupCalendarRenderer.java:328)
    at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.encodeEnd(PopupC alendarRenderer.java:213)
    Here is my structure of my JSP page but this error doesnt happen for all the pages.. only certain pages that has a ajax popup calendar bind to the table.
    Login.jsp ---> ( FilterPage.jsp) ( there is always a filter for every page ) -->SearchA.jsp
    my SearchA.jsp structure would as below
    -propertysheet
           -propertysection
                  -property
                         -table
                              -column1
                                ajax auto complete
                              -column2
                                 static text
                              - column3
                                 static text ( showing date )
                                 group panelDate
                                      popupCalendar
                                      msgforPopupCalendarHere is the subsequent stacktrace i got in my server.log
    [#|2006-10-25T10:58:40.915+0800|WARNING|sun-appserver-pe9.1|javax.enterprise.resource.webcontainer.jsf.lifecycle|_ThreadID=11;_ThreadName=httpWorkerThread-80-0;_RequestID=b573afc9-2776-432e-a955-15a99f9cff71;|executePhase([b]RENDER_RESPONSE 6,com.sun.faces.context.FacesContextImpl@1bf1be2) threw exception
    com.sun.rave.web.ui.appbase.ApplicationException
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.destroy(ViewHandlerImpl.java:601)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:316)
         at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:133)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
         at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:140)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
         at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:397)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:303)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at biz.autoscan.ils.security.SecurityFilter.doFilter(SecurityFilter.java:76)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:216)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:184)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:274)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:246)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:185)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:73)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:182)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at com.sun.enterprise.web.VirtualServerPipeline.invoke(VirtualServerPipeline.java:120)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:137)
         at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:586)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:556)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:939)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:239)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:618)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.processNonBlocked(DefaultProcessorTask.java:549)
         at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:789)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:328)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:251)
         at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:205)
         at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:252)
         at com.sun.enterprise.web.connector.grizzly.WorkerThreadImpl.run(WorkerThreadImpl.java:103)
    Caused by: java.lang.NullPointerException
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.getClearHiddenFieldScript(ButtonRenderer.java:313)
         at com.sun.faces.renderkit.html_basic.ButtonRenderer.encodeBegin(ButtonRenderer.java:212)
         at javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:810)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:239)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.renderComponent(PopupCalendarRenderer.java:328)
         at com.sun.j2ee.blueprints.ui.popupcalendar.PopupCalendarRenderer.encodeEnd(PopupCalendarRenderer.java:213)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.renderer.PanelGroupRenderer.encodeChildren(PanelGroupRenderer.java:61)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableColumnRenderer.encodeChildren(TableColumnRenderer.java:173)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRowGroupRenderer.encodeChildren(TableRowGroupRenderer.java:185)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.renderer.TableRenderer.encodeChildren(TableRenderer.java:157)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeRecursive(HtmlBasicRenderer.java:241)
         at com.sun.faces.renderkit.html_basic.GridRenderer.encodeChildren(GridRenderer.java:277)
         at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:828)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:80)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at com.sun.rave.web.ui.util.RenderingUtilities.renderComponent(RenderingUtilities.java:88)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encodeChild(LayoutElementBase.java:407)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutComponent.encodeThis(LayoutComponent.java:228)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:208)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutForEach.encode(LayoutForEach.java:169)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.component.util.descriptors.LayoutElementBase.encode(LayoutElementBase.java:225)
         at com.sun.rave.web.ui.renderer.template.TemplateRenderer.encodeEnd(TemplateRenderer.java:125)
         at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:848)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:893)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:889)
         at com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:241)
         at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:153)
         at com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.renderView(ViewHandlerImpl.java:311)
         ... 37 more
    |#]

  • Com.sun.istack.SAXException2: unable to marshal ....

    Using JAXB 2.0, I am getting the following Exception while marshalling.
    The problem is unexpected as I am working with the JAXB generated classes. The classes themselves were generated from XML schemas and the schema compilation was successful. Any help in identifying the cause of the problem is appreciated.
    Thank you
    Exception in thread "main" javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.istack.SAXException2: unable to marshal type "abc.def.ghi.xsd.pqr.SomeClass" as an element because it is missing an @XmlRootElement annotation]
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:295)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:221)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:70)
         at org.adlregistry.rim.TestSubmission.main(TestSubmission.java:101)
    Caused by: com.sun.istack.SAXException2: unable to marshal type "abc.def.ghi.xsd.pqr.SomeClass" as an element because it is missing an @XmlRootElement annotation
         at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:225)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:274)
         at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:78)
         at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:101)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:114)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:114)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:29)
         at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:132)
         at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:101)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:114)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:98)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:127)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:244)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:251)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:33)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:461)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:292)
         ... 3 more

    Using JAXB 2.0, I am getting the following Exception while marshalling.
    The problem is unexpected as I am working with the JAXB generated classes. The classes themselves were generated from XML schemas and the schema compilation was successful. Any help in identifying the cause of the problem is appreciated.
    Thank you
    Exception in thread "main" javax.xml.bind.MarshalException
    - with linked exception:
    [com.sun.istack.SAXException2: unable to marshal type "abc.def.ghi.xsd.pqr.SomeClass" as an element because it is missing an @XmlRootElement annotation]
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:295)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.marshal(MarshallerImpl.java:221)
         at javax.xml.bind.helpers.AbstractMarshallerImpl.marshal(AbstractMarshallerImpl.java:70)
         at org.adlregistry.rim.TestSubmission.main(TestSubmission.java:101)
    Caused by: com.sun.istack.SAXException2: unable to marshal type "abc.def.ghi.xsd.pqr.SomeClass" as an element because it is missing an @XmlRootElement annotation
         at com.sun.xml.bind.v2.runtime.XMLSerializer.reportError(XMLSerializer.java:225)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeRoot(ClassBeanInfoImpl.java:274)
         at com.sun.xml.bind.v2.runtime.property.ArrayReferenceNodeProperty.serializeListBody(ArrayReferenceNodeProperty.java:78)
         at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:101)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:114)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:114)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.ArrayElementNodeProperty.serializeItem(ArrayElementNodeProperty.java:29)
         at com.sun.xml.bind.v2.runtime.property.ArrayElementProperty.serializeListBody(ArrayElementProperty.java:132)
         at com.sun.xml.bind.v2.runtime.property.ArrayERProperty.serializeBody(ArrayERProperty.java:101)
         at com.sun.xml.bind.v2.runtime.ClassBeanInfoImpl.serializeBody(ClassBeanInfoImpl.java:293)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsXsiType(XMLSerializer.java:619)
         at com.sun.xml.bind.v2.runtime.property.SingleElementNodeProperty.serializeBody(SingleElementNodeProperty.java:114)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:98)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl$1.serializeBody(ElementBeanInfoImpl.java:127)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeBody(ElementBeanInfoImpl.java:244)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:251)
         at com.sun.xml.bind.v2.runtime.ElementBeanInfoImpl.serializeRoot(ElementBeanInfoImpl.java:33)
         at com.sun.xml.bind.v2.runtime.XMLSerializer.childAsRoot(XMLSerializer.java:461)
         at com.sun.xml.bind.v2.runtime.MarshallerImpl.write(MarshallerImpl.java:292)
         ... 3 more

  • Uncaught exception: Push ModalScreen called by a non-event thread

    I have this particular problem going on with my curve 9360. It appears randomly on phone, app not specified, sometimes appear after i use facebook, sometimes with maps, but whenever it comes up battery would drain in less than a minute if it is fully charged. Sometimes, phone restart but it's own and then this message as uncaught exception comes up and battery drains within seconds. Youtube videos doesn't work on phone anymore, not a problem for me, but battery draining within 5 minutes after charging for like 2 hours is worst. Any fix? 

    Please perform Security wipe and reloading OS. See these articles:
    How to delete all data or all data and applications on the BlackBerry smartphone
    How to perform a clean reload of the BlackBerry Device Software using BlackBerry Desktop Software fo...
    Or update your OS.
    How to update BlackBerry Device Software using BlackBerry Desktop Software for Windows
    Thanks. 
    Good luck!
    Please thank those who help you by clicking the button.
    If your issue has been solved, please resolve it by marking "Accept as Solution"

  • Com.sun.identity.policy.NoPermissionException, when try to create a Policy

    I am trying to create a policy using the Identity Server's API, using amadmin user which is supposed to have all the access privilledges.
    policyManager.addPolicy(newPolicy);
    I can create the policy using the same user using the console navigation, but not through the API and PolicyManager.addPolicy method
    The following exception:
    com.sun.identity.policy.NoPermissionException: Unable to create policy MyPolicy.rule1in organization dc=wysdom,dc=com
         at com.sun.identity.policy.PolicyManager.addPolicy(PolicyManager.java:568)
         at com.sun.identity.policy.Policy.store(Policy.java:831)

    shirleymck wrote:
    Where can I find an example of how to create a URL for a file that is in the same directory with the applet without hard-coding it?This page from the Swing tutorial is relevant:
    http://java.sun.com/docs/books/tutorial/uiswing/components/applet.html#images
    The linked code used method getParameter to get values from the HTML page, so that they are not hard-coded into the applet. It used getResourceAsStream to read from a URL, but you can also use the Class method getResource to get a URL.

  • Com.sun.messaging.jms.JMSException: MQRA:CA:Unsupported-setClientID()

    I am using Netbeans5.5 with Sun Application Server 9 to develop a sample jms application with EJB. I am just following the sample example found in a website. However, when receiving the message and setting the client ID I always receive the following exception.
    com.sun.messaging.jms.JMSException: MQRA:CA:Unsupported-setClientID()
    Any help? I have attached my source
    initialize ---------------------------------
    connection = topicMessageFactory.createConnection();
    connection.setClientID("111");
    s = connection.createSession(false,Session.AUTO_ACKNOWLEDGE);
    TopicSubscriber ts = s.createDurableSubscriber(topicMessage,"mySub");
    connection.close();
    send a message ----------------------------------------------------------
    connection = topicMessageFactory.createConnection();
    session = connection.createSession(false,Session.AUTO_ACKNOWLEDGE);
    MessageProducer messageProducer = session.createProducer(topicMessage);
    ObjectMessage message = session.createObjectMessage();
    message.setObject("Hi there!");
    messageProducer.send(message);
    messageProducer.close();
    connection.close();
    Receive the message --------------------------------------------------
    connection = topicMessageFactory.createConnection();
    connection.setClientID("111");
    session = connection.createSession(false,Session.AUTO_ACKNOWLEDGE);
    TopicSubscriber ts = session.createDurableSubscriber(topicMessage,"mySub");
    connection.start();
    Message msg = ts.receive();
    connection.close();

    Did you ever figure out the solution for this error ? I am getting the same error.
    Thanks for any help that you can provide.
    - vmrao

  • The meaning of com.sun.mail.smtp.SMTPAddressFailedException: 550

    Hello experts,
    I am new to JavaMail and does anyone of you know what the exception "com.sun.mail.smtp.SMTPAddressFailedException: 550 Please configure your mail client to use authentication." means or under which circumstance will it occur?
    Thanks a lot!
    Michael

    Hi bshannon,
    Thanks for the reply!
    However, in the FAQ, although it has an entry about 550 error, it is only for "Unable to relay for my-address". So could you shed some light on what exactly the "Please configure your mail client to use authentication" message means?
    In addition, what is the 550 error generally about?
    Thanks a lot!
    Best regards,
    Michael

  • Com.sun.faces.el.impl.parser.ParseException

    hi all;
    i' have encountered an error. Do you have any idea.?
    i think its about jsf syntax , but i couldn't see an syntax fault in jsp file (at least eclipse IDE did not warn me.)
    http://asahin.net
    2006-05-30 14:18:12 StandardWrapperValve[Faces Servlet]: Servlet.service() for servlet Faces Servlet threw exception
    com.sun.faces.el.impl.ElException: Encountered "d", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", "?"]
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:289)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpression(ExpressionEvaluatorImpl.java:199)
         at com.sun.faces.application.ApplicationImpl.checkSyntax(ApplicationImpl.java:741)
         at com.sun.faces.application.ApplicationImpl.createValueBinding(ApplicationImpl.java:291)
         at org.apache.shale.faces.ShaleViewHandler.setupViewController(ShaleViewHandler.java:226)
         at org.apache.shale.faces.ShaleViewHandler.createView(ShaleViewHandler.java:123)
         at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:164)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.shale.faces.ShaleApplicationFilter.doFilter(ShaleApplicationFilter.java:285)
         at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
         at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
         at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
         at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
         at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
         at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
         at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
         at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
         at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
         at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
         at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
         at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
         at java.lang.Thread.run(Thread.java:534)
    Caused by: com.sun.faces.el.impl.parser.ParseException: Encountered "d" at line 1, column 36.
    Was expecting one of:
    ">" ...
    "gt" ...
    "<" ...
    "lt" ...
    "==" ...
    "eq" ...
    "<=" ...
    "le" ...
    ">=" ...
    "ge" ...
    "!=" ...
    "ne" ...
    "+" ...
    "div" ...
    "mod" ...
    "and" ...
    "or" ...
    "||" ...
         at com.sun.faces.el.impl.parser.ELParserImpl.generateParseException(ELParserImpl.java:2234)
         at com.sun.faces.el.impl.parser.ELParserImpl.jj_consume_token(ELParserImpl.java:2102)
         at com.sun.faces.el.impl.parser.ELParserImpl.AttrValueExpression(ELParserImpl.java:110)
         at com.sun.faces.el.impl.parser.ELParserImpl.ExpressionString(ELParserImpl.java:50)
         at com.sun.faces.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:282)
         ... 36 more

    Hello all,
    I face the same problem and as A_SAHIN stated although the jsp page is rendered there exists error messages in log files. Here is some part of the jsp file that cause the exception.
                             <tr>
                                  <td height="3" nowrap="nowrap" valign="top" width="16%"><h:outputLabel
                                       value="Start Date" binding="#{sp$createSAContract.lblstartDate}"
                                       id="lblstartDate" /></td>
                                  <td height="3" valign="top" nowrap="nowrap"><h:inputText
                                       binding="#{sp$createSAContract.txtstartDate}" id="txtstartDate"
                                       style="behavior:url(../resourceSite/htc/DateTime.htc);text-align:right;"
                                       maxlength="15" value="#{sp$createSAContract.generalStartDate}"></h:inputText>
                                  <h:graphicImage url="/resourceSite/images/calendar.gif" alt="Calendar"
                                       binding="#{sp$createSAContract.imgstartDate}" id="imgstartDate"
                                       height="14" width="16" /></td>
                                  <td height="3" nowrap="nowrap" valign="top" width="19%"><h:outputLabel
                                       value="End Date" binding="#{sp$createSAContract.lblendDate}"
                                       id="lblEndDate" /></td>
                                  <td nowrap="nowrap" width="34%" valign="top" height="3"><h:inputText
                                       binding="#{sp$createSAContract.txtendDate}" id="txtendDate"
                                       style="behavior:url(../resourceSite/htc/DateTime.htc);text-align:right;"
                                       maxlength="15" value="#{sp$createSAContract.generalEndDate}" /> <h:graphicImage
                                       url="/resourceSite/images/calendar.gif" alt="Calendar"
                                       binding="#{sp$createSAContract.imgendDate}" id="imgendDate" height="14"
                                       width="16" /></td>
                             </tr>

  • Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.con

    Hi everyone,
    Just now i tried to run the 'simple' example in an JAXRPC Security part in the JWSDP 1.4 tutorial but got the following error:
    run-sample:
    [echo] Running the simple.TestClient program....
    [java] Service URL=http://localhost:8080/securesimple/Ping
    [java] Exception in thread "main" java.lang.NoSuchMethodError: com.sun.xml.wss.configuration.SecurityConfigurationXmlReader.readJAXRPCSecurityConfigurationString(Ljava/lang/String;Z)Lcom/sun/xml/wss/configuration/JAXRPCSecurityConfiguration;
    [java]      at com.sun.xml.rpc.security.SecurityPluginUtil.<init>(SecurityPluginUtil.java:128)
    [java]      at simple.PingPort_Ping_Stub.<clinit>(PingPort_Ping_Stub.java:40)
    [java]      at simple.PingService_Impl.getPing(PingService_Impl.java:68)
    [java]      at simple.TestClient.main(TestClient.java:27)
    Can anybody give me a clue?

    Vishal, thanks a lot for your reply. I used the App Server 2004Q4 beta and got the problem. When I switch to version 8.0.0_01 the things work well.
    But now I'm trying to understand this example and creating my own simple web app using encryption feature. From the files in the example dicrectory I can figure out the security applied at client by examining client stub files generated by the wscompile in the asant gen-client task. But I wonder when security is added to the server side. Is it when we use wsdeploy with the model part specifiedin jaxrpc-ri.xml? What is the procedure to apply the security to the web service?
    The last thing I want to ask is whether the deploytool bundled inside App Server can do the same things as ant task (eg. wsdeploy with some arguments).

  • Com.sun.jdi.ThreadReference.frames() unexpectedly raises an exception

    Hi,
    I'm using JDI for monitoring and manipulating another jvm running on the same machine.
    For retrieving the stackframes of a thread, I call thread.frames(). This call is said to raise a IncompatibleThreadStateException if the corresponding thread on the debugged jvm is not suspended. However, I sometimes encounter situations where this exception is raised even when the thread is suspended ! Furthermore, in this case, the duration of the call thread.frames() is between 1.8 and 2 seconds (instead of a few milliseconds in normal cases().
    // now, the jvm is stopped at a breakpoint
    ThreadReference thread = .....;
    if (thread.isSuspended()) { // will obviously be true
    List frames = thread.frames();
    // the frames() call may raise an exception and takes up to 2 sec.
    Is this a known bug ? Is the API's doc incomplete ? Can someone explain me what's happends, or comment about this strange behaviour ?
    Thanks in advance,
    Jacques-Olivier
    [email protected]

    Can't help, but this happens to me too. Here is a code snippet:
    tr.suspend();
    try
    System.out.println("Suspended: "+tr.isSuspended());
    List lFrames=tr.frames();
    finally
    tr.resume();
    This code snippet always prints 'suspended: true' and always throws the exception on the tr.frames() call, in my code. (running on 1.4.1 FCS, connected using a com.sun.jdi.CommandLineLaunch)
    (Incidentally, my code actually intends to suspend the entire VM, not individual threads. But I threw in the suspend of an individual thread in addition, just in case.)
    --sam                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Exception in thread "main" com.sun.jdi.InternalException: Unexpected JDWP E

    I�m trying to write program to debug J2ME applications running on emulators. I�ve made a connection to the virtual machine that starts and run the application on the emulator. When i try to execute the method AllClasses() from the virtual machine object i get the exception:
    Exception in thread "main" com.sun.jdi.InternalException: Unexpected JDWP Error: 41
         at com.sun.tools.jdi.JDWPException.toJDIException(JDWPException.java:47)
         at com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses1_4(VirtualMachineImpl.java:864)
         at com.sun.tools.jdi.VirtualMachineImpl.retrieveAllClasses(VirtualMachineImpl.java:892)
         at com.sun.tools.jdi.VirtualMachineImpl.allClasses(VirtualMachineImpl.java:258)
    Hope you can help me.
    Thanks.

    com.sun.jdi.InternalException: Unexpected JDWP Error: 41It appears the J2ME VM returned JDWP_Error_NOT_FOUND (41).
    J2ME implements a subset of the J2SE JDI interface.
    Is AllClasses() supported?
    I�ve made a connection to the virtual machine that starts and run the application on the emulator.What other JDI operations are you able to do?

Maybe you are looking for

  • MacBook Pro Data Transfer

    My MacBook Pro will not boot up and before I send it away to be fixed, I would like to do a data transfer to another computer. I would prefer not to have to pay for someone else to the data transfer so I would like to attempt it myself. Can I just us

  • Price Difference Accounts

    I want to Post my variances created in my Production order settlement in to The Material Inventory accounts , How i can go ahead ? My Issue on the Production server of MTO scenario with strategy 20 with moving average price valuation . at the end of

  • Terminal returning "permission denied"

    Hello, I am trying to use the Terminal Utility on my macbook to locate all of my music files because I think they are in various folders and want to get everything into one place. I was told to use sudo /usr/libexec/locate.updatedb, but then it asks

  • Problem in sap script modifications

    hi all, i have copied RVORDER01 form to ZRVORDER01 form and i have done some modification in INFO window and i have added a logo in HEADER window.suppose if test the lay out with testprint option i found what ever the changes i have done even i can s

  • How to remove phantom links in templates

    I like the concept of templates, but their application I'm finding too buggy. A common problem I have is that when I make a change to a template for a link, only some of the pages show the changed link, while others don't. I was reading about differe