AssertionError thrown from IIOPInputStream.read_value()
Attached is an example of a stacktrace we are getting when we attempt to communicate
with weblogic from eGate using an RMI call. This error occurs on more than one
transaction, but not every time we run the transaction. We can run a data file
through, and have it work fine, then the run the same file through, and we get
the previous stack trace. I have searched through the online documentation, and
have been unable to find an example of this error being thrown from the 'weblogic.iiop.IIOPInputStream.read_value()
method. Do you have any ideas as to what could be causing this problem?
ejbLoad: (PT)
ejbLoad: (AB12)
BloodTypeInfo found: (A+)
OrgGrpPayRankVInfo found: (ADM, N)
CheckIfGradeIsInList = true
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:47)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1680)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.defaultReadObjectDelegate(IIOPInputStream.java:436)
at com.sun.corba.se.internal.io.InputStreamHook.defaultReadObject(InputStreamHook.java:163)
at java.util.Calendar.readObject(Calendar.java:1667)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1639)
at weblogic.iiop.IIOPInputStream.read_abstract_interface(IIOPInputStream.java:1961)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
at java.util.ArrayList.readObject(ArrayList.java:548)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1881)
at weblogic.iiop.IIOPInputStream.readAny(IIOPInputStream.java:1490)
at weblogic.iiop.UtilDelegateImpl.readAny(UtilDelegateImpl.java:98)
at javax.rmi.CORBA.Util.readAny(Util.java:90)
at com.sun.corba.se.internal.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:586)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:244)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.RMIMsgInput.readObject(RMIMsgInput.java:83)
at mil.gtn21.architecture.backend.im.jrules.ejb20.DqmRuleEngineSessionBean_rzvwi8_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Exception in thread "ExecuteThread: '13' for queue: 'weblogic.kernel.Default'"
weblogic.utils.AssertionError: ***** ASSERTION FAILED *****[ Assertion violated
at weblogic.utils.Debug.assertion(Debug.java:47)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1680)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.defaultReadObjectDelegate(IIOPInputStream.java:436)
at com.sun.corba.se.internal.io.InputStreamHook.defaultReadObject(InputStreamHook.java:163)
at java.util.Calendar.readObject(Calendar.java:1667)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1639)
at weblogic.iiop.IIOPInputStream.read_abstract_interface(IIOPInputStream.java:1961)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
at java.util.ArrayList.readObject(ArrayList.java:548)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1881)
at weblogic.iiop.IIOPInputStream.readAny(IIOPInputStream.java:1490)
at weblogic.iiop.UtilDelegateImpl.readAny(UtilDelegateImpl.java:98)
at javax.rmi.CORBA.Util.readAny(Util.java:90)
at com.sun.corba.se.internal.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:586)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:244)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.RMIMsgInput.readObject(RMIMsgInput.java:83)
at mil.gtn21.architecture.backend.im.jrules.ejb20.DqmRuleEngineSessionBean_rzvwi8_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
Exception in thread "ExecuteThread: '13' for queue: 'weblogic.kernel.Default'"
java.io.IOException: Serializable readObject method failed internally
at com.sun.corba.se.internal.io.IIOPInputStream.throwExceptionType(Native
Method)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:274)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1639)
at weblogic.iiop.IIOPInputStream.read_abstract_interface(IIOPInputStream.java:1961)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectDelegate(IIOPInputStream.java:228)
at com.sun.corba.se.internal.io.IIOPInputStream.readObjectOverride(IIOPInputStream.java:381)
at java.io.ObjectInputStream.readObject(ObjectInputStream.java:318)
at java.util.ArrayList.readObject(ArrayList.java:548)
at com.sun.corba.se.internal.io.IIOPInputStream.readObject(Native Method)
at com.sun.corba.se.internal.io.IIOPInputStream.invokeObjectReader(IIOPInputStream.java:1298)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:908)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1881)
at weblogic.iiop.IIOPInputStream.readAny(IIOPInputStream.java:1490)
at weblogic.iiop.UtilDelegateImpl.readAny(UtilDelegateImpl.java:98)
at javax.rmi.CORBA.Util.readAny(Util.java:90)
at com.sun.corba.se.internal.io.ValueHandlerImpl.read_Array(ValueHandlerImpl.java:586)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:244)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObjectField(IIOPInputStream.java:1577)
at com.sun.corba.se.internal.io.IIOPInputStream.inputClassFields(IIOPInputStream.java:1796)
at com.sun.corba.se.internal.io.IIOPInputStream.inputObject(IIOPInputStream.java:913)
at com.sun.corba.se.internal.io.IIOPInputStream.simpleReadObject(IIOPInputStream.java:261)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValueInternal(ValueHandlerImpl.java:247)
at com.sun.corba.se.internal.io.ValueHandlerImpl.readValue(ValueHandlerImpl.java:209)
at weblogic.iiop.IIOPInputStream.read_value(IIOPInputStream.java:1860)
at weblogic.iiop.RMIMsgInput.readObject(RMIMsgInput.java:83)
at mil.gtn21.architecture.backend.im.jrules.ejb20.DqmRuleEngineSessionBean_rzvwi8_EOImpl_WLSkel.invoke(Unknown
Source)
at weblogic.rmi.internal.BasicServerRef.invoke(BasicServerRef.java:466)
at weblogic.rmi.cluster.ReplicaAwareServerRef.invoke(ReplicaAwareServerRef.java:108)
at weblogic.rmi.internal.BasicServerRef$1.run(BasicServerRef.java:409)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:353)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:144)
at weblogic.rmi.internal.BasicServerRef.handleRequest(BasicServerRef.java:404)
at weblogic.rmi.internal.BasicExecuteRequest.execute(BasicExecuteRequest.java:30)
at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
"Bob Lindflott" <[email protected]> writes:
the previous stack trace. I have searched through the online documentation, and
have been unable to find an example of this error being thrown from the 'weblogic.iiop.IIOPInputStream.read_value()You don't say what version of WLS you are using and I can't find
source that matches the line numbers in your stacktrace. You are
marshaling a Calendar which has been problematic in the past for
various reasons. The bugs that exist have been fixed in 8.1sp2 so I
suggest you try this first if you are not already doing so. There is a
more fundamental problem though that prevents Calendar being marshaled
between different JDK versions, so you should check that also.
andy
Similar Messages
-
How to catch Exception in backingbean which is thrown from the Model layer.
Hi,
JDev Ver: 11.1.1.2.0
In my application there are two layer viewcontroller & model.
In model layer I have created JPA service facade which does the database operation like persist, merge & remove entity.
I am calling this service facade method from backing bean via below standard code.
public static Object invokeMethod(String methodName, String mapKey,
Object object){
BindingContext bcx =
DCUtil.getBindingContext((HttpServletRequest)FacesContext.getCurrentInstance().getExternalContext().getRequest());
JUFormBinding bc1 = (JUFormBinding)bcx.getCurrentBindingsEntry();
FacesCtrlActionBinding reassignOperationBinding =
(FacesCtrlActionBinding)bc1.findControlBinding(methodName);
if (mapKey != null && object != null) {
Map params = reassignOperationBinding.getParamsMap();
params.put(mapKey, object);
Object result = reassignOperationBinding.execute();
return result;
This is a static method which I am calling from backingbean to invoke service facade persist, merge or remove entity method
I have written throws in all the methods signature of service facade.
The exception which is thrown from the service facade are not comming back to backingbean catch block.
Is there any way to catch this exception in backingbean.
regards,
devangHi,
2 things to check
1 - does reassignOperationBinding has errors. You can check on the component
2 - does the exception show on the binding layet. See the Fusion Developer guide for how to define an error handler on the databindings.cpx file
Frank -
NO EXCEPTION IS THROWN FROM THE PERSIST
We are using Glassfish and MySQL. When we do a persist with a bad object/query, internal DB errors are NOT being reported back to the caller in any way, but Glassfish knows that the error occurred. Here is a schematic of the situation:
Glassfish starts a CMP transaction and calls our bean
Inside the bean we have code like this:
obj = (a new object that will cause a DB error when persisted)
try {
entityManager.persist(obj)
} catch (Throwable t) {
report to the user that the throwable happened
bean returns
Glassfish manages CMP transaction
What we see is the following:
- The persist has an internal failure and generates error messages in the Glassfish system.log file.
- NO EXCEPTION IS THROWN FROM THE PERSIST, so the application code thinks that the persist completed correctly
- At the end of the bean operation, Glassfish (correctly) rolls back the transaction.
At the user level the result is that the request succeeds but nothing is put into the Database!
We are not asking about the cause of the DB error. From reading the system log we know what happened and can fix it. Our problem is that problems in our field-deployed systems cannot be detected by the application code so failures cannot be reported to the user.
The critical question is:
Is there a way for the application code in the bean to see that an error occurred?
By the way, we also have a secondary question: Why is the erroneous persist tried 6 times before deciding it won't work? Is there an option somewhere that says to try 6 times?
The Exception as reported in the system log (only one copy of it) is included below.
[#|2008-10-22T08:32:25.992-0400|WARNING|sun-appserver9.1|oracle.toplink.essentials.session.file:/opt/localVendors/glassfish/tems-glassfish-v1/domains/domain1/applications/j2ee-apps/im-app/im-ejb_jar/-local|_ThreadID=138;_ThreadName=p: thread-pool-1; w: 156;_RequestID=509e7043-21bb-410c-b795-19e9953afeec;|
Local Exception Stack:
Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0.1 (Build b04-fcs (04/11/2008))): oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column 'STATIONCODE' cannot be null
Error Code: 1048
Call: INSERT INTO <exact operation and table contents elided from this trace file>
at oracle.toplink.essentials.exceptions.DatabaseException.sqlException(DatabaseException.java:311)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:654)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeNoSelect(DatabaseAccessor.java:703)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.basicExecuteCall(DatabaseAccessor.java:492)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeCall(DatabaseAccessor.java:452)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeCall(AbstractSession.java:690)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:228)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.executeCall(DatasourceCallQueryMechanism.java:214)
at oracle.toplink.essentials.internal.queryframework.DatasourceCallQueryMechanism.insertObject(DatasourceCallQueryMechanism.java:346)
at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:191)
at oracle.toplink.essentials.internal.queryframework.StatementQueryMechanism.insertObject(StatementQueryMechanism.java:205)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWrite(DatabaseQueryMechanism.java:564)
at oracle.toplink.essentials.queryframework.InsertObjectQuery.executeCommit(InsertObjectQuery.java:89)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedWrite(DatabaseQueryMechanism.java:750)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.performUserDefinedInsert(DatabaseQueryMechanism.java:714)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.insertObjectForWriteWithChangeSet(DatabaseQueryMechanism.java:602)
at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeCommitWithChangeSet(WriteObjectQuery.java:162)
at oracle.toplink.essentials.internal.queryframework.DatabaseQueryMechanism.executeWriteWithChangeSet(DatabaseQueryMechanism.java:390)
at oracle.toplink.essentials.queryframework.WriteObjectQuery.executeDatabaseQuery(WriteObjectQuery.java:109)
at oracle.toplink.essentials.queryframework.DatabaseQuery.execute(DatabaseQuery.java:628)
at oracle.toplink.essentials.queryframework.DatabaseQuery.executeInUnitOfWork(DatabaseQuery.java:555)
at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery(ObjectLevelModifyQuery.java:138)
at oracle.toplink.essentials.queryframework.ObjectLevelModifyQuery.executeInUnitOfWork(ObjectLevelModifyQuery.java:110)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.internalExecuteQuery(UnitOfWorkImpl.java:2233)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:952)
at oracle.toplink.essentials.internal.sessions.AbstractSession.executeQuery(AbstractSession.java:909)
at oracle.toplink.essentials.internal.sessions.CommitManager.commitNewObjectsForClassWithChangeSet(CommitManager.java:269)
at oracle.toplink.essentials.internal.sessions.CommitManager.commitAllObjectsWithChangeSet(CommitManager.java:190)
at oracle.toplink.essentials.internal.sessions.AbstractSession.writeAllObjectsWithChangeSet(AbstractSession.java:2657)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabase(UnitOfWorkImpl.java:1044)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.commitToDatabase(RepeatableWriteUnitOfWork.java:403)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.commitToDatabaseWithChangeSet(UnitOfWorkImpl.java:1126)
at oracle.toplink.essentials.internal.sessions.UnitOfWorkImpl.issueSQLbeforeCompletion(UnitOfWorkImpl.java:2443)
at oracle.toplink.essentials.internal.ejb.cmp3.base.RepeatableWriteUnitOfWork.issueSQLbeforeCompletion(RepeatableWriteUnitOfWork.java:202)
at oracle.toplink.essentials.transaction.AbstractSynchronizationListener.beforeCompletion(AbstractSynchronizationListener.java:131)
at oracle.toplink.essentials.transaction.JTASynchronizationListener.beforeCompletion(JTASynchronizationListener.java:91)
at com.sun.jts.jta.SynchronizationImpl.before_completion(SynchronizationImpl.java:99)
at com.sun.jts.CosTransactions.RegisteredSyncs.distributeBefore(RegisteredSyncs.java:158)
at com.sun.jts.CosTransactions.TopCoordinator.beforeCompletion(TopCoordinator.java:2548)
at com.sun.jts.CosTransactions.CoordinatorTerm.commit(CoordinatorTerm.java:278)
at com.sun.jts.CosTransactions.TerminatorImpl.commit(TerminatorImpl.java:249)
at com.sun.jts.CosTransactions.CurrentImpl.commit(CurrentImpl.java:623)
at com.sun.jts.jta.TransactionManagerImpl.commit(TransactionManagerImpl.java:309)
at com.sun.enterprise.distributedtx.J2EETransactionManagerImpl.commit(J2EETransactionManagerImpl.java:1030)
at com.sun.enterprise.distributedtx.J2EETransactionManagerOpt.commit(J2EETransactionManagerOpt.java:397)
at com.sun.ejb.containers.BaseContainer.completeNewTx(BaseContainer.java:3792)
at com.sun.ejb.containers.BaseContainer.postInvokeTx(BaseContainer.java:3571)
at com.sun.ejb.containers.MessageBeanContainer.afterMessageDeliveryInternal(MessageBeanContainer.java:1226)
at com.sun.ejb.containers.MessageBeanContainer.afterMessageDelivery(MessageBeanContainer.java:1197)
at com.sun.ejb.containers.MessageBeanListenerImpl.afterMessageDelivery(MessageBeanListenerImpl.java:79)
at com.sun.enterprise.connectors.inflow.MessageEndpointInvocationHandler.invoke(MessageEndpointInvocationHandler.java:139)
at $Proxy364.afterDelivery(Unknown Source)
at com.sun.messaging.jms.ra.OnMessageRunner.run(OnMessageRunner.java:324)
at com.sun.enterprise.connectors.work.OneWork.doWork(OneWork.java:76)
at com.sun.corba.ee.impl.orbutil.threadpool.ThreadPoolImpl$WorkerThread.run(ThreadPoolImpl.java:555)
Caused by: com.mysql.jdbc.exceptions.MySQLIntegrityConstraintViolationException: Column 'STATIONCODE' cannot be null
at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:931)
at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2985)
at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1631)
at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1723)
at com.mysql.jdbc.Connection.execSQL(Connection.java:3283)
at com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1332)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1604)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1519)
at com.mysql.jdbc.PreparedStatement.executeUpdate(PreparedStatement.java:1504)
at com.mysql.jdbc.jdbc2.optional.PreparedStatementWrapper.executeUpdate(PreparedStatementWrapper.java:840)
at oracle.toplink.essentials.internal.databaseaccess.DatabaseAccessor.executeDirectNoSelect(DatabaseAccessor.java:647)
... 53 more
|#]This is because the persistent context is not synchronized with the database until the commit is being executed.
You might 'force' this by calling entityManager.flush() right after the call to persist(...).
Or you register a transaction synchronizer and check the transaction status on afeterCompletion().
- Roy -
Help Me, How to catch exception thrown from ejbStore
Hi,
I am working on application running on Iplanet Application Server 4.0. Problem is the application exception thrown from the ejbStore don't reach the calling servlet, calling servlet receive TransactionRollback exception which is system exception. But there is no sign of my application exception thrown from ejbStore. Can anybody tell me how I can get my ApplicationException thrown from ejbStore in my calling servlet.
I am calling entity beans set method in servlet and in entity bean ejbStore method I am throwing Application exception.
in entity bean
public void ejbStore() throws MyException
if(true) throw new MyException();
in servlet
try {
MyEntityHome home = .......
MyEntityRemote remote = home.findBy.....
remote.setMyValue(MyValue value); //Transaction required Container managed
}catch(MyException e) {
e.printStackTrace(); // Not cahcing My Exception
}catch(Exception e) {
e.printStackTrace(); //catching TransactionRolledBackException
Thanks
ShaktiHi Ravi
Try this
try
Object retMsgs = output.get(bapiretrunmsgobject);
if(result != null )
IrecordSet rmsg = (IrecordSet) result
catch(Exception ex)
printException(ex, "Error getting function result");
Lemme know for any further questions.
Regards
Praveen -
Catching errors in Web Dynpro for Java when thrown from RFC Raise Exception
Hello Developers,
I'm looking for information that explains how a Web Dynpro for Java application responds and processes errors that are thrown from a Raise Exception event within an RFC.
The Exceptions do not appear to be part of the Model and I can't identify how they get processed.
When rfc HRXSS_CAT_WD_RECORD raises exception PERNR_NOT_LOCKED this exception is passed back to the calling webdynpro CAT DC that displays the exception on the web page along with the log.
I would like to display a friendlier message and without the log. Any information on how to customize the handling of this error would be greatly appreciated.
Thank you,
Terry[see here|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.highlightedcontent?documenturi=%2flibrary%2fuser-interface-technology%2fwdJava%2FHowtoHandleExceptionsEffectivelyWhileWorkingwithWebDynproJava%28WDJ%29.pdf]
-
Exception: java.lang.NoClassDefFoundError thrown from the UncaughtException
Exception in thread "main"
Exception: java.lang.NoClassDefFoundError thrown from the UncaughtExceptionHandler in thread "main"
I dont know why, but after 3 hours of processing I get this error. I encapsulated my main with try/catch but nothing is caught. Nor is there a traceback.
[gat@asus dist]$ java -Xdiag -XshowSettings:vm -Xint -jar jgps.RTI.jar localroads
VM settings:
Max. Heap Size (Estimated): 1.73G
Ergonomics Machine Class: server
Using VM: Java HotSpot(TM) 64-Bit Server VM
[gat@asus dist]$ java -version
java version "1.7.0_06"
Java(TM) SE Runtime Environment (build 1.7.0_06-b24)
Java HotSpot(TM) 64-Bit Server VM (build 23.2-b09, mixed mode)I don't have any idea to offer on what the problem is. However, here are some suggestions:
Perhaps you can provide an example of your code and/or a more through description of what it does so someone might see something wrong with the code.
I assume you print out the entire stack trace using somthing like this, so you can get the entire stack trace:
} catch (Exception e) {
e.printStackTrace();
and not something like this:
System.out.println( e.getMessage());
You can also consider peppering your code with System.out.println() statements (or write to the log file) to get a better understanding of whats going on and where it crashes.
What is jgps.RTI.jar? Is that a jar file you created or a vendor jar file? If its a vendor jar file, you might research their web site on how to use it. -
Exception thrown from the servlet service function (uri=/servlet/auth)
iam getting foll. error when i try logging in to iDA -
[28/Mar/2005:15:39:38] failure (12538): Internal error: exception thrown from the servlet service function (uri=/servlet/auth): java.lang.NullPointerException, Stack: java.lang.NullPointerException
at netscape.nda.servlet.NDAAuth.execute(NDAAuth.java:306)
at netscape.nda.servlet.NDAServlet.doPost(NDAServlet.java:117)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.iplanet.server.http.servlet.NSServletRunner.invokeServletService(NSServletRunner.java:897)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:464)
we're using iplanet messaging server 5.2 with iDA.
we have two webservers one on each nodes where messaging services are running in cluster.
the webmail is running fine.
the webservers are running fine without errors.
i tried shifting mesaging services on to both nodes, but the error persists.
can any one pl. help me ??Hi,
I hope below link will help you.
http://knowledgebase.iplanet.com/ikb/kb/articles/4761.html
Thanks,
Daks. -
Can Any one help me in finding the cause of following error
16:18:27,565 INFO [PipelineManager] DEBUG Cancel Link Transaction
16:18:27,565 INFO [PipelineManager] DEBUG Transaction is TX_MANDATORY
16:18:27,565 INFO [PipelineManager] DEBUG Setting transaction to rollback
16:18:27,565 INFO [PipelineManager] DEBUG Cancel Chain Transaction
16:18:27,565 INFO [PipelineManager] DEBUG Transaction is TX_REQUIRED
16:18:27,565 INFO [PipelineManager] DEBUG Setting transaction to rollback
16:18:27,565 ERROR [OrderManager]
CAUGHT AT:
CONTAINER:atg.service.pipeline.RunProcessException: An exception was thrown from the context of the link named [loadCommerceItemObjects].; SOURCE:java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status: ActionStatus.ABORT_ONLY >; - nested throwable: (ja
at atg.service.pipeline.PipelineChain.runProcess(PipelineChain.java:393)
at atg.service.pipeline.PipelineChainContext.runProcess(PipelineChainContext.java:207)
at atg.service.pipeline.PipelineManager.runProcess(PipelineManager.java:475)
at atg.commerce.pipeline.CommercePipelineManager.runProcess(CommercePipelineManager.java:123)
at atg.commerce.order.OrderImpl.ensureContainers(OrderImpl.java:1745)
at atg.commerce.order.OrderImpl.getShippingGroups(OrderImpl.java:1084)
at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.processShippingGroups(EpicorSalesAuditDataManager.java:477)
at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.constructSalesAuditFeed(EpicorSalesAuditDataManager.java:431)
at com.mk.integration.epicor.salesAudit.datamanager.EpicorSalesAuditDataManager.exportFullfilledOrder(EpicorSalesAuditDataManager.java:213)
at com.mk.integration.epicor.salesAudit.processor.EpicorSalesAuditProcessor.exportFullfilledOrder(EpicorSalesAuditProcessor.java:42)
at com.mk.integration.epicor.salesAudit.scheduler.EpicorSalesAuditScheduler.startSalesAuditExport(EpicorSalesAuditScheduler.java:65)
at com.mk.integration.epicor.salesAudit.scheduler.EpicorSalesAuditScheduler.doScheduledTask(EpicorSalesAuditScheduler.java:49)
at atg.service.scheduler.SingletonSchedulableService.performScheduledTask(SingletonSchedulableService.java:253)
at atg.service.scheduler.ScheduledJob.runJobs(ScheduledJob.java:466)
at atg.service.scheduler.Scheduler$2handler.run(Scheduler.java:782)
Caused by: java.lang.RuntimeException: CONTAINER:atg.repository.RepositoryException; SOURCE:org.jboss.util.NestedSQLException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status: ActionStatus.ABORT_ONLY >; - nested throwable: (javax.resource.ResourceException: Transaction is not active: tx=TransactionImple < ac, BasicAction: -53eaeff2:f142:52c29876:2a4f status:
at atg.adapter.gsa.GSAItemDescriptor.loadProperty(GSAItemDescriptor.java:5994)
at atg.adapter.gsa.GSAItem.getPersistentPropertyValue(GSAItem.java:1315)
at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1208)
at atg.adapter.gsa.GSAItem.getPropertyValue(GSAItem.java:1405)
at atg.repository.RepositoryItemImpl.getPropertyValue(RepositoryItemImpl.java:151)Hi,
I seems like you don't have any active transaction. Try start or get transaction before execute your required operations.
After it, commit (or rollback, if something wrong happens) the transaction.
Hope it helps. -
This exception is never thrown from the try statement body
try {
SimpleFileReader.openFileForReading("fileName.text");
} catch (FileNotFoundException fnfe) {
System.out.println("");
}This is part of a method, if that helps. In Eclipse I get the error message "Unreachable catch block for FileNotFoundException. This exception is never thrown from the try statement body." I saw another post similar to this one, but it's not quite clear what the solution is. Could anyone clarify for a beginner?
ThanksIt actually does if the file it's opening is not really a text file, or if it's read-protected. Or is that where I'm going wrong? I'm just trying to open the file's name(already in the field) and know that it is .text or will return the error.
Edited by: meme_kun_345k on Jan 15, 2008 7:18 PM -
Exception thrown from action: createLink
Hi,
I am trying to install Application server on Red Hat Enterprise Linux 4.
I got the folowing error
Starting install Install Phase 2 of component Oracle Client Required Support Files
Calling Action unixActions10.1.0.4.0 createLink
source = /u01/app/oracle/product/10.1.3.1/OracleAS_1/lib/libclntsh.so.10.1
destination = /u01/app/oracle/product/10.1.3.1/OracleAS_1/lib/libclntsh.so
overwriteExistingLink = true
Exception thrown from action: createLink
Exception Name: FileNotFoundException
Exception String: File not found: %fileName%
Kinldy let me know how to proceed.
Regards,
AnuThis is a documented bug : 5029782.
Take a look at this metalink note:
Install of Oracle Database 10g Companion Products Fails With : File Not Found: %Filename%
Doc ID: Note:566889.1
~ Madrid
http://hrivera99.blogspot.com -
Exception thrown from servlet function
Hi,
I have a servlet "main.java" which connects to a database and displays a table. The table contains a check box in front of each table row. It has three buttons at the bottom "add" modify" "delete". When the user clicks on some check boxes and clicks on "delete" button how can i know in the script delete.java that these are the check boxes that have been checked or selected. I tried to do in the following way
String[] checkedBoxes = new String[100];
checkedBoxes = req.getParameterValues("sel");where sel is the name of the checkboxes
but I am getting the following error:
[21/Aug/2001:10:36:54] failure ( 1118): Internal error: exception thrown from the servlet service function (uri=/servlet/delete.class):java.lang.NullPointerException, Stack: java.lang.NullPointerException
Any help would be appreciated.
ThanksDoes 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: 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. -
Internal error: exception thrown from the servlet service function
when i invoke the servlet in unix iplanet server i got the error
Kindly let me get the solution .i am in 11th hour.
[06/Jan/2006:09:30:28] info (10646): Internal Info: loading servlet
/servlet/Ipl
XmlServlet
[06/Jan/2006:09:30:28] info (10646): /servlet/IplXmlServlet: init
[06/Jan/2006:09:30:28] failure (10646): Internal error: exception thrown
from the servlet service function (uri=/servlet/IplXmlServlet/):
java.lang.NullPointerException, stack: java.lang.NullPointerException
at IplXmlReqHandler.generateRsp(IplXmlReqHandler.java:452)
at IplXmlReqHandler.processRequest(IplXmlReqHandler.java:168)
at IplXmlServlet.processRequest(IplXmlServlet.java:219)
at IplXmlServlet.doGet(IplXmlServlet.java:184)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at
com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRun
ner.java:513)
Thanking you
brindasanthyou are in the wrong forum for this kind of question/product,
goto:
http://swforum.sun.com/jive/forum.jspa?forumID=16
(in case you don't like "goto" - look at it like a "forward" :-) )
additionally don't forget to mention
- OS version
- WebServer version + SP
- .. the more the better
rgds.
/u -
I am getting the follow error in my webserver error log very offen. I am running iPlanet Delegated Administrator 4.5 and iPlanet WebServer 4.1 SP5. Sometimes I have to stop and start the web server because users can no longer authenticate to Delegated Admin. Does anyone know what this means.
Internal error: exception thrown from the servlet service function (uri=/servlet/auth): javax.servlet.ServletException, Stack: javax.servlet.ServletException
at netscape.nda.servlet.NDAAuth.execute(NDAAuth.java, Compiled Code)
at netscape.nda.servlet.NDAServlet.doPost(NDAServlet.java, Compiled Code)
at netscape.nda.servlet.NDAServlet.doGet(NDAServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at javax.servlet.http.HttpServlet.service(HttpServlet.java, Compiled Code)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java, Compiled Code)"Hi,
I hope below link will help you.
http://knowledgebase.iplanet.com/ikb/kb/articles/4761.html
Thanks,
Daks. -
I have done an install of iPlanet Portal Server on a Solaris 8 machine and when I try to access the main Page I get:
[26/Apr/2002:16:15:27] failure (21872): Internal error: exception thrown from the servlet service function
(uri=/login): java.lang.NullPointerException, stack: java.lang.NullPointerException
at com.iplanet.portalserver.auth.service.AuthD.isClientDetectionEnabled(AuthD.java:520)
at com.iplanet.portalserver.auth.service.AuthD.getClientType(AuthD.java:532)
at com.iplanet.portalserver.auth.service.AuthRequest.<init>(AuthRequest.java:102)
at com.iplanet.portalserver.auth.service.AuthRequest.getAuthRequest(AuthRequest.java:177)
at com.iplanet.portalserver.auth.service.LoginServlet.doGetPost(Compiled Code)
at com.iplanet.portalserver.auth.service.LoginServlet.doGet(LoginServlet.java:990)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:701)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:507)
, root cause:
Suggestions? I have sucessfully installed IPS before, but I cannot figure out the cause of this error.
MikeLooks like a patch conflict ..
Check /var/sadm/patch and see
if this patch 108875-07 is present, if you have a later patch than that then you might run into the above problem ..
Maybe you are looking for
-
i HAVE AN ONLINE i CLOUD ACCOUNT. WHEN i SIGN IN TO IT ON MY PC i CAN SEE CHANGES I MAKE UNDER NOTES BUT THERE IS NO SIGN OF ANY OF THE PHOTOS OR MUSIC THERE WHICH ARE IN MY I PAD. i HAVE PAID TO ENLARGE THE DATA CAPACITY SAVED THERE ONE STEP ABOVE
-
How to change the background of the StackPanel control when any child element has focus?
Hello folks! I need to change the background of the StackPanel control when any element within the StackPanel has focus. I am executing the code snippet below. The code works fine with elements within the Grid control named "main". It doesn't work wh
-
I am installing the OEHR Sample Objects application. I am getting the following error message after specifying "Supporting Objects". I select "YES" and click Next Here is the error message: ORA-04023: Object APEX_030200.WWV_FLOW_INSTALL_WIZARD could
-
I have the following subscription: Creative Cloud Student and Teacher Edition (one-year) Can anyone provide a link describing this subscription. I tried to cancel it last year and simply resubscribe when I needed the products, but the help line told
-
Group By .. Order Results in Oracle 8i
Oracle 9i (9.2) makes statement that 'Group by does not guarantee order of results .. use Order by to sort results'. Does this mean that under prior releases, esp. 8.1.7, that 'Group by' provides the proper Sort order of the results? Or is 9.2 docume