ArrayOutOfBound exception thrown in JAI API
Hi
I am getting exception ArrayOutOfBound exception for one of my image sample that i tried.
The code snippet is
src is a BufferedImage.
IndexColorModel icm = (IndexColorModel)src.getColorModel();
int numBands = 3;
if(icm.hasAlpha()) numBands = 4;
byte[][] data = new byte[numBands][icm.getMapSize()];
if(icm.hasAlpha())
icm.getAlphas(data[3]);
icm.getReds(data[0]);
icm.getGreens(data[1]);
icm.getBlues(data[2]);
LookupTableJAI lut = new LookupTableJAI(data);
dst = (JAI.create("lookup", src, lut)).getAsBufferedImage();
java.lang.ArrayIndexOutOfBoundsException: 255
at javax.media.jai.LookupTableJAI.lookup(LookupTableJAI.java:1244)
at javax.media.jai.LookupTableJAI.lookup(LookupTableJAI.java:1016)
at com.sun.media.jai.opimage.LookupOpImage.computeRect(LookupOpImage.java:173)
at javax.media.jai.PointOpImage.computeTile(PointOpImage.java:914)
at com.sun.media.jai.util.SunTileScheduler.scheduleTile(SunTileScheduler.java:904)
at javax.media.jai.OpImage.getTile(OpImage.java:1129)
at javax.media.jai.PlanarImage.copyData(PlanarImage.java:2343)
at javax.media.jai.RenderedOp.copyData(RenderedOp.java:2299)
at javax.media.jai.PlanarImage.getAsBufferedImage(PlanarImage.java:2525)
at javax.media.jai.PlanarImage.getAsBufferedImage(PlanarImage.java:2546)
Thanks in advance.
Hi,
it seems that the module processing is not working, if the flag keep attachments is not checked.
Best regards,
Nils Kloth
Similar Messages
-
(Persistance API) bo exception thrown from em.persist
Hi,
I am testing for various error conditions , and trying to write an entity which has column defined as unique, and there is already an instance with that value in table.
Although the entity does not get persisted(because of the unique constraint) , there is no exception thrown , and the app does not have any way of knowing that something went wrong.
What's is the best way of handling error in the persistence layer?
Thanks,
here is my code :
@Table(name="SYSTEMUSER")
public class SystemUser implements Serializable
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long id;
@Column(unique=true, nullable= false)
private String email;
try
em.persist(user);
} catch(Exception e)
System.err.println(e.toString());
}Try posting this on the EJB forum:
http://forum.java.sun.com/forum.jspa?forumID=13 -
Exception thrown by servlet Faces Servlet in WAS ND 6.1.0.13
Hi,<br>
I'm using WebSphere Application Server Network Deployment (WAS ND) v. 6.1.0.13.<br><br>
I'm getting this error when I try to launch my application:<br><br>
[1/24/08 11:41:44:100 WET] 0000003c ServletWrappe E SRVE0100E: Did not realize init() exception thrown by servlet Faces Servlet: java.lang.NullPointerException<br>
at javax.faces.webapp.FacesServlet.init(FacesServlet.java:144)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.init(ServletWrapper.java:190)<br>
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.init(ServletWrapper.java:317)<br>
at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:346)<br>
at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:464)<br>
at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3276)<br>
at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267)<br>
at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:811)<br>
at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1455)<br>
at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:113)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:454)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:383)<br>
at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102)<br>
at com.ibm.ws.ssl.channel.impl.SSLReadServiceContext$SSLReadCompletedCallback.complete(SSLReadServiceContext.java:1818)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.requestComplete(WorkQueueManager.java:556)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.attemptIO(WorkQueueManager.java:606)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager.workerRun(WorkQueueManager.java:979)<br>
at com.ibm.ws.tcp.channel.impl.WorkQueueManager$Worker.run(WorkQueueManager.java:1064)<br>
at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1469)<br>
<br><br><br>
After doing a search I tried this following steps:<br>
� Delete the entry in web.xml:<br>
<listener><br>
<listener-class><br>
com.sun.faces.config.ConfigureListener<br>
</listener-class><br>
</listener><br><br>
� Update my log4j version<br><br>
� Delete the commons-logging.jar from WEB-INF directory<br>
These are the jar files included in WEB-INF directory:<br>
commons-beanutils.jar<br>
commons-collections.jar<br>
commons-digester.jar<br>
commons-javaflow-20060411.jar<br>
commons-logging.jar<br>
FglConnectorClient.jar<br>
itext-1.4.2.jar<br>
jasperreports-1.2.3.jar<br>
jcommon-1.0.0.jar<br>
jfreechart-1.0.1.jar<br>
jsf-api.jar<br>
jsf-ibm.jar<br>
jsf-impl.jar<br>
jstl.jar<br>
log4j-1.2.14.jar<br>
standard.jar<br>
struts.jar<br>
<br><br>
<br>
None of the suggestions worked.<br><br>
Then I tried to deploy my application in another WAS ND 6.1.0.13 and it worked!!! <br>
What can I do so solve this problem in my WAS ND 6.1.0.13? What could be the problem?<br><br>
Thanks,<br>
NunoDid you find a solution to this problem
please help
Thanks & Regards
Nasir -
Exception thrown when trying to create MimeMessage
Hello,
I was working on the tutorial for sending SMTP messages using the JavaMail API. I set up the Session using Properties fine, but I begin throwing exceptions when trying to construct a new MimeMessage.
Properties props = System.getProperties();
props.put("mail.smtp.host", MAILHOST);
props.put("mail.transport.protocol", "SMTP" );
Session session = Session.getInstance(props, null);
// Exceptions thrown below
MimeMessage rfc822Msg = new MimeMessage(session);
The exception error message I receive is:
Exception occurred during event dispatching:
java.lang.NoClassDefFoundError: javax/activation/DataSource
at MailApplet.actionPerformed(MailApplet.java:30)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:10
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(Abstra
ton.java:1101)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel
:378)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:250
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonL
er.java:204)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:2
at java.awt.Component.processMouseEvent(Component.java:3165)
at java.awt.Component.processEvent(Component.java, Compiled Code)
at java.awt.Container.processEvent(Container.java, Compiled Code)
at java.awt.Component.dispatchEventImpl(Component.java, Compiled Code)
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:2068
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:1852)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java, Compiled
at java.awt.Container.dispatchEventImpl(Container.java, Compiled Code)
at java.awt.Window.dispatchEventImpl(Window.java, Compiled Code)
at java.awt.Component.dispatchEvent(Component.java, Compiled Code)
at java.awt.EventQueue.dispatchEvent(EventQueue.java, Compiled Code)
at java.awt.EventDispatchThread.pumpOneEventForComponent(EventDispatchTh
java, Compiled Code)
at java.awt.EventDispatchThread.pumpEventsForComponent(EventDispatchThre
va:95)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:90)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
If you have any idea what is going on your help will be greatly appreciated.
I am using the jdk1.2.2 build and the JavaMail1.2 distribution.
Thanks,
William MappThanks for the help. Sorry I goofed. Now I have a question regarding what addresses you can send mail to. It seems that if I attempt send mail to a server other than the SMPT host I get a javax.mail.SendFailedException: Sending failed. The exception continues by stating that the address was Invalid, Relaying Denied.
What does this actually mean? Should i be supplying more information?
Thanks,
Will -
Communcation Channel Type E-Mail Receiver Exception thrown in method proces
Hi,
I use a scenario R/3 IDOC -> XI -> Email. It is working, however the email is send 4 times.
I have an error within a communication channel.
Adaptertype E-Mail Direction Receiver
The communcation channel message log show the following entry:
2008-08-14 12:47:09 Erfolgreich Message wurde erfolgreich vom Messaging-System empfangen. Profil: XI URL: http://host:port/MessagingSystem/receive/AFW/XI Credential (User): PIISUSER
2008-08-14 12:47:09 Erfolgreich Mit der Verbindung Mail_http://sap.com/xi/XI/System. Versuch die Message in die Empfangs-Queue zu stellen
2008-08-14 12:47:09 Erfolgreich Message erfolgreich in Queue gestellt
2008-08-14 12:47:09 Erfolgreich Die Message wurde erfolgreich aus der Empfangs-Queue abgerufen
2008-08-14 12:47:09 Erfolgreich Der Status der Message wurde auf DLNG gesetzt
2008-08-14 12:47:09 Erfolgreich Liefert an Kanal: CC_Application_Mail_RCV
2008-08-14 12:47:09 Erfolgreich MP: Tritt in den Modulprozessor ein
2008-08-14 12:47:09 Erfolgreich MP: Lokales Modul localejbs/sap.com/com.sap.aii.adapter.mail.app/XIMailAdapterBean wird verarbeitet
2008-08-14 12:47:09 Erfolgreich Mail: message entering the adapter
2008-08-14 12:47:09 Erfolgreich Mail: Receiver adapter entered with qos ExactlyOnce
2008-08-14 12:47:09 Erfolgreich Mail: calling the adpter for processing
2008-08-14 12:47:09 Erfolgreich Mail: call completed
2008-08-14 12:47:09 Erfolgreich Mail: continuing to response message 58650010-69ee-11dd-bc24-0018fe76622e
2008-08-14 12:47:09 Erfolgreich Mail: sending a delivery ack ...
2008-08-14 12:47:09 Erfolgreich Mail: sent a delivery ack
2008-08-14 12:47:09 Erfolgreich MP: Lokales Modul localejbs/AF_Modules/MessageTransformBean wird verarbeitet
2008-08-14 12:47:09 Fehler MP: Ausnahme aufgetreten mit Grund com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
2008-08-14 12:47:09 Fehler Ausnahme aufgetreten beim Adapter-Framework: Exception thrown in method process. The transaction is marked for rollback.
2008-08-14 12:47:09 Fehler Zustellung der Message an die Anwendung über Mail_http://sap.com/xi/XI/System ist fehlgeschlagen weil: com.sap.aii.af.ra.ms.api.RecoverableException: Exception thrown in method process. The transaction is marked for rollback.: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback.
2008-08-14 12:47:09 Erfolgreich Der Status der Message wurde auf WAIT gesetzt
2008-08-14 12:47:09 Erfolgreich Die Zustellung der asynchronen Message um Thu Aug 14 12:52:09 CEST 2008 wurde erfolgreich eingeplant.
Does anybody know what do to?
Best regards,
Nils KlothHi,
it seems that the module processing is not working, if the flag keep attachments is not checked.
Best regards,
Nils Kloth -
ERROR: ProviderCaller.run(): exception thrown from IMChannel
Not sure whether this is better addressed here or in the Instant Messaging forum.
Basically we're having a problem with the presence service in Portal Server, and it throws a huge exception stack when you do anything except have a blank contact list with noone logged in.
Portal Server, Access Manager, and IM Server are all installed on the same server in this configuration, and I've tried applying patches to the IM Server APIs to fix the problems to no avail.
JES 2005Q1
IM Server patched: 118787-01 118790-01
Portal server unpatched
Basically all of this is still a default install, with only minimal customization so customers don't have to configure anything.
tail -f /var/opt/SUNWam/debug/desktop.debug says:
07:34:25,192 INFO xmppd [com.sun.im.service.util.Worker 4] Authenticating using Identity Server SSO
06/20/2005 07:34:25:310 AM PDT: Thread[Thread-677,5,main]
ERROR: ProviderCaller.run(): exception thrown from IMChannel
com.sun.portal.providers.ProviderException: JSPProvider.processJSPFile(): jsp=IMContent.jsp, java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init>(Ljava/lang/String;Lorg/jaxen/Navigator;)V
at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:916)
at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:810)
at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:579)
at com.sun.im.portal.provider.IMProvider.getContent(IMProvider.java:94)
at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:160)
java.lang.NoSuchMethodError: org.jaxen.BaseXPath.<init>(Ljava/lang/String;Lorg/jaxen/Navigator;)V
at net.outer_planes.jso.xpath.JSOXPath.<init>(JSOXPath.java:81)
at net.outer_planes.jso.xpath.JSOXPath.<init>(JSOXPath.java:78)
at net.outer_planes.jso.DataFactory.createXPath(DataFactory.java:128)
at net.outer_planes.jso.DataFactory.createXPath(DataFactory.java:117)
at net.outer_planes.jso.AbstractElement.getLocaleXPath(AbstractElement.java:175)
at net.outer_planes.jso.AbstractElement.findElementsForLocale(AbstractElement.java:629)
at net.outer_planes.jso.AbstractElement.findElementsForLocale(AbstractElement.java:626)
at net.outer_planes.jso.PresencePacket.getStatus(PresencePacket.java:155)
at net.outer_planes.jso.PresencePacket.getStatus(PresencePacket.java:152)
at com.sun.im.service.xmpp.XMPPPresenceService.getPresence(XMPPPresenceService.java:374)
at com.sun.im.service.xmpp.XMPPPresenceService.fetchPresence(XMPPPresenceService.java:164)
at com.sun.im.service.xmpp.XMPPPresenceSession.fetch(XMPPPresenceSession.java:47)
at com.sun.im.service.xmpp.XMPPPresenceSession.fetch(XMPPPresenceSession.java:55)
at com.sun.im.portal.taglib.GetContactGroupTag.doStartTag(GetContactGroupTag.java:51)
at jsps.etc._opt._SUNWps._desktop._sampleportal_en_US._IMChannel._html._IMContent_jsp._jspService(_IMContent_jsp.java:799)
at com.sun.portal.providers.jsp.jasper3.jasper.runtime.HttpJspBase.service(HttpJspBase.java:119)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:860)
at com.sun.portal.providers.jsp.JspServletWrapper.service(JspServletWrapper.java:182)
at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:896)
at com.sun.portal.providers.jsp.JSPProvider.processJspFile(JSPProvider.java:810)
at com.sun.portal.providers.jsp.JSPProvider.getContent(JSPProvider.java:579)
at com.sun.im.portal.provider.IMProvider.getContent(IMProvider.java:94)
at com.sun.portal.desktop.context.ReusableProviderCaller.run(ReusableProviderCaller.java:160)
We're looking to implement JES in the next month or so. I've seen mention of this error with other jaxen flavors, but none mentioning the JES Instant Messaging or Portal ServersDoes every checkbox have the same name, i.e. "sel".
In this case you're dealing with a checkbox group. Similar to a select-style dropdown or radio button group.
I know I've had problems with dropdowns in Netscape where the select parameter was not being passed at all, so I'd get null values. I got around this by having the form submission re-assign the value from the select list to a hidden variable and then getting the value from the request.getParameter("hiddenFieldName") instead of the "dropdownFieldName".
You could try to name each checkbox individually using an appended ID, such as sel1, sel2, etc. and then have these parameters picked up using a loop construct, request.getParameter("sel" + i) -- you may want to pass some value back that would also indicate how many total checkboxes you had so you could determine how many iterations of the loop to go through.
On the form side, you could probably set the checkboxes up using a similar looping mechanism so that you wouldn't have to explicitly write each checkbox name.
If this is in fact similar to the Netscape issue I was having with dropdowns, I'd be interested to hear if it'll work in IE.
I got a bit off-topic, but hope it helps. -
Error Occurred: Exception thrown is NOT a DSCException : UnExpected From DSC
Hey Everybody ,
In the context of my project. I was bring to use LiveCycle ES API to identify with the server . so when i try to connect using the EJB proposed by livecycle i get this error :
com.adobe.idp.um.api.UMException| [com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient] errorCode:16385 errorCodeHEX:0x4001 message:Exception thrown is NOT a DSCException : UnExpected From DSC chainedException:ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.chainedExceptionMessage:Internal error. chainedException trace:ALC-DSC-000-000: com.adobe.idp.dsc.DSCRuntimeException: Internal error.
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :175)
at com.adobe.idp.dsc.provider.impl.base.AbstractMessageDispatcher.send(AbstractMessageDispat cher.java:66)
at com.adobe.idp.dsc.clientsdk.ServiceClient.invoke(ServiceClient.java:208)
at com.adobe.livecycle.usermanager.client.AuthenticationManagerServiceClient.authenticate(Au thenticationManagerServiceClient.java:109)
at com.gaselys.test.PurgeProcess.main(PurgeProcess.java:71)
Caused by: java.rmi.RemoteException: Remote EJBObject lookup failed for 'ejb/Invocation'; nested exception is:
org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss. invocation.unified.marshall.InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jbo ss.invocation.unified.marshall.InvocationUnMarshaller]
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher. java:105)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.doSend(EjbMessageDispatcher.java :141)
... 4 more
Caused by: org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:4446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall .InvocationMarshaller&socketTimeout=600000&unmarshaller=org.jboss.invocation.unified.marsh all.InvocationUnMarshaller]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientI nvoker.java:530)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1550)
at org.jboss.remoting.Client.invoke(Client.java:530)
at org.jboss.invocation.unified.interfaces.UnifiedInvokerProxy.invoke(UnifiedInvokerProxy.ja va:183)
at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:365)
at org.jboss.invocation.MarshallingInvokerInterceptor.invoke(MarshallingInvokerInterceptor.j ava:63)
at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70)
at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100)
at $Proxy0.create(Unknown Source)
at com.adobe.idp.dsc.provider.impl.ejb.EjbMessageDispatcher.initialise(EjbMessageDispatcher. java:95)
... 5 more
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.SocksSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker. java:187)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketCli entInvoker.java:801)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientI nvoker.java:526)
... 17 more
NB: The ejb is working well on my first environment <Dev>
I'm using Livecycle ES 2 9.0
JBoss_4_2_1_GA
Oracle 10g
Any proposal or suggestion will be useful
Naoufal FAHEMAwsome I have no more error
i had to make change on my jboss-service.xml .
change
<attribute name="serverBindAddress">${jboss.bind.address}</attribute>
i changed the ${jboss.bind.address} with my server ip adress.
now everything is working fine -
Uncaught exceptions thrown in overridden ThreadGroup.uncaughtException
Hi,
To process uncaught exceptions in threads I spawn, I have created a ThreadGroup and overridden the uncaughtException method. This works flawlessly, but it brought up the following question:
What happens to an exception that is thrown in an overridden uncaughtException method that is not caught?
I assumed that an uncaught exception in an uncaughtException method would call the uncaughtException method in the parent thread group, but this does not seem to be the case. The uncaught exception just seems to disappear.
Can somebody please confirm my finding that an uncaught exception thrown there just disappears and does not get handled anywhere else? Can somebody point me to the right sections of the Java Language Specs or the JVM Specs that deal with this issue?
Below is a test program that I wrote to investigate. It throws an exception in an "outer thread", part of an "outer group" thread group; an exception in an "inner thread", part of an "inner group" thread group; and an exception in the uncaughtException method of the "inner group" thread group. I expected that the first two invoke the uncaughtException of the "outer group", while the last one invokes the method of the "inner group". Contrary to my expectations, the exception thrown in the uncaughtException method of the "inner group" does not seem to invoke anything.
Thanks in advance.
Yours,
--Mathias
public class ThrowInUncaughtExceptionHandler {
public static void main(String[] args) {
(new ThrowInUncaughtExceptionHandler()).run();
public void run() {
ThreadGroup outerGroup = new ThreadGroup("outer") {
public void uncaughtException(Thread t, Throwable e) {
System.out.println("in outerGroup.uncaughtException: "+e);
final Thread outerThread = new Thread(outerGroup, new Runnable() {
public void run() {
System.out.println("in outerThread.run");
System.out.println("\tthread group: "+Thread.currentThread().getThreadGroup());
System.out.flush();
ThreadGroup innerGroup = new ThreadGroup("inner") {
public void uncaughtException(Thread t, Throwable e) {
System.out.println("in innerGroup.uncaughtException: "+e);
System.out.println("\tthrowing another exception...");
throw new RuntimeException("thrown in innerGroup.uncaughtException");
final Thread innerThread = new Thread(innerGroup, new Runnable() {
public void run() {
System.out.println("in innerThread.run");
System.out.println("\tthread group: "+Thread.currentThread().getThreadGroup());
System.out.flush();
throw new RuntimeException("thrown in innerThread");
innerThread.start();
try { innerThread.join(); }
catch(InterruptedException ioe) { /* ignore */ }
throw new RuntimeException("thrown in outerThread");
outerThread.start();
}Hi tigerxx:
Thank you for your reply. Unfortunately, your suggestion does not help. I had tried it already, even though according to the Java API Javadocs, this is not necessary anyway: If no thread group is specified as parent of a thread group, then the current thread's thread group is used. Since innerGroup is created by a thread in outerGroup, innerGroup's parent is outerGroup.
Thanks again, though, for taking the time to read and reply.
--Mathias -
Lots of exceptions thrown with JRockit JVM
Hi,
We are switching to test our codes based on JRockitRealTime 3.0.0, 1.6, linux 64 from Sun HotSpot.
Our Coherence version is 3.3.1
We notice a quite a few things are significant slower when compared to the results based on HotSpot.
Turning on the Xverbose:exceptions=debug, we see lots of exceptions thrown, the following is just 1 example of many (with different kinds of stack trace too) related to Coherence API calls. And we believe they are the main cause to the slowdown. Has this kind of problem observed and reported to Coherence before? We did not see the exceptions from running HotSpot JVM, and looks like there is no need/way to turn on the exception traces from HotSpot HVM so we assume there were no exceptions thrown when we ran our applications based on HotSpot JVM.
Regards,
Jasper
DEBUGexcepti00180 java/lang/NoSuchMethodException: java.lang.String.clone()^M
at jrockit/vm/Reflect.fillInStackTrace0(Ljava/lang/Throwable;)V(Native Method)^M
at java/lang/Throwable.fillInStackTrace()Ljava/lang/Throwable;(Native Method)^M
at java/lang/Throwable.<init>(Throwable.java:196)^M
at java/lang/Exception.<init>(Exception.java:41)^M
at java/lang/NoSuchMethodException.<init>(NoSuchMethodException.java:32)^M
at java/lang/Class.getMethod(Class.java:1605)^M
at com/tangosol/run/xml/PropertyAdapter.<init>(PropertyAdapter.java:152)^M
at com/tangosol/run/xml/SimpleAdapter.<init>(SimpleAdapter.java:59)^M
at com/tangosol/run/xml/SimpleAdapter$StringAdapter.<init>(SimpleAdapter.java:1415)^M
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)^M
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)^M
at sun/reflect/NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)^M
at sun/reflect/NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)^M
at sun/reflect/DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)^M
at java/lang/reflect/Constructor.newInstance(Constructor.java:513)^M
at com/tangosol/run/xml/XmlBean$BeanInfo.makeAdapter(XmlBean.java:1141)^M
at com/tangosol/run/xml/XmlBean$BeanInfo.<init>(XmlBean.java:966)^M
at com/tangosol/run/xml/XmlBean.initBeanInfo(XmlBean.java:874)^M
at com/tangosol/run/xml/XmlBean.findBeanInfo(XmlBean.java:814)^M
at com/tangosol/run/xml/XmlBean.getBeanInfo(XmlBean.java:362)^M
at com/tangosol/util/ExternalizableHelper.writeXmlBean(ExternalizableHelper.java:2009)^M
at com/tangosol/util/ExternalizableHelper.internalWriteObject(ExternalizableHelper.java:2505)^M
at com/tangosol/util/ExternalizableHelper.toBinary(ExternalizableHelper.java:169)^M
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/DistributedCache$ConverterKeyToBinary.convert(DistributedCache.CDB:30)^M
at com/tangosol/util/ConverterCollections$ConverterMap.put(ConverterCollections.java:1317)^M
at com/tangosol/coherence/component/util/daemon/queueProcessor/service/DistributedCache$ViewMap.put(DistributedCache.CDB:1)^M
at com/tangosol/coherence/component/util/SafeNamedCache.put(SafeNamedCache.CDB:1)^M
at com/oracle/ngc/prototype/platform/CacheHelper.createObject(CacheHelper.java:808)^M
at com/oracle/ngc/prototype/object/Account.BulkCreate(Account.java:186)^M at com/oracle/ngc/prototype/loader/PopulateSubscriptionCache$LoadDaemon.run(PopulateSubscriptionCache.java:379)^M
at com/tangosol/util/Daemon$DaemonWorker.run(Daemon.java:519)^M
at java/lang/Thread.run(Thread.java:619)^M
at jrockit/vm/RNI.c2java(JJJJJ)V(Native Method)^M
--- End of stack trace^MHi Jasper,
First, I'd like to underscore that what you see are exceptions that are expected and handled gracefully by the standard Java serialization or Coherence classes.
The reason you don't see those exceptions with Sun's JVM is that it does not have an option (at least to my knowledge) to show them. This is a very nice debugging feature of JRockit that allows you to see what is going on (and always has been!) under the hood.
The example you gave is a part of the XmlBean introspection logic checking for a public "clone" method. This code runs once per a class initialization as a part of the static initializer and, as a result, does not impact an application performance. However, if you see exceptions that are occurring constantly, it definitely should be of concern.
Regards,
Gene -
Error upon starting Weblogic server : Exception thrown while loading uddi
Hi,
I am getting $Proxy41.getDefaultWebApp(Unknown Source) error while starting the weblogic. Any one has clue? Below is the stack from myserv.log file.
Environment:
OS : Windows 2000 server
WLS: Weblogic 7.0SP2
Oracle client : Oracle 9i RC2
IIS : IIS 5.0
<Exception thrown while loading uddi: java.lang.ClassCastException: weblogic.management.configuration.ApplicationManagerMBean_CachingStub>
java.lang.ClassCastException: weblogic.management.configuration.ApplicationManagerMBean_CachingStub
at $Proxy41.getDefaultWebApp(Unknown Source)
at weblogic.management.configuration.WebServerMBean_CachingStub.getDefaultWebApp(WebServerMBean_CachingStub.java:226)
at weblogic.servlet.internal.WebAppServletContext.initFromMBean(WebAppServletContext.java:1312)
at weblogic.servlet.internal.WebAppServletContext.init(WebAppServletContext.java:1054)
at weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java:1009)
at weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java:502)
at weblogic.servlet.internal.WebAppModule.prepare(WebAppModule.java:371)
at weblogic.j2ee.J2EEApplicationContainer.prepareWebModule(J2EEApplicationContainer.java:1598)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:735)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490)
at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:150)
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)
####<Dec 14, 2005 11:19:54 AM PST> <Error> <Deployer> <rsecav-webenam> <myserver> <main> <kernel identity> <> <149205> <The Slave Deployer failed to initialize the application uddi due to error weblogic.management.ApplicationException: Prepare failed. Task Id = null
Module Name: uddi, Error: Could not load uddi: java.lang.ClassCastException: weblogic.management.configuration.ApplicationManagerMBean_CachingStub
}.>
weblogic.management.ApplicationException: Prepare failed. Task Id = null
Module Name: uddi, Error: Could not load uddi: java.lang.ClassCastException: weblogic.management.configuration.ApplicationManagerMBean_CachingStub
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:744)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:555)
at weblogic.j2ee.J2EEApplicationContainer.prepare(J2EEApplicationContainer.java:458)
at weblogic.management.deploy.slave.SlaveDeployer.prepareAllStagedApplications(SlaveDeployer.java:490)
at weblogic.management.deploy.slave.SlaveDeployer.initialize(SlaveDeployer.java:253)
at weblogic.management.deploy.DeploymentManagerServerLifeCycleImpl.initialize(DeploymentManagerServerLifeCycleImpl.java:150)
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)
Thanks in advance,
ManuHi Manu,
can I know how you over come this problem? I am using Weblogic 7 with Service Pack 4. I will be thankful to u if you can mail ur response to me on my mail [email protected]
Thanks and Regards,
Suresh Vemulapalli -
Image Processing (JAI-API) Instalation problem
I am developing the software in Image processing (remote sensing). I am facing the following problem when i run the program.
C:\java_ex>javac SimpleJAITest.java
SimpleJAITest.java:23: cannot resolve symbol
symbol : class ScrollingImagePanel
location: class SimpleJAITest
ScrollingImagePanel panel1, panel2;
^
SimpleJAITest.java:36: cannot resolve symbol
symbol : class ScrollingImagePanel
location: class SimpleJAITest
panel1 = new ScrollingImagePanel(loadImage, 300, 300);
^
SimpleJAITest.java:78: cannot resolve symbol
symbol : class ScrollingImagePanel
location: class SimpleJAITest
panel2 = new ScrollingImagePanel(outImage, 300, 300);
^
Note: SimpleJAITest.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
Please send the information regarding installation of Java Advance Imaging kit
and link to download JAI API
Also send the solution of this problemC:\java_ex>javac SimpleJAITest.java -Xlint:deprecation
SimpleJAITest.java:23: cannot find symbol
symbol : class ScrollingImagePanel
location: class SimpleJAITest
ScrollingImagePanel panel1, panel2;
^
SimpleJAITest.java:29: warning: [deprecation] set(java.lang.Object,java.lang.Str
ing) in javax.media.jai.ParameterBlockJAI has been deprecated
loadPB.set(argv[0], "hs");
^
SimpleJAITest.java:36: cannot find symbol
symbol : class ScrollingImagePanel
location: class SimpleJAITest
panel1 = new ScrollingImagePanel(loadImage, 300, 300);
^
SimpleJAITest.java:39: warning: [deprecation] show() in java.awt.Window has been
deprecated
window1.show();
^
SimpleJAITest.java:78: cannot find symbol
symbol : class ScrollingImagePanel
location: class SimpleJAITest
panel2 = new ScrollingImagePanel(outImage, 300, 300);
^
SimpleJAITest.java:81: warning: [deprecation] show() in java.awt.Window has been
deprecated
window2.show();
^
SimpleJAITest.java:87: warning: [deprecation] set(java.lang.Object,java.lang.Str
ing) in javax.media.jai.ParameterBlockJAI has been deprecated
savePB.set(argv[1], "filename");
^
SimpleJAITest.java:88: warning: [deprecation] set(java.lang.Object,java.lang.Str
ing) in javax.media.jai.ParameterBlockJAI has been deprecated
savePB.set(argv[2], "format");
^
3 errors
5 warnings -
i try run VS 2012 with /SafeMode. I create new empty Winform. When I start debug, I got:
"error while trying to run project uncaught exception thrown by method called through reflection"Hi Matanya Zac,
Did you restart your machine? How about installing the VS2012 update 4?
>>error while trying to run project uncaught exception thrown by method
Did you install the VS update in your VS IDE? I met this issue before which was related to the VS update:
https://social.msdn.microsoft.com/Forums/vstudio/en-US/5ead8ee9-ea09-4060-88b0-ee2e2044ff82/error-while-trying-to-run-a-project-uncaught-exception-thrown-by-method-called-through-reflection?forum=vsdebug
If still no help, I suggest you repair your VS, and then restart your machine, test the result.
Best Regards,
Jack
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
How to properly handle Exception thrown in a .tag file?
I've got a .jsp file that makes use of some custom tags, each defined in their own .tag file, and located in WEB-INF/tags. I'm having a lot of trouble with the scenario of cleanly dealing with an exception raised by scriptlets in either a .jsp file, and a .tag file. I'm using both Java and Tomcat 6....
Originally, I wanted to use .tag files in order to componentize common elements that were present in .jsp pages, as well as move ugly scriptlets out of .jsp pages, and isolate them in tag files with their associated page elements.
Things started getting hairy when I started exploring what happens when an exception is thrown (bought not handled) in a scriptlet in a .tag file. Basically, my app is a servlet that forwards the user to various .jsp pages based on given request parameters. The forwarding to the relevant .jsp page is done by calls to the following method:
servletContext.getRequestDispatcher("/" + pageName).forward(request, response);
Where 'pageName' is a String with the name of the .jsp I want to go to...
Calls to this method are enclosed in a try block, as it throws both a ServletException, and IOException...
When either my .jsp, or .tag throw an exception in a scriptlet, the exception is wrapped in a JSPException, which is then wrapped in a ServletException.
I can catch this exception in my servlet... but then what? I want to forward to an error page, however, in the catch block, I can't forward in response to this exception, as that results in an IllegalStateException, as the response has already been committed. So what do I do? How do I get from this point, to my "error.jsp" page?
It was suggested to me that I use the <% @ page isErrorPage="true" %> directive in my error.jsp,
and the in my real .jsp, use <%page errorPage="/error.jsp" %>.
This works great when the exception is thrown in my .jsp.... But when the exception is thrown in the .tag file... not so much...
My .jsp page was rendered up until the point where the <my:mytag/> (the tag with the offending raised exception) was encountered. Then, instead of forwarding to the error page when the error in the tag is encountered, the error page is rendered as the CONTENT of of my TAG. The rest of the .jsp is then NEVER rendered. I checked the page source, and there is no markup from the original .jsp that lay below the my tag. So this doesn't work at all. I don't want to render the error page WITHIN the half of the .jsp that did render... Why doesn't it take me away from the .jsp with the offending tag altogether and bring me to the error.jsp?
Then it was suggested to me that I get rid of those page directives, and instead define error handling in the web.xml using the following construct:
<error-page>
<exception-type>java.lang.Exception</exception-type>
<location>/error</location>
</error-page>
<error-page>
<error-code>404</error-code>
<location>/error</location>
</error-page>
For this, I created a new servlet called ErrorServlet, and mapped it to /error
Now I could mangle the end of the URL, which causes a 404, and I get redirected to the ErrorServlet. Yay.
However, exceptions being thrown in either a .jsp or .tag still don't direct me to the ErrorServlet. Apparently this error handling mechanism doesn't work for .jsp pages reached via servletContext.getRequestDispatcher("/" + pageName).forward(request, response) ????
So I'm just at a total loss now. I know the short answer is "don't throw exceptions in a .jsp or .tag" but frankly, that seems a pretty weak answer that doesn't really address my problem... I mean, it would really be nice to have some kind of exception handler for runtime exceptions thrown in a scriptlet in .tag file, that allows me to forward to a page with detailed stacktrace output, etc, if anything for debugging purposes during development...
If anyone has a few cents to spare on this, I'd be ever so grateful..
Thanks!!
JeffWhat causes the exception?
What sort of exception are you raising from the tag files?
Have you got an example of a tag file that you can share, and a jsp that invokes it so people can duplicate the issue without thinking too much / spending too much time?
My first instinct would be that the buffer is being flushed, and response committed before your Exception is raised.
What you describe is pretty much standard functionality for Tomcat in such cases. -
Hello,
I have the following exception when running WLS 6.1 SP 3 on AIX 4.3.3, any idea?
<Exception thrown while loading wl_management_internal1:
java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:158)
at $Proxy64.getJ2EEApplicationDescriptor(Unknown Source)
at weblogic.j2ee.Application.getAppDescriptor(Application.java(Compiled
Code))
at weblogic.j2ee.Component.getModuleMBean(Component.java(Compiled
Code))
at weblogic.j2ee.Component.getAltDDFile(Component.java(Compiled Code))
at
weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java(Compiled
Code))
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java(Compiled Code))
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java(Compiled
Code))
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:360)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy24.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1202)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:346)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120)Were you installing SP3 or starting WLS after the install?
What do you see when you run:
$ which java
$ java -version
Does the OS have patch 9 -- I believe it's PTF 9 in AIX lingo.
AIX 4.3.3.9
Wayne Scott
Thierry wrote:
Hello,
I have the following exception when running WLS 6.1 SP 3 on AIX 4.3.3, any idea?
<Exception thrown while loading wl_management_internal1:
java.lang.NullPointerException
java.lang.NullPointerException
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:158)
at $Proxy64.getJ2EEApplicationDescriptor(Unknown Source)
at weblogic.j2ee.Application.getAppDescriptor(Application.java(Compiled
Code))
at weblogic.j2ee.Component.getModuleMBean(Component.java(Compiled
Code))
at weblogic.j2ee.Component.getAltDDFile(Component.java(Compiled Code))
at
weblogic.servlet.internal.WebAppServletContext.<init>(WebAppServletContext.java(Compiled
Code))
at
weblogic.servlet.internal.HttpServer.loadWebApp(HttpServer.java(Compiled Code))
at weblogic.j2ee.WebAppComponent.deploy(WebAppComponent.java(Compiled
Code))
at weblogic.j2ee.Application.addComponent(Application.java:170)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:117)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:360)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
at
weblogic.management.mbeans.custom.WebServer.addWebDeployment(WebServer.java:76)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java(Compiled Code))
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:209)
at $Proxy24.addWebDeployment(Unknown Source)
at
weblogic.management.configuration.WebServerMBean_CachingStub.addWebDeployment(WebServerMBean_CachingStub.java:1202)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:346)
at
weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:150)
at java.lang.reflect.Method.invoke(Native Method)
at
weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java(Compiled
Code))
at
weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:360)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1557)
at
com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1525)
at
weblogic.management.internal.RemoteMBeanServerImpl_WLSkel.invoke(Unknown Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:305)
at
weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:274)
at
weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:22)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:139)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:120) -
Jco exception thrown while executing function "BICS_PROV_OPEN" against syst
Hi,
Am implementing SAP EP, BI Integration. The BI Querys are running fine, but when i try to run a BEx Application Query am thrown with this exception in portal.
Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" at
I've done all the configuration for the integration and the BI Diagnostic tool is showing all the configurations to GREEN.
Please help me on this...
Regards,
mcsekarException caught: com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump. com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The current application triggered a termination with a short dump. at com.sap.mw.jco.MiddlewareJRfc.generateJCoException(MiddlewareJRfc.java:516) at com.sap.mw.jco.MiddlewareJRfc$Client.execute(MiddlewareJRfc.java:1514) at com.sap.mw.jco.JCO$Client.execute(JCO.java:3980) at com.sap.mw.jco.JCO$Client.execute(JCO.java:3417) at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Proxy.executeFunction(Jco640Proxy.java:362) at com.sap.ip.bi.base.application.service.rfcproxy.impl.jco640.Jco640Function.executeRfc(Jco640Function.java:75) at com.sap.ip.bi.base.application.service.rfcproxy.base.RfcFunction.execute(RfcFunction.java:46) at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.variableprocessor.RfcServiceWithVariables.executeCreationFunctionForVariableHandling(RfcServiceWithVariables.java:64) at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.isApplicable(ProviderSelectionObject.java:339) at com.sap.ip.bi.base.application.impl.Application.checkAndCreateService(Application.java:709) at com.sap.ip.bi.base.application.impl.Application.createService(Application.java:634) at
Exception caught: com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" com.sap.ip.bi.base.exception.BIBaseRuntimeException: Jco exception thrown while executing function "BICS_PROV_OPEN" against system "SAP_BW" at com.sap.ip.bi.base.application.service.rfcproxy.base.RfcFunction.execute(RfcFunction.java:48) at com
Maybe you are looking for
-
Can't get to home network behind WRV54G using QuickVPN
Someone please help preserve my sanity. I have a home LAN with multiple wired and wireless W2K computers on a WRV54G. I have the QuickVPN client on my W2K laptop. I have a static WAN address. I can remotely connect to the WRV54G using QuickVPN wit
-
Adobe Premiere Pro CC or media encoder MFX OP1a Bug
Hi I'm outtputting for broadcast TV Commercial and getting a consistant audio issue with adobe premiere pro cc MFX OP1a using IMX30 pal export master. Orginial project is HD exported AVI from After effects, audio is .wav 48k. The audio has a glitch w
-
We have post five accounting documents, some are using MYR document currencies, some are using SGD document currencies, company code currency is SGD, when we use SGD to clear five documents, FBL3N line item report shows local currencies for that acco
-
Hi all, For the past ten months for a particular Scheduling agreement goods was being recieved thru the process such as creation of Inbound delivery in VL31N and then MIGO. But suddenly freight tab has is not being displayed in MIGO as i know the onl
-
Hi Experts, Is there a function module to create Barcode for batch and materials . we are not using SAP standard material number range . insted the materail number will be alfa numeric . how can we create a barcode for this ? Please suggest. thanks