Assertion Failed Exception
In a Jsf application, i gave a commandLink as
<h:commandLink action="#{EmpBean2.showAll}" ><h:outputText value="ShowAllEmpDetails"/></h:commandLink>
and i got an exception :
org.apache.jasper.JasperException: Assertion Failed..
Suggest me what the problem could be....
Remove weblogic catche and restart weblogic. To remove weblogic catche, delete ".wlnotdelete" folder and other folder for managed server (always take a backup when delete).
Similar Messages
-
Hi,
I implemented ajax4jsf in my jsf application, but some times I am getting Assertion Failed exception. I tried to find out the reason, but I couldn't. If anyone knows the reason for this issue and the solution for this issue, please give me a reply.
The exception what I am getting is:
com.sun.faces.lifecycle.ProcessValidationsPhase execute Assertion Failed
javax.faces.FacesException: Assertion Failed
at com.sun.faces.util.Util.doAssert(Util.java:1353)
at com.sun.faces.util.InstancePool.checkin(InstancePool.java:157)
at com.sun.faces.el.ValueBindingImpl.checkinExpressionInfo(ValueBindingImpl.java:449)
at com.sun.faces.el.ValueBindingImpl.getType(ValueBindingImpl.java:375)
at com.ibm.faces.converter.NumberConverterEx.getAsObject(NumberConverterEx.java:491)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getConvertedValue(HtmlBasicInputRenderer.java:162)
at javax.faces.component.UIInput.getConvertedValue(UIInput.java:713)
at javax.faces.component.UIInput.validate(UIInput.java:638)
at javax.faces.component.UIInput.executeValidate(UIInput.java:849)
at javax.faces.component.UIInput.processValidators(UIInput.java:412)
at javax.faces.component.UIData.iterate(UIData.java:977)
at javax.faces.component.UIData.processValidators(UIData.java:786)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:946)
at javax.faces.component.UIForm.processValidators(UIForm.java:170)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:946)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:946)
at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:946)
at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:373)
at org.ajax4jsf.framework.ajax.AjaxViewRoot.processValidators(AjaxViewRoot.java:396)
at com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:80)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:220)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:91)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:966)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:907)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:145)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:65)
at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:226)
at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130)
at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:696)
at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:641)
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:475)
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:463)
at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:92)
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:744)
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1425)
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:92)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:465)
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:394)
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)
at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:152)
at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:213)
at com.ibm.io.async.AbstractAsyncFuture.fireCompletionActions(AbstractAsyncFuture.java:195)
at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136)
at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:193)
at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:725)
at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:847)
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1498)
Thank you.Hi,
Have u got the solution for this issue.
I am also facing the same problem.
My ODS has been developed in 3.1 and been upgraded to BI.
Now I have changed the description and activated and it is going to runtime error ASSERTION-FAILED.
Thanks in advance. -
Post Author: floatsam
CA Forum: JAVA
Hi All, I'm trying to retrieve a report from infostore using code below: IInfoStore iStore = (IInfoStore)enterpriseSession.getService("InfoStore");IInfoObjects result = iStore.query("SELECT SI_KIND FROM CI_INFOOBJECTS WHERE SI_KIND = 'FullClient' AND SI_INSTANCE=0 AND SI_ID = 3664");I get the following error: com.crystaldecisions.celib.exception.c: ASSERTION FAILED at java.lang.Throwable.<init>(Throwable.java) at com.crystaldecisions.celib.exception.c.<init>(Unknown Source) at com.crystaldecisions.celib.trace.d.a(Unknown Source) at com.crystaldecisions.enterprise.ocaframework.k.a(Unknown Source) at com.crystaldecisions.celib.properties.Property.a(Unknown Source) at com.crystaldecisions.celib.properties.Property.getPropertyBag(Unknown Source) at com.crystaldecisions.celib.properties.PropertyBag.getPropertyBag(Unknown Source) at com.crystaldecisions.sdk.occa.pluginmgr.internal.a.getSecurityInfo(Unknown Source) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.a(Unknown Source) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStore.<init>(Unknown Source) at com.crystaldecisions.sdk.occa.infostore.internal.InfoStoreFactory.makeOCCA(Unknown Source) at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source) at com.crystaldecisions.sdk.framework.internal.a.getService(Unknown Source) at com.dcx.dealerconnect.ddpr.controller.WelcomeActionXI.execute(WelcomeActionXI.java) at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274) at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482) at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:507) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174) at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313) at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116) at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283) at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42) at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530) at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176) at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79) at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201) at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71) at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:182) at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334) at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56) at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610) at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:431) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java) I'm using Websphere 5.0 and Java sdk to access the report. I'm able to login to CMS correctly. I get this error when i retrieve the infostore. Anyone else had the same problem?Thanks.I am facing the same problem . Anyone has the reason why this happens or the solution ?
Thanks in advance. -
Hello,
When calling lua_error(L) (pushing a Lua error in an embedded lua interpreter in my CVI code), I have been encountering a complete crash. Not only does my code stop running, but the full CVI 9.1.1 IDE crashes without even an error message. When I look in the windows xp event log I find the following:
The description for Event ID ( 0 ) in Source ( CVI ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: [16:45:30.768] [FATAL] [LW_UAE_Handler] [..\jeff\i386\except.c:161] Assertion failed: 0.
When I recompile my project with visual studio, the identical code does not crash or cause any problems. Any insite on this problem would be greatly appreciated.
thanks,
Alex CorwinHello Alex,
Could you try to generate a crash dump? Also, here is a community example of code using an embedded interpreter LUA in a LabWindows/CVI Project.
Regards,
Jeff L.
Applications Engineer | National Instruments -
Hi,
I am getting following error while starting WebLogic Server 7.0 for the first
time. Can anybody help me it this?
Error is:
==================================================
Enter username to boot WebLogic server:system
Enter password to boot WebLogic server:
Starting WebLogic Server...
<May 9, 2003 4:27:47 PM IST> <Notice> <Management> <140005> <Loading configurati
on C:\bea\user_projects\mydomain\.\config.xml>
<May 9, 2003 4:28:04 PM IST> <Notice> <Security> <090082> <Security initializing
using realm myrealm.>
<May 9, 2003 4:28:04 PM IST> <Notice> <WebLogicServer> <000327> <Starting WebLogic
Admin Server "myserver" for domain "m
ydomain">
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
Resource Manager Connection Factory resour
ces because could not get JNDI context: javax.naming.ServiceUnavailableException
[Root exception is java.net.UnknownHost
Exception: Unknown protocol: 'JNP'] ]
at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
<May 9, 2003 4:28:14 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initializatio
n exception
Throwable: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot
intialize Resource Manager Connection Fac
tory resources because could not get JNDI context: javax.naming.ServiceUnavailableException
[Root exception is java.net.
UnknownHostException: Unknown protocol: 'JNP'] ]
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
Resource Manager Connection Factory resour
ces because could not get JNDI context: javax.naming.ServiceUnavailableException
[Root exception is java.net.UnknownHost
Exception: Unknown protocol: 'JNP'] ]
at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
>
==================================================I don't know what could cause this error.
I would suggest you take this upto [email protected]
Kumar
Ajay Jadhav wrote:
Hi,
I am getting following error while starting WebLogic Server 7.0 for the first
time. Can anybody help me it this?
Error is:
==================================================
Enter username to boot WebLogic server:system
Enter password to boot WebLogic server:
Starting WebLogic Server...
<May 9, 2003 4:27:47 PM IST> <Notice> <Management> <140005> <Loading configurati
on C:\bea\user_projects\mydomain\.\config.xml>
<May 9, 2003 4:28:04 PM IST> <Notice> <Security> <090082> <Security initializing
using realm myrealm.>
<May 9, 2003 4:28:04 PM IST> <Notice> <WebLogicServer> <000327> <Starting WebLogic
Admin Server "myserver" for domain "m
ydomain">
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
Resource Manager Connection Factory resour
ces because could not get JNDI context: javax.naming.ServiceUnavailableException
[Root exception is java.net.UnknownHost
Exception: Unknown protocol: 'JNP'] ]
at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
<May 9, 2003 4:28:14 PM IST> <Emergency> <WebLogicServer> <000342> <Unable to
initialize the server: Fatal initializatio
n exception
Throwable: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot
intialize Resource Manager Connection Fac
tory resources because could not get JNDI context: javax.naming.ServiceUnavailableException
[Root exception is java.net.
UnknownHostException: Unknown protocol: 'JNP'] ]
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot intialize
Resource Manager Connection Factory resour
ces because could not get JNDI context: javax.naming.ServiceUnavailableException
[Root exception is java.net.UnknownHost
Exception: Unknown protocol: 'JNP'] ]
at weblogic.j2ee.RMCFactoryDeployer.<init>(RMCFactoryDeployer.java:50)
at weblogic.j2ee.J2EEService.initialize(J2EEService.java:93)
at weblogic.t3.srvr.ServerLifeCycleList.initialize(ServerLifeCycleList.java:54)
at weblogic.t3.srvr.T3Srvr.initialize1(T3Srvr.java:782)
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:594)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:282)
at weblogic.Server.main(Server.java:32)
================================================== -
Hi,
I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
I am getting following error during deployment.
Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
Module: Sample.jar Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
Unable to deploy EJB: SampleBean from Sample.jar:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
clusterable object with jndiName ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Any clue?, what its talking about?
Thanks
NareshHi,
I am trying to deploy an EJB module have 4-5 EJB's on weblogic 8.1 through JBuilder.
I am getting following error during deployment.
Exception:weblogic.management.ApplicationException: prepare failed for Sample.jar
Module: Sample.jar Error: Exception preparing module: EJBModule(Sample.jar,status=NEW)
Unable to deploy EJB: SampleBean from Sample.jar:
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Cannot export non
clusterable object with jndiName ]
at weblogic.utils.Debug.assertion(Debug.java:57)
at weblogic.rmi.extensions.server.ServerHelper.exportObject(ServerHelper.java:272)
at weblogic.ejb20.internal.BaseEJBHome.setup(BaseEJBHome.java:95)
at weblogic.ejb20.internal.StatelessEJBHome.setup(StatelessEJBHome.java:67)
at weblogic.ejb20.deployer.ClientDrivenBeanInfoImpl.prepare(ClientDrivenBeanInfoImpl.java:979)
at weblogic.ejb20.deployer.EJBDeployer.setupBeanInfos(EJBDeployer.java:983)
at weblogic.ejb20.deployer.EJBDeployer.prepare(EJBDeployer.java:1283)
at weblogic.ejb20.deployer.EJBModule.prepare(EJBModule.java:477)
at weblogic.j2ee.J2EEApplicationContainer.prepareModule(J2EEApplicationContainer.java:2962)
at weblogic.j2ee.J2EEApplicationContainer.prepareModules(J2EEApplicationContainer.java:1534)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1188)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:1031)
at weblogic.management.deploy.slave.SlaveDeployer$ComponentActivateTask.prepareContainer(SlaveDeployer.java:2602)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.createContainer(SlaveDeployer.java:2552)
at weblogic.management.deploy.slave.SlaveDeployer$ActivateTask.prepare(SlaveDeployer.java:2474)
at weblogic.management.deploy.slave.SlaveDeployer.processPrepareTask(SlaveDeployer.java:798)
at weblogic.management.deploy.slave.SlaveDeployer.prepareDelta(SlaveDeployer.java:507)
at weblogic.management.deploy.slave.SlaveDeployer.prepareUpdate(SlaveDeployer.java:465)
at weblogic.drs.internal.SlaveCallbackHandler$1.execute(SlaveCallbackHandler.java:25)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Any clue?, what its talking about?
Thanks
Naresh -
Hi
We are getting a strange issue, the application successfully joins the cluster but after start failing with following exception.
The cluster have three nodes storage disabled web-logic and two standalone coherence JVM's, we are using distributed cache with Local scheme
<Error> (thread=DistributedCache, member=4): Assertion failed: poll() is a blocking call and cannot be called on the Service thread
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.get(PartitionedCache.CDB:26)
at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1655)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
at com.thehartford.pi.core.referencedata.dao.cachedaoimpl.ReferenceCacheDAOImpl.getReferenceData(Unknown Source)
at com.thehartford.pi.core.caching.cachestore.ReferenceCacheStore.load(Unknown Source)
at com.tangosol.net.cache.ReadWriteBackingMap$CacheLoaderCacheStore.load(ReadWriteBackingMap.java:6132)
at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.loadInternal(ReadWriteBackingMap.java:5616)
at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.load(ReadWriteBackingMap.java:4698)
at com.tangosol.net.cache.ReadWriteBackingMap.get(ReadWriteBackingMap.java:717)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.get(PartitionedCache.CDB:10)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onGetRequest(PartitionedCache.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$GetRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)
at java.lang.Thread.run(Thread.java:722)
ERROR 2013-09-20 09:06:42,515 : [2013-09-20 09:06:42.515/8740.228 Oracle Coherence GE 3.7.1.0 <Error> (thread=DistributedCache, member=4): Assertion failed: poll() is a blocking call and cannot be called on the Service thread
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:5)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.poll(Grid.CDB:11)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$BinaryMap.get(PartitionedCache.CDB:26)
at com.tangosol.util.ConverterCollections$ConverterMap.get(ConverterCollections.java:1655)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$ViewMap.get(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.util.SafeNamedCache.get(SafeNamedCache.CDB:1)
at com.thehartford.pi.core.referencedata.dao.cachedaoimpl.ReferenceCacheDAOImpl.getReferenceData(Unknown Source)
at com.thehartford.pi.core.caching.cachestore.ReferenceCacheStore.load(Unknown Source)
at com.tangosol.net.cache.ReadWriteBackingMap$CacheLoaderCacheStore.load(ReadWriteBackingMap.java:6132)
at com.tangosol.net.cache.ReadWriteBackingMap$CacheStoreWrapper.loadInternal(ReadWriteBackingMap.java:5616)
at com.tangosol.net.cache.ReadWriteBackingMap$StoreWrapper.load(ReadWriteBackingMap.java:4698)
at com.tangosol.net.cache.ReadWriteBackingMap.get(ReadWriteBackingMap.java:717)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$Storage.get(PartitionedCache.CDB:10)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onGetRequest(PartitionedCache.CDB:23)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache$GetRequest.run(PartitionedCache.CDB:1)
at com.tangosol.coherence.component.net.message.requestMessage.DistributedCacheKeyRequest.onReceived(DistributedCacheKeyRequest.CDB:12)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onMessage(Grid.CDB:34)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.Grid.onNotify(Grid.CDB:33)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.PartitionedService.onNotify(PartitionedService.CDB:3)
at com.tangosol.coherence.component.util.daemon.queueProcessor.service.grid.partitionedService.PartitionedCache.onNotify(PartitionedCache.CDB:3)
at com.tangosol.coherence.component.util.Daemon.run(Daemon.CDB:42)Hi
The problem is that you are making a re-entrant call back into a cache service from the service thread or worker thread of a cache service. This is a bad thing to do as you risk deadlocking your cluster by consuming all of the threads in the service. From the stack trace it looks like you are doing a get on a cache which is calling through to a cache store which is then doing a get on another cache.
For example, you have done a "get" on a cache, that has now consumed a worker thread (call it Thread-1), that thread is calling the cache store which is doing a get on another cache in the same cache service so will now consume another thread (call it Thread-2) so you now have two threads in use, Thread-1 will not return until Thread-2 completes. Now say you had 2 worker threads on your cache service and two "get" calls came in at the same time, Get-1 and Get-2. Both worker threads are now in use so when Get-1 calls the cache store to do a get on the other cache then it has to wait for a worker thread to become free to process the get. The same applies to Get-2, it is calling the cache store and waiting for a thread to become free. The problem is no threads will become free as they are all waiting. Hopefully that is a clear enough explanation of why you get the warning.
Read this Constraints on Re-entrant Calls - 12c (12.1.2) This is for 12.1.2 but the same applies for any Coherence version.
JK -
OSB Admin console-Assertion Failed Error!
Hi Team -
After creation of DB Data source and after creation of JNDI under Deployment in OSB admin console.(DS -Test connection was succesful.JNDI creation was successful).
When we try to update DB adapter from OSB ADmin console >Deployment throws below exception,credential used is admin credential -Can anyone assist on this?
Error opening /com/bea/console/actions/app/update/Flow.jpf.
The source of this error is:
com.bea.portlet.adapter.scopedcontent.ActionLookupFailedException: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:697)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.renderInternal(ScopedContentCommonSupport.java:266)
at com.bea.portlet.adapter.scopedcontent.PageFlowStubImpl.render(PageFlowStubImpl.java:135)
at com.bea.netuix.servlets.controls.content.NetuiContent.preRender(NetuiContent.java:292)
at com.bea.netuix.nf.ControlLifecycle$6.visit(ControlLifecycle.java:428)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:727)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walkRecursivePreRender(ControlTreeWalker.java:739)
at com.bea.netuix.nf.ControlTreeWalker.walk(ControlTreeWalker.java:146)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:395)
at com.bea.netuix.nf.Lifecycle.processLifecycles(Lifecycle.java:361)
at com.bea.netuix.nf.Lifecycle.runOutbound(Lifecycle.java:208)
at com.bea.netuix.nf.Lifecycle.run(Lifecycle.java:162)
at com.bea.netuix.servlets.manager.UIServlet.runLifecycle(UIServlet.java:388)
at com.bea.netuix.servlets.manager.UIServlet.doPost(UIServlet.java:258)
at com.bea.netuix.servlets.manager.UIServlet.service(UIServlet.java:199)
at com.bea.netuix.servlets.manager.SingleFileServlet.service(SingleFileServlet.java:251)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
at com.bea.console.utils.MBeanUtilsInitSingleFileServlet.service(MBeanUtilsInitSingleFileServlet.java:47)
at weblogic.servlet.AsyncInitServlet.service(AsyncInitServlet.java:130)
at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:300)
at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.doIt(WebAppServletContext.java:3684)
at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3650)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2268)
at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2174)
at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1446)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
Caused by: weblogic.utils.AssertionError: ***** ASSERTION FAILED *****
at weblogic.server.ServerLifeCycleRuntime.getStateRemote(ServerLifeCycleRuntime.java:734)
at weblogic.server.ServerLifeCycleRuntime.getState(ServerLifeCycleRuntime.java:581)
at weblogic.management.deploy.internal.AppRuntimeStateRuntimeMBeanImpl.isTargetShutDown(AppRuntimeStateRuntimeMBeanImpl.java:196)
at weblogic.management.deploy.internal.AppRuntimeStateRuntimeMBeanImpl.fixState(AppRuntimeStateRuntimeMBeanImpl.java:155)
at weblogic.management.deploy.internal.AppRuntimeStateRuntimeMBeanImpl.getCurrentState(AppRuntimeStateRuntimeMBeanImpl.java:109)
at sun.reflect.GeneratedMethodAccessor563.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at weblogic.management.jmx.modelmbean.WLSModelMBean.invoke(WLSModelMBean.java:437)
at com.sun.jmx.interceptor.DefaultMBeanServerInterceptor.invoke(DefaultMBeanServerInterceptor.java:836)
at com.sun.jmx.mbeanserver.JmxMBeanServer.invoke(JmxMBeanServer.java:761)
at weblogic.management.mbeanservers.domainruntime.internal.FederatedMBeanServerInterceptor.invoke(FederatedMBeanServerInterceptor.java:349)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.JMXContextInterceptor.invoke(JMXContextInterceptor.java:268)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityMBeanMgmtOpsInterceptor.invoke(SecurityMBeanMgmtOpsInterceptor.java:65)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase$16.run(WLSMBeanServerInterceptorBase.java:449)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.jmx.mbeanserver.WLSMBeanServerInterceptorBase.invoke(WLSMBeanServerInterceptorBase.java:447)
at weblogic.management.mbeanservers.internal.SecurityInterceptor.invoke(SecurityInterceptor.java:444)
at weblogic.management.jmx.mbeanserver.WLSMBeanServer.invoke(WLSMBeanServer.java:323)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11$1.run(JMXConnectorSubjectForwarder.java:663)
at java.security.AccessController.doPrivileged(Native Method)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder$11.run(JMXConnectorSubjectForwarder.java:661)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:363)
at weblogic.management.mbeanservers.internal.JMXConnectorSubjectForwarder.invoke(JMXConnectorSubjectForwarder.java:654)
at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
at java.security.AccessController.doPrivileged(Native Method)
at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1367)
at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
at javax.management.remote.rmi.RMIConnectionImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:222)
at javax.management.remote.rmi.RMIConnectionImpl_1033_WLStub.invoke(Unknown Source)
at javax.management.remote.rmi.RMIConnector$RemoteMBeanServerConnection.invoke(RMIConnector.java:993)
at weblogic.management.jmx.MBeanServerInvocationHandler.doInvoke(MBeanServerInvocationHandler.java:544)
at weblogic.management.jmx.MBeanServerInvocationHandler.invoke(MBeanServerInvocationHandler.java:380)
at $Proxy154.getCurrentState(Unknown Source)
at com.bea.console.utils.DeploymentUtils.isDeploymentActive(DeploymentUtils.java:2116)
at com.bea.console.actions.app.update.Flow.begin(Flow.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.beehive.netui.pageflow.FlowController.invokeActionMethod(FlowController.java:870)
at org.apache.beehive.netui.pageflow.FlowController.getActionMethodForward(FlowController.java:809)
at org.apache.beehive.netui.pageflow.FlowController.internalExecute(FlowController.java:478)
at org.apache.beehive.netui.pageflow.PageFlowController.internalExecute(PageFlowController.java:306)
at org.apache.beehive.netui.pageflow.FlowController.execute(FlowController.java:336)
at org.apache.beehive.netui.pageflow.internal.FlowControllerAction.execute(FlowControllerAction.java:52)
at org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.access$201(PageFlowRequestProcessor.java:97)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor$ActionRunner.execute(PageFlowRequestProcessor.java:2044)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:64)
at org.apache.beehive.netui.pageflow.interceptor.action.ActionInterceptor.wrapAction(ActionInterceptor.java:184)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.invoke(ActionInterceptors.java:50)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors$WrapActionInterceptorChain.continueChain(ActionInterceptors.java:58)
at org.apache.beehive.netui.pageflow.interceptor.action.internal.ActionInterceptors.wrapAction(ActionInterceptors.java:87)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processActionPerform(PageFlowRequestProcessor.java:2116)
at com.bea.console.internal.ConsolePageFlowRequestProcessor.processActionPerform(ConsolePageFlowRequestProcessor.java:261)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:556)
at org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:853)
at org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:631)
at org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:158)
at com.bea.console.internal.ConsoleActionServlet.process(ConsoleActionServlet.java:256)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
at com.bea.console.internal.ConsoleActionServlet.doGet(ConsoleActionServlet.java:133)
at org.apache.beehive.netui.pageflow.PageFlowUtils.strutsLookup(PageFlowUtils.java:1199)
at com.bea.portlet.adapter.scopedcontent.ScopedContentCommonSupport.executeAction(ScopedContentCommonSupport.java:686)
... 55 more
Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at weblogic.server.RemoteLifeCycleOperationsImpl_1033_WLStub.getState(Unknown Source)
at weblogic.server.ServerLifeCycleRuntime.getStateRemote(ServerLifeCycleRuntime.java:722)
... 130 more
Caused by: java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic, Administrators, IntegrationAdministrators, AdminChannelUsers]
at weblogic.security.service.SecurityServiceManager.seal(SecurityServiceManager.java:835)
at weblogic.security.service.SecurityServiceManager.getSealedSubjectFromWire(SecurityServiceManager.java:524)
at weblogic.rjvm.MsgAbbrevInputStream.getSubject(MsgAbbrevInputStream.java:351)
at weblogic.rmi.internal.BasicServerRef.acceptRequest(BasicServerRef.java:875)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:310)
at weblogic.rmi.internal.BasicServerRef.dispatch(BasicServerRef.java:944)
at weblogic.rjvm.RJVMImpl.dispatchRequest(RJVMImpl.java:1139)
at weblogic.rjvm.RJVMImpl.dispatch(RJVMImpl.java:1021)
at weblogic.rjvm.ConnectionManagerServer.handleRJVM(ConnectionManagerServer.java:240)
at weblogic.rjvm.ConnectionManager.dispatch(ConnectionManager.java:882)
at weblogic.rjvm.MsgAbbrevJVMConnection.dispatch(MsgAbbrevJVMConnection.java:456)
at weblogic.rjvm.t3.MuxableSocketT3.dispatch(MuxableSocketT3.java:323)
at weblogic.socket.BaseAbstractMuxableSocket.dispatch(BaseAbstractMuxableSocket.java:298)
at weblogic.socket.SocketMuxer.readReadySocketOnce(SocketMuxer.java:901)
at weblogic.socket.SocketMuxer.readReadySocket(SocketMuxer.java:840)
at weblogic.socket.PosixSocketMuxer.processSockets(PosixSocketMuxer.java:130)
at weblogic.socket.SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic.socket.SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:145)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:117)Hi Anitha,
I am facing the same issue.
Have you found the solution to this problem?
Please respond.
Thanks
KK -
Lightroom 4 - "assertion Failed" error after install
I recently upgraded from 3.6 to 4. Previously, I attempted to install Lightoom 4 beta and tried to open a 3.6 catalog. When it did not work, I simply uninstalled that Lightroom 4 beta.
Now, when I installed Lightroom 4(Upgrade version), installation was uneventful. However, I cannot open the program without crashing. The error message is "assertion failed" Additional detail on the error shows the following.
Problem signature:
Problem Event Name: APPCRASH
Application Name: lightroom.exe
Application Version: 4.0.0.10
Application Timestamp: 4f45ddd8
Fault Module Name: ntdll.dll
Fault Module Version: 6.1.7601.17725
Fault Module Timestamp: 4ec4aa8e
Exception Code: c015000f
Exception Offset: 000000000006fd5c
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1033
I assume this has something to do with remnants of my previous Lightroom 4 beta installation(which was subsequently uninstalled prior to full Lightroom 4 installation). Does anyone know where the catalog resides by default and whether I can fix this problem by deleting/renaming the catalog(if that is what the problem is).
ThanksOk it is fixed now. Locating the Lightroom 3 catalog file and opening it in Lightroom 4 ( right click and choose program...) prompted me to upgrade the catalog. This fixed the issue
-
'Assertion failed' in metattach
Hi!
Yesterday I've started to receive the following error while running metattach command to expand softpartition:
# metattach d101 100M
Assertion failed: mp->un_ext.un_poff != 0, file ../common/meta_sp.c, line 3339
metattach: Abort
Abort (core dumped)
# pstack core
core 'core' of 9612: metattach d101 100M
ff1205c8 _kill (52, ffbff4f8, 52, 7efefeff, 81010100, ff00) + 8
ff0b6ff0 _assert (ff2248b8, ff2248d4, d0b, 4, 27d88, 0) + 54
ff1f8ca4 meta_sp_fillextarray (263fea, 0, 11b, 0, 0, ffbff978) + 198
ff1f8e68 meta_sp_updateunit (24798, 24c90, 27c28, 0, 32000, 1) + cc
ff1fadb8 meta_sp_attach (22f00, 4, 1, 5, 0, 0) + 3bc
00011798 ???????? (ffbff9ac, 24798, 3, ffbffa14, 5, ffbff978)
000124d4 main (3, ffbffa14, ffbffa24, 22c00, 0, 0) + 698
00011644 _start (0, 0, 0, 0, 0, 0) + 108
# uname -a
SunOS men-orafunc-03 5.9 Generic_118558-26 sun4u sparc SUNW,Sun-Fire-V240
The softpartition itself is placed on a top of 2-way mirror and each submirror consists of two concatenated partirions. Other softpartitions laying on this mirror are expanded withot an error. About a week and a half ago I've applied recent Recommended Patch Cluster.No, /etc/system contains no UFS-related or SVM-related customizations except required to boot from metadevice:
set semsys:seminfo_semmni=100
set semsys:seminfo_semmns=8192
set semsys:seminfo_semmsl=256
set shmsys:shminfo_shmmax=8589934592
set shmsys:shminfo_shmmin=1
set shmsys:shminfo_shmmni=100
set shmsys:shminfo_shmseg=10
* Begin MDD root info (do not edit)
forceload: misc/md_trans
forceload: misc/md_raid
forceload: misc/md_hotspares
forceload: misc/md_sp
forceload: misc/md_stripe
forceload: misc/md_mirror
forceload: drv/pcisch
forceload: drv/glm
forceload: drv/sd
rootdev:/pseudo/md@0:0,10,blk
* End MDD root info (do not edit)
* Start of HPfcraid edits. DO NOT DELETE THIS LINE
forceload: drv/clone
forceload: drv/ssd
set maxphys=8388608
set sd:sd_max_throttle=32
set sd:sd_io_time=180
set ssd:ssd_max_throttle=32
set ssd:ssd_io_time=180
* End of HPfcraid edits. DO NOT DELETE THIS LINE -
What means Assertion Failed?!?!
Hi guys!!! Here are some duke dollars from a expert.....
I use "Tomcat-5.5.4", "jwsdp-1.5", "jdk1.5.0" and "jsf-1.1_01". PLEASE I NEED HELP!!!!!!
The sample application that come together jsf zipped file works properly when I put its on my webapp folder!!!!!
But my application don't work and I always get the error "Assertion Failed". The entire exception message is post below. Please I lost a week on this problem and I don't know what to do to solve this!!!!
javax.faces.el.EvaluationException: javax.faces.FacesException: Assertion Failed
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206)
at com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154)
at javax.faces.component.UIOutput.getValue(UIOutput.java:147)
at com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:82)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:191)
at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:169)
at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:720)
at javax.faces.webapp.UIComponentTag.encodeEnd(UIComponentTag.java:623)
at javax.faces.webapp.UIComponentTag.doEndTag(UIComponentTag.java:546)
at com.sun.faces.taglib.html_basic.OutputTextTag.doEndTag(OutputTextTag.java:173)
at org.apache.jsp.index_jsp._jspx_meth_h_outputText_0(org.apache.jsp.index_jsp:182)
at org.apache.jsp.index_jsp._jspx_meth_h_form_0(org.apache.jsp.index_jsp:141)
at org.apache.jsp.index_jsp._jspx_meth_f_view_0(org.apache.jsp.index_jsp:106)
at org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:72)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:99)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:325)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:245)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:674)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:465)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:400)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:303)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:130)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:198)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
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.StandardContextValve.invoke(StandardContextValve.java:178)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:731)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:526)
at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Thread.java:595)
Thanks all.
GiscardAccording to your exception log, the exception is thrown by ValueBindingImpl.getValue().
Why don't you set a breakpoint on it and debug stepwise?
The code of getValue() is as follows:
protected Object getValue(FacesContext context, String toEvaluate)
throws EvaluationException, PropertyNotFoundException {
Object result = null;
ExpressionInfo info = checkoutExpressionInfo();
try {
info.setExpressionString(toEvaluate);
info.setExpectedType(Object.class);
info.setFacesContext(context);
info.setVariableResolver(application.getVariableResolver());
info.setPropertyResolver(application.getPropertyResolver());
//** I guess here is the ground zero! **/
result = Util.getExpressionEvaluator().evaluate(info);
if (log.isDebugEnabled()) {
log.debug("getValue Result:" + result);
} catch (Throwable e) {
if (e instanceof ElException) {
if (log.isDebugEnabled()) {
Throwable l = e;
Throwable t = ((ElException) e).getCause();
if (t != null) {
l = t;
log.debug("getValue Evaluation threw exception:", l);
checkinExpressionInfo(info);
throw new EvaluationException(e);
} else if (e instanceof PropertyNotFoundException) {
if (log.isDebugEnabled()) {
Throwable l = e;
Throwable t = ((PropertyNotFoundException) e).getCause();
if (t != null) {
l = t;
log.debug("getValue Evaluation threw exception:", l);
// Just rethrow it to keep detailed message
checkinExpressionInfo(info);
throw (PropertyNotFoundException) e;
} else {
if (log.isDebugEnabled()) {
log.debug("getValue Evaluation threw exception:", e);
checkinExpressionInfo(info);
throw new EvaluationException(e);
checkinExpressionInfo(info);
return result;
} -
ASSERTION FAILED of replica-related stub in a non-clustered SLSB
Wl 6.1 sp2
Solaris 2.8
We have 50 SLSBs running on non-clustered WL servers. Yet we are seeing
the following ASSERTION FAILED error, which from the stacktrace seems to
hint the ejb stub is doing something cluster-related... I have attached
ejb-jar.xml of the offending bean; someone please verify we are not
building cluster-capable stubs, and if we are building the right stub,
please explain why the exception is happening. Thanks!
******** STACKTRACE
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion
violated ]
at weblogic.utils.Debug.assert(Debug.java:74)
at weblogic.rmi.cluster.BasicReplicaList.reset(BasicReplicaList.java:175)
at
weblogic.rmi.cluster.PrimarySecondaryReplicaHandler.setPiggybackResponse(Pri
marySecondaryReplicaHandler.java:94)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.setPiggybackResponse(ReplicaAware
RemoteRef.java:294)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:265)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy14.getStatus(Unknown Source)
at
com.go2.dtc.service.AccountStatus.accountIsOnline(AccountStatus.java:57)
******* EJB-JAR.XML
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<home>com.go2.ejb.services.accountservice.AccountServiceHome</home>
<remote>com.go2.ejb.services.accountservice.AccountService</remote>
<ejb-class>com.go2.ejb.services.accountservice.AccountServiceBean</ejb-class
>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getStatus</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>changeSearchListingStatus</method-name>
<method-params>
<method-param>int</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
</assembly-descriptor>
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<home>com.go2.ejb.services.accountservice.AccountServiceHome</home>
<remote>com.go2.ejb.services.accountservice.AccountService</remote>
<ejb-class>com.go2.ejb.services.accountservice.AccountServiceBean</ejb-class
>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getStatus</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>changeSearchListingStatus</method-name>
<method-params>
<method-param>int</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>Hi Rajesh,
This error was reported on our QA system error log, and only occurred a
couple of times in a very specific time frame. I will ask QA again if it
has happened since the first report.
However, even if this bug is minor and not production-worthy, what I am more
concerned about is the fact that the stacktrace seem to indicate the bug is
cluster-related, when we set our SLSBs to be non-clustered. Can someone
please confirm, given the ejb-jar.xml and weblogic-ejb-jar.xml I've posted
below, that I have properly configured and deployed our beans to be
non-clustered? I don't want to introduce cluster overhead (and cluster
bugs) when we don't need to!
Gene
"Rajesh Mirchandani" <[email protected]> wrote in message
news:[email protected]...
The reason I asked you if it is readily reproducable is because I had seenthis
issue (support case) in WLS 6.1(no sp). The problem there was that itcould not
be reproduced again and so I did not analyze it further.
Is this happening under load ?
Gene Chuang wrote:
Hi Rob,
AccountStatus is calling AccountService, which is a SLSB. I have
attached
its ejb-jar.xml in my original post, and here's the corresponding
weblogic-ejb-jar.xml:
!DOCTYPE weblogic-ejb-jar PUBLIC '-//BEA Systems, Inc.//DTD WebLogic6.0.0
EJB//EN' 'http://www.bea.com/servers/wls600/dtd/weblogic-ejb-jar.dtd'>
<!-- Generated XML! -->
<weblogic-ejb-jar>
<weblogic-enterprise-bean>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<stateless-session-descriptor>
<pool>
<max-beans-in-free-pool>100</max-beans-in-free-pool>
</pool>
<stateless-clustering>
<stateless-bean-is-clusterable>False</stateless-bean-is-clusterable>
>>
>>
<stateless-bean-methods-are-idempotent>False</stateless-bean-methods-are-ide
mpotent>
</stateless-clustering>
</stateless-session-descriptor>
<transaction-descriptor>
<trans-timeout-seconds>300</trans-timeout-seconds>
</transaction-descriptor>
<jndi-name>accountservice.AccountServiceHome</jndi-name>
</weblogic-enterprise-bean>
<transaction-isolation>
<isolation-level>TRANSACTION_READ_COMMITTED</isolation-level>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
</transaction-isolation>
</weblogic-ejb-jar>
"Rob Woollen" <[email protected]> wrote in message
news:[email protected]...
It looks like AccountStatus is calling a stateful session bean that
uses
in-memory replication. (The PrimarySecondary stub is only used forin-memory
replicated sfsb.)
Do you have any sfsb?
-- Rob
Gene Chuang wrote:
Wl 6.1 sp2
Solaris 2.8
We have 50 SLSBs running on non-clustered WL servers. Yet we are
seeing
the following ASSERTION FAILED error, which from the stacktrace
seems to
hint the ejb stub is doing something cluster-related... I haveattached
ejb-jar.xml of the offending bean; someone please verify we are not
building cluster-capable stubs, and if we are building the rightstub,
please explain why the exception is happening. Thanks!
******** STACKTRACE
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[Assertion
violated ]
at weblogic.utils.Debug.assert(Debug.java:74)
atweblogic.rmi.cluster.BasicReplicaList.reset(BasicReplicaList.java:175)
at
weblogic.rmi.cluster.PrimarySecondaryReplicaHandler.setPiggybackResponse(Pri
marySecondaryReplicaHandler.java:94)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.setPiggybackResponse(ReplicaAware
RemoteRef.java:294)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:265)
at
weblogic.rmi.cluster.ReplicaAwareRemoteRef.invoke(ReplicaAwareRemoteRef.java
:229)
at weblogic.rmi.internal.ProxyStub.invoke(ProxyStub.java:35)
at $Proxy14.getStatus(Unknown Source)
at
com.go2.dtc.service.AccountStatus.accountIsOnline(AccountStatus.java:57)
>>>>
******* EJB-JAR.XML
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<home>com.go2.ejb.services.accountservice.AccountServiceHome</home>
><remote>com.go2.ejb.services.accountservice.AccountService</remote>
<ejb-class>com.go2.ejb.services.accountservice.AccountServiceBean</ejb-class
>>>>>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getStatus</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>changeSearchListingStatus</method-name>
<method-params>
<method-param>int</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
</assembly-descriptor>
<?xml version="1.0"?>
<!DOCTYPE ejb-jar PUBLIC '-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 2.0//EN' 'http://java.sun.com/dtd/ejb-jar_2_0.dtd'>
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<home>com.go2.ejb.services.accountservice.AccountServiceHome</home>
><remote>com.go2.ejb.services.accountservice.AccountService</remote>
<ejb-class>com.go2.ejb.services.accountservice.AccountServiceBean</ejb-class
>>>>>
<session-type>Stateless</session-type>
<transaction-type>Container</transaction-type>
</session>
</enterprise-beans>
<assembly-descriptor>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>*</method-name>
</method>
<trans-attribute>Required</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>getStatus</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>NotSupported</trans-attribute>
</container-transaction>
<container-transaction>
<method>
<ejb-name>accountservice.AccountServiceHome</ejb-name>
<method-intf>Remote</method-intf>
<method-name>changeSearchListingStatus</method-name>
<method-params>
<method-param>int</method-param>
<method-param>java.lang.String</method-param>
</method-params>
</method>
<trans-attribute>RequiresNew</trans-attribute>
</container-transaction>
</assembly-descriptor>
</ejb-jar>--
Rajesh Mirchandani
Developer Relations Engineer
BEA Support -
Assertion failed! Lr 5.7.1
Hello! Suddently today I had the assertion failed! problem when I try to open Lr 5.7.1. I tried every solution (on the website and forum) that I found, but nothing seems to solve my problem. After "assertion failed!" message pops up, 'program stopped working' appears twice, with the below details:
Problem Event:
APPCRASH
App Name:
lightroom.exe
App Version:
5.7.1.10
Carimbo de Data/Hora do Aplicativo:
547e35e8
Fail Module Name:
ui.dll
Fail Module Version:
5.7.1.10
Carimbo de Data/Hora do Módulo de Falhas:
547e331a
Exception Code:
c000041d
Exception Displacement
0000000000006922
O.S Version
6.1.7601.2.1.0.256.1
Local ID:
1046
+ Info 1:
d9fe
+ Info 2:
d9fe43388d3708556af3915c04481328
+ Info 3:
59cc
+ Info 4:
59cc1eb8579254ab2f5e142d09fa8b1d
My PC O.S is windows 7.Did you try this; http://helpx.adobe.com/lightroom/kb/lightroom-error-assertion-failed-update.html
-
Assertion failed: t- numPointers == 0, ....
I develop software on true64 Unix 5.0 and use JDK1.3.1 beta 2 (Fast VM) , I found exception like this
Assertion failed: t->numPointers == 0, file ../../../src/share/native/sun/awt/font/t2k/tsimem.c, line 92
exception system: exiting due to multiple internal errors:
exception dispatch or unwind stuck in infinite loop
exception dispatch or unwind stuck in infinite loop
Had anyone ever met this exception before , what is it wrong , and how can i solve it ?Hi -
We also came across this problem. It seems to be related to using anti aliased text in a drawString() call. Interestingly it happens on the second call using a particular font.
Test case code is pasted below, which will crash the JVM on the second run through the main loop - i.e. the second time iterating through all the fonts.
This code was cannibalised from another example posted here a while ago.
Chris Davey
===========
import java.awt.*;
import java.awt.font.*;
import java.awt.image.*;
class Test {
public static void main(String[] argv) {
FontMetrics fm = null;
String strings [] ={""," "," ","a","test string"};
int iaBITypes [] = {BufferedImage.TYPE_3BYTE_BGR ,BufferedImage.TYPE_4BYTE_ABGR ,
BufferedImage.TYPE_4BYTE_ABGR_PRE ,BufferedImage.TYPE_BYTE_BINARY ,
BufferedImage.TYPE_BYTE_GRAY ,BufferedImage.TYPE_BYTE_INDEXED ,
BufferedImage.TYPE_INT_ARGB ,BufferedImage.TYPE_INT_ARGB_PRE ,
BufferedImage.TYPE_INT_BGR ,BufferedImage.TYPE_INT_RGB ,
BufferedImage.TYPE_USHORT_555_RGB ,BufferedImage.TYPE_USHORT_565_RGB ,
BufferedImage.TYPE_USHORT_GRAY };
Toolkit t = Toolkit.getDefaultToolkit();
System.out.println("hi");
for (int idx = 0; idx < 100; idx++){
Font fonts [] = GraphicsEnvironment.getLocalGraphicsEnvironment().getAllFonts();
for (int ff=0;ff<fonts.length;ff++) { // Try all fonts
for (int iBIType = 0; iBIType < iaBITypes.length; iBIType++){
BufferedImage bi = new BufferedImage(1000,1000,iaBITypes[iBIType]);
Graphics2D g= (Graphics2D) bi.getGraphics();
//FontRenderContext frc = g.getFontRenderContext();
//XXX Problem Here - if
//2nd Param (anti - aliasing ) is TRUE, then This
//will crash on True 64 Unix - with either Sun or
//Compaq JVM, on 2nd pass through
FontRenderContext frc2 = new FontRenderContext(null,true,false);
//TextLayout tl = new TextLayout("test-string",fonts[ff],frc);
TextLayout tl2 = new TextLayout("test-string",fonts[ff],frc2);
g.setFont(fonts[ff]);
for (float a = -1000; a < 2000; a+=200)
g.drawString("test",a,a);
System.out.println("dumping threads: " );
Thread ath[] = new Thread[512];
Thread.currentThread().enumerate(ath);
for (int i=0; i < ath.length; i++){
if (ath[i] != null)
System.out.println("\tThread: " + i + " " + ath);
Keywords: Tru64 tsimem.c assert true64 crash -
When compiling with SunStudio12 update 2 we get the following:
Assertion failed: 0, file ../lnk/exrttiutils.cc line 215
Since this is not part of our code base, we assume its part of the compiler support stuff. As you can see the error message does not provide us much help in finding where in our code this is occurring, any ideas? We'd love to produce a testcase but don't have clue where to begin...The assertion is actually coming from the runtime library libCrun.so.1, and it fires when an "impossible" situation (like a corrupted virtual table or exception record) occurs during exception handling. If this assertion happens at compile time, and not run time, some compiler component is at fault.
Please add the following two options to the command line that resulted in the assertion:
-filt=%none -V
The -filt=%none prevents the verbose output (-V) from being scrambled, and the last component listed before the assertion is the one that failed. Please post your results here.
We will then need a test case, but let's be sure what is happening first.
Maybe you are looking for
-
Cable Needed For Dual Monitors iMac 9.1
Hi, I want to connect a (VGA) lcd screen to my imac 9.1 - Intel Core 2 Duo, but i have no idea what cable to buy... A DVI to VGA, Mini displayport to VGA, mini DVI to VGA... I want to buy this because i want to run 2 monitors, so i have more screen s
-
As above.... how do you change the country of origin in the iTunes store when you already have a balance in another country, in my case the balance is $0.03. At the moment I can't change the country because of this balance and have attempted to zero
-
Problem in recovering database
I Have Oracle Database 10g (10.2.0.1.0) on Windows Server 2003 I have taken full hot RMAN backup of database. I have copied the backup files from flash recovery area. I have one other Machine having windows server 2003 And Oracle 10g Same version. I
-
What would happen if remove containers in UPS connection
We are using SP2013 on-premise. Currently our farm have setup UPS connection to entire domain. Hence, some non-users account like other system's service accounts have been sync and user profiles have been generated. I think it is not a good security
-
Building Contextual Events with multiple parameters
I am working in JDeveloper 11.1.1.4 and trying to build a contextual event, but ran into a issue that I find unclear. When building the Subscribers on my page definition, in the Property Inspector, how do I define multiple parameters in the customPay