Java.lang.IndexOutOfBoundException on clicking side navigation link
Hi,
I have to dynamically invoke a side navigation menu from Page 1,
Here is the code that I have written:
Process request:
public void processRequest(OAPageContext pageContext, OAWebBean webBean)
super.processRequest(pageContext, webBean);
// Starting a new transaction to avoid any back navigation error
if (!pageContext.isBackNavigationFired(false)){
if (!TransactionUnitHelper.isTransactionUnitInProgress
(pageContext, "partChangeTxn", true)){
TransactionUnitHelper.startTransactionUnit(pageContext, "partChangeTxn");
if (!pageContext.isFormSubmission()){
// Side Navigation Menu
String recPartChanges =
pageContext.getMessage("XXGAHL", "XXGAHL_OSP_REC_PART_CHNG_Q", null);
String viewPartChanges =
pageContext.getMessage("XXGAHL", "XXGAHL_OSP_VIEW_PART_CHNG_Q", null);
//Get the side Navigation Links.
OASideNavBean sideNav =
(OASideNavBean)createWebBean(pageContext, OAWebBeanConstants.SIDE_NAV_BEAN,
null, "sideNav");
//Record Part Changes Queue
OALinkBean recPartChangesQueue =
(OALinkBean)createWebBean(pageContext, OAWebBeanConstants.LINK_BEAN,
"VARCHAR2", "recPartChangesQueue");
recPartChangesQueue.setText(recPartChanges);
recPartChangesQueue.setDestination
("OA.jsp?page=/kal/oracle/apps/xxgahl/osp/webui/XxgahlOspPartChangesPG");
sideNav.addIndexedChild(recPartChangesQueue);
recPartChangesQueue.setSelected(true);
//View Part Changes Queue
OALinkBean viewPartChangesQueue =
(OALinkBean)createWebBean(pageContext, OAWebBeanConstants.LINK_BEAN,
"VARCHAR2", "viewPartChangesQueue");
viewPartChangesQueue.setText(viewPartChanges);
viewPartChangesQueue.setDestination
("OA.jsp?page=/kal/oracle/apps/xxgahl/osp/webui/XxgahlOspViewPartChangesPG");
sideNav.addIndexedChild(viewPartChangesQueue);
viewPartChangesQueue.setSelected(false);
OAPageLayoutBean pageLayout = pageContext.getPageLayoutBean();
pageLayout.prepareForRendering(pageContext);
pageLayout.setStart(sideNav);
This is rendering properly.
However, I want the same side navigation in the called page. When I write the same code in process request of called page (i.e XxgahlOspViewPartChangesPG); and try to click on the link from the Page 1, I get "java.lang.IndexOutOfBoundException". But, if I do not write any side navigation invoking code in the process request of called page, I get no error.
Please help.
Regards,
Farrah
hi
would u please provide the complete error stack
thanx
Pratap
Similar Messages
-
Remove 'Side Navigation link' in oracle irecruitment manager
Hi everyone,
I have repeated tried to remove a Side Navigation Link container holding: New Vacancy and New Offer Link in Oracle iRecruitment Manager.
Responsibility: iRecruitment Manager, I want these two links disable, i have tried rendering it False but nothing.
How do I disable this region so that it does not show, please help.
Cheers,Hi
i already see that file
above is my file
is it correct to disable the link
can u see my script and tell me anything if im not correct
plz help me for this
Edited by: ARYABRAHMA on Feb 4, 2013 10:06 PM -
Java.lang.NullPointerException during clicking custom editor
Hi,
I have faced java.lang.NullPointerException when I want to click the custom editor in the property field. Let me explain more in depth.
I have selected a hyperlink and want to key in the URL link under the property. When I click on the custom editor, it should have a pop-up screen for me to key in the link. However, it shows a java.lang.NullPointerException error.
Can anyone please help?
Thank you.This error was solved using latest Identity Manager IDE 8.1 downloaded from page:
[identitymanageride.dev.java.net|https://identitymanageride.dev.java.net/servlets/ProjectDocumentList?folderID=9474&expandFolder=9474&folderID=9474] -
Java.lang.NullPointerException when click on the Export button
I had created a advance table with a export button to export the data to csv. Both the advance table and the export button point to the same view. The advance table region works correctly and show all the necessary transactions, but when I click on the Export button I get the following error
oracle.apps.fnd.framework.OAException: Application: FND, Message Name: FND_GENERIC_MESSAGE. Tokens: MESSAGE = java.lang.NullPointerException; at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at oracle.apps.fnd.framework.OAException.wrapperException(Unknown Source) at OAErrorPage.jspService(_OAErrorPage.java:80) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:462) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
Do anyone can help. Thanks in advance
Regards
LawrenceIt was and Oracle bug#6469196/5880921. I installed patch#5880921 and It foxed the proble.
-
Java.lang.OutOfMemoryError when click on the "performance" tab in dbconsol
THis is 10.2.0.3 DB on Oracle-Linux Rel5. I got the error "java.lang.OutOfMemoryError" in "emoms.log" whenever I click on the "performance" Tab in DBCONSOLE. The rest of the dbconsole features is working fine.
Please help...
Thanks!It was and Oracle bug#6469196/5880921. I installed patch#5880921 and It foxed the proble.
-
Error in CC 5.2 (Java.lang.indexOutOfBoundException)
Hello All,
When i logon to CC 5.2, I always get the following error on the bottom of the page: java.lang.IndexOutOfBoundsException: Index: 2, Size: 1
Does anybody have any idea how to fix it ?
Best Regards,
Amol BhartiHello,
Thanks for your reply, I can not increase the array size as i do not have access to CC coding. But today when i performed background job for Risk analysis in full sync mode, the error has gone in miscellaneous circumstances.
Still, thanks for your effort to look into the problem.
Best Regards,
Amol Bharti -
I am using WLS5.1 inside visualage environment. I am trying to run
a Simple EJB which connects to the database and executes two simple
queries. The client code is as shown below:
try{
Context ic = getInitialContext();
System.out.println("Initial Context created......"); java.lang.Object
objref = ic.lookup("simpleBean.AtmHome"); System.out.println("objref
created......");
AtmHome home = (AtmHome) PortableRemoteObject.narrow(objref, AtmHome.class);
System.out.println("home created......");
Atm atm = home.create();
System.out.println("atm created......");
atm.transfer(8, 9, 100000);
catch (NamingException ne)
ne.printStackTrace(System.out);
finally {
try {
ic.close();
System.out.println("Closed the connection");
catch (Exception e) {
System.out.println("Exception while closing context....." );
The above code executes fine for the first time but second time
it throws an exception "javax.naming.NamingException.
Root exception is java.lang.NoSuchMethodError"
javax.naming.NamingException. Root exception is java.lang.NoSuchMethodError
java.lang.Throwable()
java.lang.Error()
java.lang.LinkageError()
java.lang.IncompatibleClassChangeError()
java.lang.NoSuchMethodError()
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
javax.naming.NameImpl(java.util.Properties)
javax.naming.CompositeName()
weblogic.jndi.toolkit.NormalName(java.lang.String, javax.naming.NameParser)
weblogic.jndi.toolkit.NormalName weblogic.jndi.toolkit.BasicWLContext.normalizeName(java.lang.String)
java.lang.Object weblogic.jndi.toolkit.BasicWLContext.lookup(java.lang.String)
weblogic.rmi.extensions.OutgoingResponse weblogic.jndi.toolkit.BasicWLContext_WLSkel.invoke(weblogic.rmi.extensions.ServerObjectReference,
int, weblogic.rmi.extensions.IncomingRequest, weblogic.rmi.extensions.OutgoingResponse)
java.lang.Throwable weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(int,
weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.extensions.BasicRequestHandler.handleRequest(weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.internal.BasicExecuteRequest.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
--------------- nested within: ------------------
weblogic.rmi.ServerError: A RemoteException occurred in the server
method
- with nested exception:
[java.lang.NoSuchMethodError:
Start server side stack trace:
java.lang.NoSuchMethodError
java.lang.Throwable()
java.lang.Error()
java.lang.LinkageError()
java.lang.IncompatibleClassChangeError()
java.lang.NoSuchMethodError()
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
javax.naming.NameImpl(java.util.Properties)
javax.naming.CompositeName()
weblogic.jndi.toolkit.NormalName(java.lang.String, javax.naming.NameParser)
weblogic.jndi.toolkit.NormalName weblogic.jndi.toolkit.BasicWLContext.normalizeName(java.lang.String)
java.lang.Object weblogic.jndi.toolkit.BasicWLContext.lookup(java.lang.String)
weblogic.rmi.extensions.OutgoingResponse weblogic.jndi.toolkit.BasicWLContext_WLSkel.invoke(weblogic.rmi.extensions.ServerObjectReference,
int, weblogic.rmi.extensions.IncomingRequest, weblogic.rmi.extensions.OutgoingResponse)
java.lang.Throwable weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(int,
weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.extensions.BasicRequestHandler.handleRequest(weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.internal.BasicExecuteRequest.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
End server side stack trace
weblogic.rmi.extensions.WRMIInputStream weblogic.rmi.extensions.AbstractRequest.sendReceive()
java.lang.Object weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(java.lang.String)
java.lang.Object weblogic.jndi.toolkit.WLContextStub.lookup(java.lang.String)
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
void simpleBean.AtmClient.main(java.lang.String [])
NamingException is caught....
I found out that it hangs at lookup function in the above code.
Please let me know if I am missing any environment settings.
Thanks
ShailajaThis problem is solved after installing service pack 8 for weblogic
5.1
-shailaja
"shailaja" <[email protected]> wrote:
>
I am using WLS5.1 inside visualage environment. I am trying
to run
a Simple EJB which connects to the database and executes
two simple
queries. The client code is as shown below:
try{
Context ic = getInitialContext();
System.out.println("Initial Context created......"); java.lang.Object
objref = ic.lookup("simpleBean.AtmHome"); System.out.println("objref
created......");
AtmHome home = (AtmHome) PortableRemoteObject.narrow(objref,
AtmHome.class);
System.out.println("home created......");
Atm atm = home.create();
System.out.println("atm created......");
atm.transfer(8, 9, 100000);
catch (NamingException ne)
ne.printStackTrace(System.out);
finally {
try {
ic.close();
System.out.println("Closed the connection");
catch (Exception e) {
System.out.println("Exception while closing context....."
The above code executes fine for the first time but second
time
it throws an exception "javax.naming.NamingException.
Root exception is java.lang.NoSuchMethodError"
javax.naming.NamingException. Root exception is java.lang.NoSuchMethodError
java.lang.Throwable()
java.lang.Error()
java.lang.LinkageError()
java.lang.IncompatibleClassChangeError()
java.lang.NoSuchMethodError()
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
javax.naming.NameImpl(java.util.Properties)
javax.naming.CompositeName()
weblogic.jndi.toolkit.NormalName(java.lang.String, javax.naming.NameParser)
weblogic.jndi.toolkit.NormalName weblogic.jndi.toolkit.BasicWLContext.normalizeName(java.lang.String)
java.lang.Object weblogic.jndi.toolkit.BasicWLContext.lookup(java.lang.String)
weblogic.rmi.extensions.OutgoingResponse weblogic.jndi.toolkit.BasicWLContext_WLSkel.invoke(weblogic.rmi.extensions.ServerObjectReference,
int, weblogic.rmi.extensions.IncomingRequest, weblogic.rmi.extensions.OutgoingResponse)
java.lang.Throwable weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(int,
weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.extensions.BasicRequestHandler.handleRequest(weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.internal.BasicExecuteRequest.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
--------------- nested within: ------------------
weblogic.rmi.ServerError: A RemoteException occurred in
the server
method
- with nested exception:
[java.lang.NoSuchMethodError:
Start server side stack trace:
java.lang.NoSuchMethodError
java.lang.Throwable()
java.lang.Error()
java.lang.LinkageError()
java.lang.IncompatibleClassChangeError()
java.lang.NoSuchMethodError()
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
void javax.naming.NameImpl.recordNamingConvention(java.util.Properties)
javax.naming.NameImpl(java.util.Properties)
javax.naming.CompositeName()
weblogic.jndi.toolkit.NormalName(java.lang.String, javax.naming.NameParser)
weblogic.jndi.toolkit.NormalName weblogic.jndi.toolkit.BasicWLContext.normalizeName(java.lang.String)
java.lang.Object weblogic.jndi.toolkit.BasicWLContext.lookup(java.lang.String)
weblogic.rmi.extensions.OutgoingResponse weblogic.jndi.toolkit.BasicWLContext_WLSkel.invoke(weblogic.rmi.extensions.ServerObjectReference,
int, weblogic.rmi.extensions.IncomingRequest, weblogic.rmi.extensions.OutgoingResponse)
java.lang.Throwable weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(int,
weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.extensions.BasicRequestHandler.handleRequest(weblogic.rmi.extensions.IncomingRequest)
void weblogic.rmi.internal.BasicExecuteRequest.execute(weblogic.kernel.ExecuteThread)
void weblogic.kernel.ExecuteThread.run()
End server side stack trace
weblogic.rmi.extensions.WRMIInputStream weblogic.rmi.extensions.AbstractRequest.sendReceive()
java.lang.Object weblogic.jndi.toolkit.BasicWLContext_WLStub.lookup(java.lang.String)
java.lang.Object weblogic.jndi.toolkit.WLContextStub.lookup(java.lang.String)
java.lang.Object javax.naming.InitialContext.lookup(java.lang.String)
void simpleBean.AtmClient.main(java.lang.String [])
NamingException is caught....
I found out that it hangs at lookup function in the above
code.
Please let me know if I am missing any environment settings.
Thanks
Shailaja -
Java.lang.LinkageError on execution of RFC
Hi all,
I am getting java.lang.LinkageError: loader constraints violated when linking com/sap/tc/cmi/model/ICMIModelClass class when trying to execute a RFC.
Does anyone has any idea why thie error is thrown.
Thanks and regards,
JaydeepHi Jaydeep,
Check this:
Re: Unable to access external jars in DC during run time!!
Regards,
Shyam. -
Hello,
I hope someone can help me with this.
I have a stateless session bean, which is returning a
org.w3c.dom.Document object. The whole object is getting created
but at the client side I am getting the following exception:
java.rmi.RemoteException: ; nested exception is:
weblogic.rmi.ServerError: A RemoteException occurred in the server method
- with nested exception:
[java.lang.StackOverflowError:
Start server side stack trace:
java.lang.StackOverflowError
at java.lang.Exception.<init>(Compiled Code)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetEx
ception.java:58)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
at java.io.ObjectOutputStream.outputObject(Compiled Code)
at java.io.ObjectOutputStream.writeObject(Compiled Code)
at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
Then multiple occurences of the last few lines followed by
at org.apache.xerces.dom.ParentNode.writeObject(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
at java.io.ObjectOutputStream.outputObject(Compiled Code)
at java.io.ObjectOutputStream.writeObject(Compiled Code)
at java.io.ObjectOutputStream.outputClassFields(Compiled Code)
at java.io.ObjectOutputStream.defaultWriteObject(Compiled Code)
at org.apache.xerces.dom.ParentNode.writeObject(Compiled Code)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectOutputStream.invokeObjectWriter(Compiled Code)
at java.io.ObjectOutputStream.outputObject(Compiled Code)
at java.io.ObjectOutputStream.writeObject(Compiled Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(Compiled
Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compiled
Code)
at weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled
Code)
at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLSkel.invoke(Compiled
Code)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(Compiled Code
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled
Code)
at weblogic.rmi.internal.BasicExecuteRequest.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
End server side stack trace
at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
ava:76)
at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLStub.getRegionAnalyst
Data(CMSInterestDataEJBEOImpl_WLStub.java:558)
at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_ServiceStub.getRegionAn
alystData(CMSInterestDataEJBEOImpl_ServiceStub.java, Compiled Code)
at CMSJavaScript.main(CMSJavaScript.java:87)
The structure of the XML document is
<Maillist>
<Region>
<RegionCode>7</RegionCode>
<RegionName>Asia Pacific</RegionName>
<Analyst>
<Id>11111</Id>
<Name>AAAAAAAAAAAAAAAAA</Name>
</Analyst>
<Analyst>
<Id>22222</Id>
<Name>BBBBBBBBBBBBBBBBBB</Name>
</Analyst>
</Region>
</Maillist>
If the no. of Anlayst elements are 219, I am getting this error ( the same thing
is working for less no. of analyst).
Surprisingly when I access this ejb, by deploying it on my local server instance
on Win-NT, it works fine. I am getting this
exception, when the server is running on Sun Solaris.
The weblogic version is 5.1.
It will be really helpful if someone can reply to mee ASAP
Thanks.
Suren.Thanks a lot guys for all that information.
Rajesh Mirchandani <[email protected]> wrote:
Suren,
More info at
http://edocs.bea.com/wls/docs60/faq/java.html#251197
Rob Woollen wrote:
The quick fix is probably to use the -Xss argument on the Solaris JVMto increase the
thread stack size.
-- Rob
Suren wrote:
Thanks for your quick response.
But how do we overcome with this?
I tried to look for some help with this, but if you have any idea,
can you suggest
something ?
Thanks
Suren.
Rob Woollen <[email protected]> wrote:
It looks like the stack is overflowing when your DOM Tree is being
serialized.
Perhaps the Solaris JVM has a lower stack size by default.
-- Rob
Suren wrote:
Hello,
I hope someone can help me with this.
I have a stateless session bean, which is returning a
org.w3c.dom.Document object. The whole object is getting created
but at the client side I am getting the following exception:
java.rmi.RemoteException: ; nested exception is:
weblogic.rmi.ServerError: A RemoteException occurred in
the
server method
- with nested exception:
[java.lang.StackOverflowError:
Start server side stack trace:
java.lang.StackOverflowError
at java.lang.Exception.<init>(Compiled Code)
at java.lang.reflect.InvocationTargetException.<init>(InvocationTargetEx
ception.java:58)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectOutputStream.invokeObjectWriter(Compiled
Code)
at java.io.ObjectOutputStream.outputObject(Compiled Code)
at java.io.ObjectOutputStream.writeObject(Compiled Code)
at java.io.ObjectOutputStream.outputClassFields(CompiledCode)
at java.io.ObjectOutputStream.defaultWriteObject(CompiledCode)
Then multiple occurences of the last few lines followed by
at org.apache.xerces.dom.ParentNode.writeObject(CompiledCode)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectOutputStream.invokeObjectWriter(CompiledCode)
at java.io.ObjectOutputStream.outputObject(Compiled Code)
at java.io.ObjectOutputStream.writeObject(Compiled Code)
at java.io.ObjectOutputStream.outputClassFields(CompiledCode)
at java.io.ObjectOutputStream.defaultWriteObject(CompiledCode)
at org.apache.xerces.dom.ParentNode.writeObject(CompiledCode)
at java.lang.reflect.Method.invoke(Native Method)
at java.lang.reflect.Method.invoke(Compiled Code)
at java.io.ObjectOutputStream.invokeObjectWriter(CompiledCode)
at java.io.ObjectOutputStream.outputObject(Compiled Code)
at java.io.ObjectOutputStream.writeObject(Compiled Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeSpecial(Compiled
Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObject(Compiled
Code)
at weblogic.common.internal.WLObjectOutputStreamBase.writeObjectWL(Compiled
Code)
at weblogic.rmi.extensions.AbstractOutputStream2.writeObject(Compiled
Code)
at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLSkel.invoke(Compiled
Code)
at weblogic.rmi.extensions.BasicServerObjectAdapter.invoke(CompiledCode
at weblogic.rmi.extensions.BasicRequestHandler.handleRequest(Compiled
Code)
at weblogic.rmi.internal.BasicExecuteRequest.execute(CompiledCode)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
End server side stack trace
at weblogic.rmi.extensions.AbstractRequest.sendReceive(AbstractRequest.j
ava:76)
at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_WLStub.getRegionAnalyst
Data(CMSInterestDataEJBEOImpl_WLStub.java:558)
at com.ssmb.teams.model.CMSInterestDataEJBEOImpl_ServiceStub.getRegionAn
alystData(CMSInterestDataEJBEOImpl_ServiceStub.java, Compiled
Code)
at CMSJavaScript.main(CMSJavaScript.java:87)
The structure of the XML document is
<Maillist>
<Region>
<RegionCode>7</RegionCode>
<RegionName>Asia Pacific</RegionName>
<Analyst>
<Id>11111</Id>
<Name>AAAAAAAAAAAAAAAAA</Name>
</Analyst>
<Analyst>
<Id>22222</Id>
<Name>BBBBBBBBBBBBBBBBBB</Name>
</Analyst>
</Region>
</Maillist>
If the no. of Anlayst elements are 219, I am getting this error( the
same thing
is working for less no. of analyst).
Surprisingly when I access this ejb, by deploying it on my local
server
instance
on Win-NT, it works fine. I am getting this
exception, when the server is running on Sun Solaris.
The weblogic version is 5.1.
It will be really helpful if someone can reply to mee ASAP
Thanks.
Suren. -
Java.lang.AbstractMethodError: getUsername
Hello,
I am getting the following Error when I call the method,
logout (true);
in my JPF method. Any suggestions would be helpful.
<Warning> <HTTP> <BEA-101162> <User defined listener com.bea.p13n.tracking.listeners.SessionEventListener failed: java.lang.AbstractMethodError: getUsername.
java.lang.AbstractMethodError: getUsername
at com.bea.p13n.tracking.events.SessionEndEvent.setUserInfo(SessionEndEvent.java:105)
at com.bea.p13n.tracking.listeners.SessionEventListener.sessionDestroyed(SessionEventListener.java:83)
at weblogic.servlet.internal.EventsManager.notifySessionLifetimeEvent(EventsManager.java:163)
at weblogic.servlet.internal.session.SessionData.remove(SessionData.java:829)
at weblogic.servlet.internal.session.MemorySessionContext.invalidateSession(MemorySessionContext.java:69)
Truncated. see log file for complete stacktrace
>
Thanks and regards,
Pazhanikanthan. Pjava.lang.AbstractMethodError: definition:
http://java.sun.com/j2se/1.4/docs/api/java/lang/AbstractMethodError.html
(suggestion, bookmark this link - it will help ALOT whenever you see a new class in Java. And Exceptions are simply classes
http://java.sun.com/j2se/1.4/docs/api/index.html
An Abstract Method is a method that is not given an implementation in the class where it is declared. This means you can't instantiate that class since all of it's methods are not declared. An example of this is OutputStream. OutputStream has (I believe) an abstract modifier for its void write (int i); method.
You can't create an instance of OutputStream, and if you did you wouldn't be able to call void write(int i); The other methods are usually defined concretely, but with references to the abstract method, so void write(byte [])
might be defined as
void write(byte b[])
for(int i=0;i<b.length;i++)
write((int)b);
Then, subclasses merely have to define write(int i) and all the other methods get their definitions as well:
public class SubOutputStream extends OutputStream {
public void write(int i) {
System.out.write(i);
Since you normally can't instantiate objects with abstract methods, you usually only get an AbstractMethodError when you have an old version of an object that had a concrete definition, and a new version that has an abstract version.
In regards to your problem: I don't see where you call the get method. Is that back in the java code? What does your java method expect as a return value? In your jni code, you return the class object of ConnUnitAttributes, rather than the object instance itself that you've created. -
Why my cutomize role mapper throws java.lang.ClassCastException: $Proxy67
Hello all,
I customize the role mapper as follows is my MDF content
<MBeanType
Name = "TestRoleMapper"
DisplayName = "TestRoleMapper"
Package = "test.pkg.roles"
Extends = "weblogic.management.security.authorization.RoleMapper"
Implements = "weblogic.management.security.authorization.RoleReader"
PersistPolicy = "OnUpdate"
I implements the method "listRolesForResource", this method declared to return a string array.
When I return the role name array then Weblogic throws java.lang.ClassCastException: $Proxy67
Error snapshot
http://antonov0318.googlepages.com/error.jpg
Would I miss some interface ?
Would somebody know how to solve it?
Please let me know , Please....Thank you very much.
Edited by: user6273860 on 2008/10/25 上午 12:00It looks like you're just taking random methods,
calling them incorrectly, and expecting them to
work.
What do you think this will do?
* Construct {@link java.lang.Object} array of keys from {@link java.util.Hashtable}
* @param h {@link java.util.Hashtable}
* @return array {@link java.lang.String}
* @throws java.lang.IndexOutOfBoundsException Exception thrown if initial {@link java.lang.Object} array paramater cannot be indexed
public static Object[] arrayKeys(Hashtable<Object, Object> h) throws IndexOutOfBoundsException {
return h.keySet().toArray();
}>
ArrayFunctionality.arrayKeys(attrs)(new
String[attrs.size()]);What's arrayKeys? And what do you think
method(args) (some other stuff) ; will
do?
Somebody else showed you what to do earlier, but they
had a typo. You need to pass an array of the
appropriate type to toArray:
String[] stringArr =
(String[])theList.toArray(someStringArray);Read the docs for that method so you understand how
it works. Just just blindly copy/paste.The API docs for toArray() for java.util.Set interface takes no parameters, I can't expect to know you can override it -
Photo Banner 'restarts' when user clicks general navigation
I created a banner of scrolling photos in edge animate, which I inserted into my page with the iframe tag. The banner works beautifully, but - everytime a user clicks a navigation link (the navigation is not part of the banner), the banner 'restarts' from the first image. I loaded the banner into my dw template which i thought would prevent it from reloading everytime a link is clicked, but that didn't work. Is there a way to have the banner play regardless of what page the user navigates to?
Thank you as always for the great helpBefore navigating away form the page,save the current image number in a cookie and before loading the banner in the new page read back this cookie and start banner animation form that image.
Hope this makes sense
-Hemanth -
Cant see the page links text in my main & side navigation bars
Hi
I published my site to Mme yesterday and I have noticed a few problems have come up. The main problem is my main and side navigation bars. In the top nav bar you cant see all the page links text, they should show up in white. I can only see them when you roll over the page name (this is in grey) and that is the rollover colour. Not sure what to do to get the text colour to stay white all the time so it is always seen once it's been clicked. It just disappears, but is still there if you roll over it
My side nav bar, the text should also all be white and when you roll over it turns red. For some reason when you click on the page link it turns grey and stays grey. I also want the page links to stay white once clicked on
www.bareessentials-waxingformen.co.uk
Please check out my site, you would understand my situation better. I know there are other issues I have to sort out on my site which I am dealing with but this problem with the nav bars have stumped me
ThanksI didn't notice anything unusual with any of your links. Their color is set with this file:
http://www.bareessentials-waxingformen.co.uk/Site/WELCOME_files/WELCOME.css -
Discussion eMail link causing class java.lang.NoClassDefFoundError on reply
When forwarding an eMail link from a discussion, if the user follows the link and then clicks on "reply" it causes a class java.lang.NoClassDefFoundError
This also happens if you create a favorite to the discussion.
Our portal is running:
J2EE Engine 6.40 PatchLevel 100627.313
Portal 6.0.15.0.0
KnowledgeManagementCollaboration 6.0.15.0.0 (NW04 SPS15)
<b>My question is what file is missing or what entry in the portalapp.xml is missing?</b>
Here is the detail:
System Error
An exception occurred during the program execution. Below you will find technical information pertaining to this exception that you might want to forward to your system administrator.
Exception Class
Call Stack java.lang.ClassCastException
at com.sapportals.wcm.control.generic.WcmErrorControl.readInputData(WcmErrorControl.java:558)
at com.sapportals.wdf.stack.Control.triggerInput(Control.java:473)
at com.sapportals.wdf.WdfEventDispatcher.dispatch(WdfEventDispatcher.java:172)
at com.sapportals.wdf.WdfCompositeController.onWdfEvent(WdfCompositeController.java:538)
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:324)
at com.sapportals.htmlb.page.DynPage.doProcessCompositeEvent(DynPage.java:204)
at com.sapportals.htmlb.page.DynPage.doProcessCurrentEvent(DynPage.java:142)
at com.sapportals.htmlb.page.PageProcessor.handleRequest(PageProcessor.java:115)
at com.sapportals.portal.htmlb.page.PageProcessorComponent.doContent(PageProcessorComponent.java:134)
at com.sapportals.wcm.portal.component.base.ControllerComponent.doContent(ControllerComponent.java:73)
at com.sapportals.portal.prt.component.AbstractPortalComponent.serviceDeprecated(AbstractPortalComponent.java:209)
at com.sapportals.portal.prt.component.AbstractPortalComponent.service(AbstractPortalComponent.java:114)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.component.PortalComponentResponse.include(PortalComponentResponse.java:215)
at com.sapportals.portal.prt.pom.PortalNode.service(PortalNode.java:646)
at com.sapportals.portal.prt.core.PortalRequestManager.callPortalComponent(PortalRequestManager.java:328)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:136)
at com.sapportals.portal.prt.core.PortalRequestManager.dispatchRequest(PortalRequestManager.java:189)
at com.sapportals.portal.prt.core.PortalRequestManager.runRequestCycle(PortalRequestManager.java:753)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:240)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:522)
at java.security.AccessController.doPrivileged(Native Method)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:405)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.servlet.InvokerServlet.service(InvokerServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)Hello Joel,
Yes, I did follow the guide in Stefan's Blog and used the correct three standalone SDA files;
actually I found out in CE 7.1.1, these three DC already exist after standard installation and
have not deployed them at all.
Thank you for your input.
Ying-Jie Chen -
Java Web Start doesn't run by clicking on the link, how can I fix it?
Hello,
I've been trying to make a Java Web Start application, I finished everything, but when I click on the link which is connected to the jnlp file, it only displays the XML code in the explorer instead of running the program. But if i download the jnlp file and double click it, it starts the Java Web Start. Anyone can tell me how to fix this?
I thought may be JRE installation, but I tried to click on some sample on the web, it works fine for other Java Web Start application, but not mine.
Thanks you.
KitDoes your webserver know about JNLP? You need to map the .jnlp extension to "application/x-java-jnlp-file".
See the Web Server Setup section of http://java.sun.com/developer/technicalArticles/Programming/jnlp/
Maybe you are looking for
-
Issue with ARD 3.0 not pushing out Installs, Says its installing but not
Issue with ARD 3.0 not pushing out Installs, Says its installing but not Has anyone seen this. It seems to happen with ARD 3, have not seen this in ARD 2. I go to the Install Packages on Target Computers, put in: 10.4.7 Combo (for the correct CPU, PP
-
Hi, The 'Cycle Count Items' form is blank even after compliing and have seven items against cycle account name'Warehouse 2011' Any ideas where we are going wrong? Many thanks
-
Known Issues with Windows 7 being installed on a TX2
Does HP plan on issing any guidance/drivers or software updates for the upcoming release of Windows 7 for the TX2 series tablets?
-
How to change the image of a selected File/Directory in JFileChooser while
Hi all, I am trying to customize JFileChooser. Basically, I want to display a checked Icon for a selected directory(s) in JFileChooser I know that fileView class returns icon for directory/files, but I am not sure how to change their images on select
-
STILL no ExpressCard support in 3.1
Yep - Unless I have missed something - there is STILL no ExpressCard support in release 3.1. Begs the question - what has been done to it since 3.0?