Exception CX_SY_NO_HANDLER error
Hi Experts,
I have created transformation routine to create average price in the Cube for datasource 0CO_OM_CCA_8. Below is an extract of the code. when i run test, i have error "Exception CX_SY_NO_HANDLER was caught".
Does anybody see anything wrong in this piece of code. Please let me know soon.
DATA: ZZPRC TYPE /BIC/AZCCA_DS500-PRICECOM,
ZZVAL TYPE I VALUE 12.
DATA: ITAB TYPE STANDARD TABLE OF /BIC/AZCCA_DS500 WITH HEADER LINE.
REFRESH ITAB.
SELECT PRICECOM COSTCENTER ACTTYPE FROM /BIC/AZCCA_DS500
INTO TABLE ITAB
Where COSTCENTER = SOURCE_FIELDS-COSTCENTER
and ACTTYPE = SOURCE_FIELDS-ACTTYPE
and FISCYEAR = SOURCE_FIELDS-FISCYEAR
and VERSION = SOURCE_FIELDS-VERSION.
LOOP AT ITAB TRANSPORTING NO FIELDS
WHERE PRICECOM NE 0.
ZZPRC = ZZPRC + ITAB-PRICECOM.
ENDLOOP.
ZZPRC = ZZPRC / ZZVAL. "average
RESULT = ZZPRC.
thanks. GRai
I am also getting an error like this.
"The exception 'CX_SY_NO_HANDLER' was raised, but it was not caught anywhere
along the call hierarchy."
What does "This is not a relevant problem" mean?
It only happens when i load data from standard data sources (2LIS_11_VAITM etc) into DSOs or InfoCubes.
Similar Messages
-
CX_SY_NO_HANDLER Error While executing query in RSRT T-Code
Hi Experts,
I have created a data source extraction using function module.
Then i have created customer exit variable, dso, infocube and all....
my variable name is ZWBS_VAR and
query name is WBS_VAR.
while executing this query name I'm getting the exception CX_SY_NO_HANDLER.
If i use WBS_VAR instead of ZWBS_VAR in when condition.. it is not showing that error.
this is my code i have written in ZXRSRU01 include.
DATA:it_wbs_elemt TYPE STANDARD TABLE OF /bic/awbsdsogn00,
wa_wbs_elemt like line of it_wbs_elemt,
L_S_RANGE TYPE RSR_T_RANGESID with header line,
LOC_VAR_RANGE like line of i_T_VAR_RANGE,
ZLOW TYPE C,
LV_USER LIKE SY-UNAME,
lv_user1 LIKE /bic/awbsdsogn00-/BIC/WBSE.
CASE i_vnam.
*****************************Start of Code for 'ZWBS_VAR' variable******************************
when 'ZWBS_VAR'.
lv_user = sy-uname.
if lv_user CP '/BIC/WBSE'.
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lv_user
IMPORTING
output = lv_user1.
CLEAR wa_wbs_elemt.
SELECT * FROM /bic/awbsdsogn00 INTO TABLE it_wbs_elemt WHERE /BIC/WBSE = lv_user1.
READ TABLE it_wbs_elemt INTO wa_wbs_elemt WITH KEY /BIC/WBSE = lv_user1.
IF sy-subrc = 0.
l_s_range-low = wa_wbs_elemt-/BIC/WBSE.
l_s_range-sign = ' I '.
l_s_range-opt = ' EQ'.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDIF.
ENDCASE.
IF I_STEP = 3.
LOOP at i_t_var_range INTO loc_var_range WHERE vnam = 'ZWBS_VAR'.
CLEAR : l_s_range.
zlow = loc_var_range-low.
lv_user = sy-uname.
CALL FUNCTION 'CONVERSIOn_EXIT_ALPHA_OUTPUT'
EXPORTING
input = loc_var_range-low
IMPORTING
output = loc_var_range-low.
IF lv_user NE loc_var_range-low.
IF lv_user CP '/BIC/WBSE'.
CALL FUNCTION 'RRMS_MESSAGE_HANDLING'
EXPORTING
I_CLASS = 'RSBBS'
I_TYPE = 'E'
I_NUMBER = '000'
I_MSGV1 = 'You are not authorized for the WBS ELEMENT'
I_MSGV2 = loc_var_range-low
I_MSGV3 = 'Enetr your valid WBS ELEMENT'
I_MSGV4 = lv_user
EXCEPTIONS
OTHERS = 02.
RAISE Again.
ELSE.
l_s_range-low = loc_var_range-low.
l_s_range-sign = loc_var_range-sign.
l_s_range-opt = loc_var_range-opt.
APPEND l_s_range TO e_t_range.
ENDIF.
ENDIf.
ENDLOOP.
ENDIF.
If you find any errors in this piece of code please let me know..
Thanks&Regads,
Sirisha.Hey think other way round .
Filtering the report with the partner(current user executing the report) will suffice your requirement .
Am I correct ?
If yes then follow this simple approach .
Create a variable(mandatory, not ready for input ) of type customer exit on partner infoobject and filter your report with this variable .
In this way the current user executing the report can see data only related to him .
Type the below code in cmod .
WHEN '(give your variable name).
DATA :lv_bp TYPE /bi0/oibpartner,
CHECK i_step EQ '1'.
lv_bp = sy-uname.
IF lv_bp IS NOT INITIAL.
lv_bp = ( sy-uname ) .
CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
EXPORTING
input = lv_bp
IMPORTING
output = lv_bp.
l_s_range-sign = 'I'.
l_s_range-opt = 'EQ'.
l_s_range-low = lv_bp .
APPEND l_s_range TO e_t_range.
CLEAR : l_s_range,lv_bp.
ENDIF.
If this approach is not flexible in ur case then let me know will change the code what u have written as I can see many errors in that .
Also I can figure it out that the whole code is ctrl c ctrl v of that sdn document but his requirement was quite different than yours . -
Exception CX_SY_NO_HANDLER
HI,
The following error is displayed when i call the FM BBP_OM_STRUC_GET_USER_FROM_ORG in the work flow badi.
The following is the popup displayed:
Exception CX_SY_NO_HANDLER triggered
An exception with the type CX_SY_DYN_CALL_ILLEGAL_TYPE occurr
CX_SY_NO_HANDLER
Interfaces
IF_MESSAGE
IF_SERIALIZABLE_OBJECT
Attributes
CX_ROOT 16AA9A3937A9BB56E10000000A11447B
TEXTID 1F09B73915F6B645E10000000A11447B
PREVIOUS
KERNEL_ERRID UNCAUGHT_EXCEPTION
CX_SY_NO_HANDLER 1F09B73915F6B645E10000000A11447B
CLASSNAME CX_SY_DYN_CALL_ILLEGAL_TYPE
Methods
GET_SOURCE_POSITIONI am also getting an error like this.
"The exception 'CX_SY_NO_HANDLER' was raised, but it was not caught anywhere
along the call hierarchy."
What does "This is not a relevant problem" mean?
It only happens when i load data from standard data sources (2LIS_11_VAITM etc) into DSOs or InfoCubes. -
Where can I find information about exceptions and errors?
I'm new to Java and sometimes run into errors that I don't understand. Is there a list of common errors somewhere that I could look at to at least get a general idea of what's causing my problem?
for instance:
I'm writing a little program where the user inputs a number and depending on their input a message is displayed. I'm using java.awt.*, java.awt.event.*, & javax.swing.* for my events, buttons, and other goodies. My program compiles & I can execute my main but when I click on the button that grabs the input I get the following errors.
java.lang.NullPointerException
at Horoscope$ButtonHandler.actionPerformed(Horoscope.java:44)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1786)
at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1839)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:245)
at java.awt.Component.processMouseEvent(Component.java:5100)
at java.awt.Component.processEvent(Component.java:4897)
at java.awt.Container.processEvent(Container.java:1569)
at java.awt.Component.dispatchEventImpl(Component.java:3615)
at java.awt.Container.dispatchEventImpl(Container.java:1627)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:3483)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3198)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3128)
at java.awt.Container.dispatchEventImpl(Container.java:1613)
at java.awt.Window.dispatchEventImpl(Window.java:1606)
at java.awt.Component.dispatchEvent(Component.java:3477)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:456)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:151)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:145)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:137)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
I'm not asking for anyone to solve this for me. It's critical that I learn how to troubleshoot and figure out a solution. I was just wondering if there was a site or link on the web that generally discusses what these (and other) errors mean. Or if anybody could tell me what they mean?The Java API documentation is the first place to look. Each exception or error is a class. For instance, information on java.lang.NullPointerException is in the API for the java.lang package, toward the bottom.
For more than that, just search the internet for the name of the exception/error. -
Hello consultant:
We are trying configurated SSO usind SPNEGO module
We have a portal 7.0 ehp1 and Active Directory Microsoft versión 2003 native
we have followed the steps described in note Sap 1457499"Note 1457499 - SPNego add-on"
When we have logged with user Active Directory and we try access to portal we obtain following error:
Authorization check user error
We have Deploy the Web diagtool from SAP Note 1045019 on the J2EE server, run it and perform the
following steps:
1. Select "Component" = "security" and "Activity" = "all"
2. Click the "Go" button, followed by the "Add All" button
3. Select "Component" = "All" and in the "Search pattern" field write "com.sap.security.spnego"
4. Click the "Go" button, followed by the "Add All" button
5. Start the tool
Then we have reproduce the problem and stop the tool. The generated zip file will contain following error:
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~p.security.spnego.krb5.crypto.DesCrypto Checksum error! checksum: 0xc46bfed8d0dbc54221ee75405c8cd5ac; calculated checksum: 0x6ead7e801608b729a6957597327f2ba5
15:45:20:078 Error J2EE_GST_PRD SAPEngine_Application_Thread[impl:3]_15 ~m.sap.security.spnego.SPNEGOLoginModule Could not validate SPNEGO token.
java.lang.Exception: Checksum error.
at com.sap.security.spnego.krb5.crypto.DesCrypto.decrypt(DesCrypto.java:43)
at com.sap.security.spnego.krb5.KrbEncryptedData.decrypt(KrbEncryptedData.java:81)
at com.sap.security.spnego.krb5.KrbApReq.decrypt(KrbApReq.java:67)
at com.sap.security.spnego.SPNEGOLoginModule.parseAndValidateSPNEGOToken(SPNEGOLoginModule.java:234)
at com.sap.security.spnego.SPNEGOLoginModule.processAuthorizationHeader(SPNEGOLoginModule.java:385)
at com.sap.security.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:102)
at com.sap.engine.services.security.login.LoginModuleLoggingWrapperImpl.login(LoginModuleLoggingWrapperImpl.java:185)
at com.sap.engine.services.security.login.ModulesProcessAction.run(ModulesProcessAction.java:70)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sap.engine.services.security.login.FastLoginContext.login(FastLoginContext.java:181)
at com.sap.engine.system.SystemLoginModule.login(SystemLoginModule.java:90)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:88)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:61)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:60)
at java.lang.reflect.Method.invoke(Method.java:391)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:699)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:151)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:634)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at javax.security.auth.login.LoginContext.invokeModule(LoginContext.java:631)
at javax.security.auth.login.LoginContext.login(LoginContext.java:557)
at com.sap.security.core.logon.imp.SAPJ2EEAuthenticator.logon(SAPJ2EEAuthenticator.java:912)
at com.sapportals.portal.prt.service.authenticationservice.AuthenticationService.login(AuthenticationService.java:367)
at com.sapportals.portal.prt.connection.UMHandler.handleUM(UMHandler.java:126)
at com.sapportals.portal.prt.connection.ServletConnection.handleRequest(ServletConnection.java:181)
at com.sapportals.portal.prt.dispatcher.Dispatcher$doService.run(Dispatcher.java:541)
at java.security.AccessController.doPrivileged(AccessController.java:246)
at com.sapportals.portal.prt.dispatcher.Dispatcher.service(Dispatcher.java:430)
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.runtime.RequestDispatcherImpl.doWork(RequestDispatcherImpl.java:321)
at com.sap.engine.services.servlets_jsp.server.runtime.RequestDispatcherImpl.forward(RequestDispatcherImpl.java:377)
at com.sap.portal.navigation.Gateway.service(Gateway.java:126)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:401)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:266)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:386)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:364)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:1039)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:265)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:95)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:175)
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(AccessController.java:219)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
Could you help us?
Many thanks for your collaboration<< Do not post the same question across a number of forums >>
-
I have been trying to install a piece of software on 2 Windows 7 PCS called Rightfax...during installing I get the error below;
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
It then gives me an error log of ;
2015-04-23 14:43:03Z: Error: Unexpected problem occurred in task worker
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
2015-04-23 14:43:03Z: Error: Problem in sequence or one of its pages
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
at CommonInstall.PreparationWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
2015-04-23 14:43:03Z: Error: Problem in sequence or one of its pages
System.Exception: An error occurred during the Microsoft VSTO Tools 4.0 install (exit code was -2146762485).
at CommonInstall.Tasks.InstallTask.LaunchInstall(String friendlyName, String exe, String args, Int32[] exitCodesToIgnore)
at CommonInstall.Tasks.InstallVSTO.OnRun(ITaskFeedback feedback)
at TaskWizard.Task.Run(ITaskFeedback feedback, Boolean recurse)
at TaskWizard.TaskWorker.RunTasks()
at TaskWizard.TaskWorker.OnDoWork(DoWorkEventArgs e)
at CommonInstall.PreparationWorker.OnDoWork(DoWorkEventArgs e)
at System.ComponentModel.BackgroundWorker.WorkerThreadStart(Object argument)
2015-04-23 14:43:03Z: Info: Page changed from 'WizardWorkerPage' to 'ResultPage' driven by result 'Next' and exception 'none'
2015-04-23 14:44:06Z: Info: Page changed from 'ResultPage' to 'none' driven by result 'Next' and exception 'none'
2015-04-23 14:44:06Z: Info: Work has not been completed; install state will not be saved.
2015-04-23 14:44:06Z: Info: Reboot status = NotRequired
2015-04-23 14:44:06Z: Info: Exitcode = 0
2015-04-23 14:44:06Z: Info: Logging ended.
I have installed this software succesfully on other machines previously.....Hi RyanWelsh78,
This forum is discussing about Visual Stuido Tools for Office developing, your issue is related with the installing Rightfax add-in which is a third party product. As the reply from Eugene, you could contact Rightfax add-in developers for help.
Thanks for your understanding.
Best Regards,
Edward
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. -
Control exceptions or errors in procedure
Hy , I have a proceducre like this:
CREATE OR REPLACE PROCEDURE "MY_PROCEDURE"( )
AS
BEGIN
INSERT INTO tableBackupTable1 SELECT table1.* FROM table1;
INSERT INTO tableBackupTable2 SELECT table1.* FROM table2;
*/*Disable FK*/*
for i in (select constraint_name, table_name from user_constraints where constraint_type ='R' and status = 'ENABLED')
LOOP
execute immediate 'alter table '||i.table_name||' disable constraint '||i.constraint_name||'';
end loop;
delete * from table1;
delete * from table2;
*/*Enable FK*/*
for i in (select constraint_name, table_name from user_constraints where constraint_type ='R' and status = 'ENABLED')
LOOP
execute immediate 'alter table '||i.table_name||' enable constraint '||i.constraint_name||'';
end loop;
END;
1. If I want to control the errors or exceptions for this procedure from my java code where Im calling this procedure from:
I dont have to declare a block "EXCEPTION......" in the procedure, right?
2. If I want to rollback if an error or exception happens, should I do something in the procedure or in my java code?
3. If I dont want to return anything in my procedure, should I use a sys_refcursor like out parameter?
4. Should I use commit, where?
5. Should I surround the loops for enable or disable fk with begin and end because If I dont surround it and an error ocurrs while enablling FK or disabling them ?
6. All my accesses to the database from my java code are transactional, so if I call this procedure from my java code and this call is transactional and the procedure is itself transactional, is there a problem with this?
Thanks
Edited by: user13162080 on 29-dic-2010 6:40
Edited by: user13162080 on 29-dic-2010 6:46
Edited by: user13162080 on 29-dic-2010 6:56Hi,
I dont want to handle it in the procedure itself because I am controlling all exceptions or errors in the database from java to make rollback or whatever
Can you help me in the others questions? In my opinion this is not the right way to handle database exception. Database exception should be handled in database itself not in java. Oracle will rollback the transaction autometically if any statement fails(exception) and you will not have to put extra efforts(java code) to control the exception. If you wish you can explain your business requirement we may suggest something easier/better.
2. If I want to rollback if an error or exception happens, should I do something in the procedure or in my java code?It should be driven by your business requirement.
3. If I dont want to return anything in my procedure, should I use a sys_refcursor like out parameter?It depends what kind of value you want to return. For a single value sys_refcursor is not the right tool. Refer this link http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/static.htm#i7106
4. Should I use commit, where?
It should also driven by your business need. COMMIT will make the changes permanent into the database so whenever you want to commit you can. All the DDLs (CREATE, DROP table etc) are having implicit (auto) COMMIT.
5. Should I surround the loops for enable or disable fk with begin and end because If I dont surround it and an error ocurrs while enablling FK or disabling them ?
I would suggest to have a look on http://download.oracle.com/docs/cd/E11882_01/appdev.112/e17126/toc.htm
6. All my accesses to the database from my java code are transactional, so if I call this procedure from my java code and this call is transactional and the procedure is itself transactional, is there a problem with this?
What do you mean by transactional? do you mean for each row?
Thanks and Regards,
Avinash
Edited by: Avinash Tripathi on Dec 29, 2010 7:04 PM -
SEVERE: An exception or error occurred in the container during the request
hi
I am using tomcat 4.0 as for my serlvets. I get below exception when processing a request. Please let me know under what conditions do we get such exception
Aug 31, 2005 12:20:28 PM org.apache.coyote.tomcat5.CoyoteAdapter service
SEVERE: An exception or error occurred in the container during the request processing
java.lang.NullPointerExceptionnull at java.io.Writer.write(Writer.java:126)null at java.io.PrintWriter.newLine(PrintWriter.java:254)null at java.io.PrintWriter.println(PrintWriter.java:405)null at java.io.PrintWriter.println(PrintWriter.java:516)null at org.apache.catalina.logger.LoggerBase.log(LoggerBase.java:266)null at org.apache.catalina.core.StandardWrapperValve.log(StandardWrapperValve.java:376)null at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)null at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)null at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)null at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)null at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)null at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)null at org.apache.jk.server.JkCoyoteHandler.invoke(JkCoyoteHandler.java:300)null at org.apache.jk.common.HandlerRequest.invoke(HandlerRequest.java:374)null at org.apache.jk.common.ChannelSocket.invoke(ChannelSocket.java:743)null at org.apache.jk.common.ChannelSocket.processConnection(ChannelSocket.java:675)null at org.apache.jk.common.SocketConnection.runIt(ChannelSocket.java:866)null at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)null at java.lang.Thread.run(Thread.java:534)null
Thanks
RajeshSrikanth,
Problem is that the exception is not form any PrintWriter object i had instantiated in my servlet code. Infact, the exception comes from a class of tomcat when it is trying to log some information. The basic thing is I am contacting a Geographical positioning server from servlet. The contact is fine and I get requested information back from server. But, once the control comes back to server, I get that exception. If I dont contact the geo server, I dont get any exception.
Thanks for your immediate reply.
Rajesh -
Hi,
I have created a web service in SAP ECC from a RFC.
While configuring the web service in SOA management to publish it, getting error SRT Framework exception: ICF: Error when creating service node. [rc:wrong_icf_name] No special characters allowed in name
How to resolve the same.
Thanks
TanmayHello Tanmay,
Are you including quotes (') in the name, I assume not?
Regards,
Siddhesh -
Native exception: IDispatch error #17460
Hi all!
Have you ever seen error message like this?
The request is not yet finished. The request was waiting for a reply from the host.] (612,PTDispatch.cpp)]
com.plumtree.server.marshalers.PTException: Native exception: IDispatch error #17460 (0x80044634): [Exception thrown at HttpGadgetProviderObject.cpp(1601): The Portal Server timed out while waiting for a reply from the host for this gadget. If this problem persists, please alert a system administrator.[/pre][pre]
The request is not yet finished. The request was waiting for a reply from the host.] (612,PTDispatch.cpp)
at com.plumtree.server.marshalers.PTDispatch.invokeRetObject(Native Method)
at com.plumtree.server.CIPTGadgetGateway.GetContent(CIPTGadgetGateway.java:65)
at com.plumtree.portalpages.browsing.gateway.GatewayControl.CheckActionSecurityAndExecute(GatewayControl.java:291)I get it, when I use setSettingValue(__) method of IPortletContext object, and there are too long setting values. (I think so.)
But I have no idea for the real reason :o/
Do you have?
But more important is: How can I solve this problem?
Cheers;
TociI'm crawling SQLDatabase. Actually, in that DB, there are indexed text which is already indexed from the other backend system.
The getDocument method is returning the url that a text is located in the other backend system.
I'm not using DocFetch, but now I think I have to use that.
Thank you for your helping
-Young-Jin -
SLD server exception: IO error: Read timed out
Hi,
I have deployed the components for NWDI and after that when i am creating the Domain,I am doing update CMS data for creating a Track. I am getting the following error:
SLD server exception: IO error: Read timed out
Can any one help on this.
Thanks
Ravi.SHi,
My SLD is a PI 7.0 system and my NWDI is configured on a standalone Java system.
I have done the SLDDataSupplier check, and it connects fine to the SLD.
Also on my http://<hostname>:<port>/devinf/main in the NWDI system, the SLD link points to the right SLD and im able to connect.
Still at the CMS update stage it gives the error -
SLD (URL http://<hostname>:<port>/) server exception: IO error: Read timed out -
Hi All.
I hope someone can help.
I have recently installed Oracle XE on my Vista Ultimate laptop and it is up and running with no apparent problems. I then connected to the HR schema on XE with no problems using SQL Developer 1.2.1.3213 (OLD Version). I noticed that SQL Developer 1.5.4.59.40 (NEW version) was available and downloaded it (the offering without JDK included) and renamed the "C:\Program Files\SQLDeveloper" folder holding the older version to "C:\Program Files\SQLDeveloper_Orig" and placed the new version of SQL Developer in the Prog Files directory to give "C:\Program Files\SQLDeveloper".
I then ran SQLDeveloper.exe (NEW) and when requested gave the JDK path as "C:\Program Files\Java\JDK_1.6.0_11\bin\java.exe" ('Java -version' gives 1.6.0_11-b03) and migrated over the settings from the previous version of SQLDeveloper (OLD).
The Application loads fine but when i attempt to connect to XE's HR schema i get the following error:
"IO Exception: Undefined Error
VENDOR CODE 17002"
I have searched to try and find out what is going on but cannot find any solutions that work. The previous 17002 error solutions on this forumn have all failed.
These included changing the JDK.conf file to hold route to JDK directory and also creating a 'bat' file.
My system does not have the directory for the JDK in it's PATH environment setting (either USER or SYSTEM) but does include a directory path under SYSTEM environment vars to another version fo JDK on my machine under "C:\Program Files\Sun\JDK\". I thought this may be causing a conflict but it is version 1.6.0.05_b13 and is also compatible-is it not? I also have Java JRE6 (1.6.0_12-b04) on my machine - this does not have a PATH variable and was not referenced when loading SQL Developer when loading the first time.
Can anyone help me resolve this, why can the previous version still connect OK to XE and not new version? is there something i am missing? Do i require the Java JDK Directory to be placed under a PATH environment SYSTEM variable?
Thanks in advance,
M
Edited by: user592047 on 16-Mar-2009 10:08Taken from about SQL Developer:
Version:
CVS Version Internal to Oracle SQL Developer (client-only)
Java(TM) Platform 1.6.0_11
Oracle IDE 1.5.4.59.40
Versioning Support 1.5.4.59.40
Properties:
apple.laf.useScreenMenuBar true
awt.toolkit sun.awt.windows.WToolkit
class.load.environment oracle.ide.boot.IdeClassLoadEnvironment
class.load.log.level CONFIG
class.transfer delegate
com.apple.macos.smallTabs true
com.apple.mrj.application.apple.menu.about.name "SQL_Developer"
com.apple.mrj.application.growbox.intrudes false
file.encoding Cp1252
file.encoding.pkg sun.io
file.separator \
http.agent Mozilla/5.0 (Java 1.6.0_11; Windows Vista 6.0 x86; en_GB) ICEbrowser/v6_1_3
ice.browser.forcegc false
ice.pilots.html4.ignoreNonGenericFonts true
ice.pilots.html4.tileOptThreshold 0
ide.AssertTracingDisabled true
ide.bootstrap.start 10390897243225
ide.build MAIN-5940
ide.conf C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.config_pathname C:\Program Files\sqldeveloper_new\sqldeveloper\bin\sqldeveloper.conf
ide.debugbuild false
ide.devbuild false
ide.extension.search.path sqldeveloper/extensions:jdev/extensions:ide/extensions
ide.firstrun false
ide.java.minversion 1.5.0
ide.launcherProcessId 2672
ide.main.class oracle.ide.boot.IdeLauncher
ide.patches.dir ide/lib/patches
ide.pref.dir C:\Users\M\AppData\Roaming\SQL Developer
ide.pref.dir.base C:\Users\M\AppData\Roaming
ide.product oracle.sqldeveloper
ide.shell.enableFileTypeAssociation C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.splash.screen splash.gif
ide.startingArg0 C:\Program Files\sqldeveloper_new\sqldeveloper.exe
ide.startingcwd C:\Program Files\sqldeveloper_new
ide.user.dir C:\Users\M\AppData\Roaming\SQL Developer
ide.user.dir.var IDE_USER_DIR
ide.work.dir C:\Users\M\Documents\SQL Developer
ide.work.dir.base C:\Users\M\Documents
java.awt.graphicsenv sun.awt.Win32GraphicsEnvironment
java.awt.printerjob sun.awt.windows.WPrinterJob
java.class.path ..\..\ide\lib\ide-boot.jar
java.class.version 50.0
java.endorsed.dirs C:\Program Files\Java\jdk1.6.0_11\jre\lib\endorsed
java.ext.dirs C:\Program Files\Java\jdk1.6.0_11\jre\lib\ext;C:\Windows\Sun\Java\lib\ext
java.home C:\Program Files\Java\jdk1.6.0_11\jre
java.io.tmpdir C:\Users\M\AppData\Local\Temp\
java.library.path C:\Program Files\sqldeveloper_new;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\oracle\xe\app\oracle\product\10.2.0\server\bin;C:\Program Files\CodeGear\RAD Studio\5.0\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\DLLShared\;C:\Program Files\Common Files\Roxio Shared\9.0\DLLShared\;c:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Common Files\Teleca Shared;C:\Program Files\Microsoft Network Monitor 3\;C:\PROGRA~1\DISKEE~1\DISKEE~1\;C:\Program Files\QuickTime\QTSystem\;C:\Program Files\Java\jdk1.6.0_11;C:\Program Files\Sun\SDK\bin;C:\Users\Public\Documents\RAD Studio\5.0\Bpl;C:\Program Files\Nmap
java.naming.factory.initial oracle.javatools.jndi.LocalInitialContextFactory
java.runtime.name Java(TM) SE Runtime Environment
java.runtime.version 1.6.0_11-b03
java.specification.name Java Platform API Specification
java.specification.vendor Sun Microsystems Inc.
java.specification.version 1.6
java.util.logging.config.file logging.conf
java.vendor Sun Microsystems Inc.
java.vendor.url http://java.sun.com/
java.vendor.url.bug http://java.sun.com/cgi-bin/bugreport.cgi
java.version 1.6.0_11
java.vm.info mixed mode
java.vm.name Java HotSpot(TM) Client VM
java.vm.specification.name Java Virtual Machine Specification
java.vm.specification.vendor Sun Microsystems Inc.
java.vm.specification.version 1.0
java.vm.vendor Sun Microsystems Inc.
java.vm.version 11.0-b16
jdbc.library /C:/Program Files/sqldeveloper_new/jdbc/lib/ojdbc5.jar
line.separator \r\n
oracle.home C:\Program Files\sqldeveloper_new
oracle.ide.util.AddinPolicyUtils.OVERRIDE_FLAG true
oracle.translated.locales de,es,fr,it,ja,ko,pt_BR,zh_CN,zh_TW
oracle.xdkjava.compatibility.version 9.0.4
orai18n.library /C:/Program Files/sqldeveloper_new/jlib/orai18n.jar
os.arch x86
os.name Windows Vista
os.version 6.0
path.separator ;
reserved_filenames con,aux,prn,lpt1,lpt2,lpt3,lpt4,lpt5,lpt6,lpt7,lpt8,lpt9,com1,com2,com3,com4,com5,com6,com7,com8,com9,conin$,conout,conout$
sun.arch.data.model 32
sun.boot.class.path C:\Program Files\Java\jdk1.6.0_11\jre\lib\resources.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\rt.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\sunrsasign.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jsse.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\jce.jar;C:\Program Files\Java\jdk1.6.0_11\jre\lib\charsets.jar;C:\Program Files\Java\jdk1.6.0_11\jre\classes
sun.boot.library.path C:\Program Files\Java\jdk1.6.0_11\jre\bin
sun.cpu.endian little
sun.cpu.isalist pentium_pro+mmx pentium_pro pentium+mmx pentium i486 i386 i86
sun.desktop windows
sun.io.unicode.encoding UnicodeLittle
sun.java2d.ddoffscreen false
sun.jnu.encoding Cp1252
sun.management.compiler HotSpot Client Compiler
sun.os.patch.level Service Pack 1
user.country GB
user.dir C:\Program Files\sqldeveloper_new\sqldeveloper\bin
user.home C:\Users\M
user.language en
user.name M
user.timezone Europe/London
user.variant
windows.shell.font.languages -
Hi,
I'm using SQL Server 2008R2 Reporting Services.
When i click on Web Services URL link it throws the below error.
"Report Server has encountered a SharePoint error. (rsSharePointError) Get Online Help
The system cannot find the path specified. (Exception from HRESULT: 0x80070003)"
and in the Event viewer i can see the below error for reporting services.
"Failed to unload app domain DefaultDomain. The following exception occurred: Error while unloading appdomain. (Exception from HRESULT: 0x80131015)."
Any help would be greatly appreciated.Related thread has a solution:
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/e97b0c14-c428-4b83-b5a2-dc58eb6be258/ssrs-2008-failed-to-unload-app-domain-defaultdomain-exception-from-hresult-0x80131015?forum=sqlreportingservices
Kalman Toth Database & OLAP Architect
Free T-SQL Scripts
New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012 -
Sudden exit of Thread without Exception or Error
Hi @all,
I've got some strange problem.
Within my socket server I handle each request within a Thread. Inside this Thread, the whole code is surrounded by...
try
catch( Throwable th )
Sometimes a Thread dies without occurence of any Exception or Error.
Especially strage is, that (if it crashes) always objects of the same class and exactly the same line of code is executed last.
There is kind of logging, that is executed last, like ...
logLogger.debug( "" );
Next should be getting the instance of a Singleton, which is a database connection pool, and getting a database connection out of it.
DbConnectionPool.getInstance().getDbConnection();
Within "getInstance()", the first line of code is logging, as well as the first line of "getDbConnection()".
The logger that I use is log4j. The same code is used in many classes, but the error only occurs in few of them.
Do you have any idea, what this error could be about?
Could it be, that there is no Throwable risen in case of an error, but only the concerning Thread dies, but the whole virtual machine and other functionality works well, as before?
My system :
Suse Linux Enterprise Server Version 8 /
Suse Linux Enterprise Server Version 10
At least 4 CPUs and 8 GiB of RAM, as well as enough space on hard disk.
Java virtual machine :
Java(TM) SE Runtime Environment (build 1.6.0_20-b02), Java HotSpot(TM) Server VM (build 16.3-b01, mixed mode) /
Java(TM) SE Runtime Environment (build 1.6.0-b105), Java HotSpot(TM) Server VM (build 1.6.0-b105, mixed mode)
Many thanks in advance.
Bye ... ChristianThe concerning code is as follows.
The Thread class :
try
// Get AddressCount parameter from configuration.
int iAddressCount = 0;
try
iAddressCount = Integer.parseInt( elmF1755.getAttributeValue( ATT_ADDRESSCOUNT ) );
logLogger.debug( "Received AddressCount from configuration : " + iAddressCount ); *// This is the last executed line of code.*
catch( Exception ex )
throw new Exception( String.format( "Invalid configuration attribute <%1$s : %2$s : %3$s>.", Constants.FUNCTIONPARAMETER, Constants.ELM_F1755, Constants.ATT_ADDRESSCOUNT ), ex );
// Get free database connection from the pool.
clsDB = DbConnectionPool.getInstance().getDbConnection();
if( clsDB == null )
throw new Exception( "No free database connection available." );
catch( Throwable th )
String strError = th.getClass().getSimpleName() + " occured. (" + th.getMessage() + ")";
logLogger.error( strError, th );
clsResponse.clear();
clsResponse.setTag( SSI_T002_FUNCID, GLF1755_ID );
clsResponse.setFuncOrRetVal( SSI_E999_SYSERROR, strError );
return clsResponse.getResponseString();
finally
// Clean-up
if( result != null )
result.close();
logLogger.debug( "End execute." );
The DbConnectionPool code :
public static DbConnectionPool getInstance()
throws Exception
logLogger.debug( "Get instance of the DbConnectionPool." ); *// This should be executed next*
if( instance == null )
instance = new DbConnectionPool();
return ( instance );
public synchronized Connection getConnection()
logLogger.debug( "Start getConnection." ); *// This should be executed as well*
} -
Hi all, my test.jsp got the "Exception ex" error; however, I don't see any Exception ex in my test.jsp code plus "'}' expected" error. Can any one tell me what's wrong in test.jsp and how to fix it.
Thanks a ton
[05/May/2003:17:23:15] info ( 1276): Internal Info: loading servlet /regionalnews.jsp
[05/May/2003:17:23:16] info ( 1276): JSP: JSP1x compiler threw exception
org.apache.jasper.JasperException: Unable to compile class for JSPC:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:626: 'catch' without 'try'.
} catch (Exception ex) {
^
C:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:637: '}' expected.
^
C:\iPlanet\Servers\https-sjw1bnguyen01.NA.RTA\config\..\ClassCache\_jsps\_regionalnews_jsp.java:638: 'try' without 'catch' or 'finally'.
^
3 errors
at org.apache.jasper.compiler.Compiler.compile(Compiler.java, Compiled Code)
at com.iplanet.server.http.servlet.NSServletEntity.load(NSServletEntity.java:252)
at com.iplanet.server.http.servlet.NSServletEntity.update(NSServletEntity.java:173)
at com.iplanet.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:427)
[05/May/2003:17:23:16] warning ( 1276): Internal error: Failed to get GenericServlet. (uri=/regionalnews.jsp,SCRIPT_NAME=/regionalnews.jsp)
Here is my test.jsp file: ********************
<%@ page import = "java.sql.*,oracle.jdbc.driver.*,java.util.Date, java.text.*" %>
<%
String dbUrl = "jdbc:oracle:thin:@sjw1bnguyen01:1521:mydb";
String dbUser = "scott";
String dbPass = "tiger";
//Do the login through database
String queryArtcCatNav = "SELECT DISTINCT CAT_ID FROM ssp01_artc" +
" WHERE RGN_ID " + "= " + "\'" + request.getParameter("RgnId") + "\'" +
" ORDER BY CAT_ID ASC";
String queryArtcYrNav = "SELECT DISTINCT (to_char(ARTC_PUB_DTM, 'YYYY')) as ARTC_PUB_DTM" +
" FROM ssp01_artc" +
" WHERE RGN_ID = " + "\'" + request.getParameter("RgnId") + "\'" +
" ORDER BY ARTC_PUB_DTM DESC";
String queryLatestYr = "SELECT MAX(to_char(ARTC_PUB_DTM, 'YYYY'))FROM ssp01_artc)";
String queryCurYrArtc = "SELECT CAT_ID, RGN_ID, ARTC_FLNM_TRKG_ID, ARTC_HDR_TXT, ARTC_PUB_DTM" +
" FROM ssp01_artc" +
" WHERE to_char(ARTC_PUB_DTM, 'YYYY')" +
" IN (SELECT MAX(to_char(ARTC_PUB_DTM, 'YYYY'))FROM ssp01_artc)" +
" AND RGN_ID = " + "\'" + request.getParameter("RgnId") + "\'" +
" GROUP BY CAT_ID, ARTC_FLNM_TRKG_ID, ARTC_HDR_TXT, ARTC_PUB_DTM" +
" ORDER BY CAT_ID, ARTC_PUB_DTM DESC";
DriverManager.registerDriver(new oracle.jdbc.driver.OracleDriver());
Connection con = DriverManager.getConnection(dbUrl, dbUser,dbPass);
Statement st = con.createStatement();
ResultSet rsArtcCatNav = st.executeQuery(queryArtcCatNav);
ResultSet rsArtcYrNav = st.executeQuery(queryArtcYrNav);
ResultSet rsCurYrArtc = st.executeQuery(queryCurYrArtc);
ResultSet rsLatestYr = st.executeQuery(queryLatestYr);
%>
<html>
<head>
<title>Test Page</title>
<table border="0" width="515" cellspacing="0" cellpadding="0">
<tr>
<td>
<h4 align="center"><font color="#000000" face="Verdana, arial"> <br>
<%
if(request.getParameter("RgnId").equals("na")) {
%>
</font><font face="verdana, arial">Semiconductor Press Room
- North America</font></h4>
<% }
else if(request.getParameter("RgnId").equals("eu")) { %>
</font><font face="verdana, arial">Semiconductor Press Room
- Europe</font></h4>
<% } %>
<hr width="515">
<!--- Display corporate news article header --->
<p align="center"><font face="verdana, arial"><b>Corporate News</b></font></a></p>
<!--- Set message flag variable to control the display for warning message --->
<% boolean blnMsgFlg = false; %>
<ul>
<% while(rsCurYrArtc.next()) { %>
<li>
<%
if(rsCurYrArtc.getString("RGN_ID").equals("na") && rsCurYrArtc.getString("CAT_ID").equals("crp")) {
%>
<% blnMsgFlg = true; %>
<li>
<!--- If the region is North America then show the hyperlink with MM/DD/YYYY format
If the region is Europ then show the hyperlink with MM/YYYY format --->
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM d, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><a href="/press/releases/<%= rsCurYrArtc.getString(ARTC_FLNM_TRKG_ID") %">.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
<% } //Region=eu
else if(rsCurYrArtc.getString("RGN_ID").equals("eu") && rsCurYrArtc.getString("CAT_ID").equals("crp")) { %>
<% blnMsgFlg = true; %>
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
</li>
<% } %>
</ul>
<!--- Dispaly the warning message if there is no article --->
<% if(blnMsgFlg) { %>
<p align="center"><font face="verdana, arial" size="2"><b>
No news release for this category.</b></font></a></p>
<% } %>
<hr width="515">
<!--- Display product news article header --->
<p align="center"><font face="verdana, arial"><b>Product News</b></font></a></p>
<!--- Set variable category id counter to control the display of category description under Product News title --->
<% int intCatIdCtr = 0; %>
<!--- Set message flag variable to control the display for warning message --->
<% boolean blnMsgFlg = false; %>
<% while(rsCurYrArtc.next()) { %>
<%
if(rsCurYrArtc.getString("RGN_ID").equals("na") && rsCurYrArtc.getString("CAT_ID") != "crp") {
%>
<% blnMsgFlg = true; %>
<%
if(rsCurYrArtc.getString("CAT_ID") != intCatIdCtr) {
%>
<p align="center"><font face="verdana, arial" size="2"><b><%= rsCurYrArtc.getString("CAT_ID") %></b></font></a></p>
<% intCatIdCtr = rsCurYrArtc.getString("CAT_ID") %>
<% } %>
<ul>
<li>
<!--- If the region is North America then show the hyperlink with MM/DD/YYYY format
If the region is Europ then show the hyperlink with MM/YYYY format --->
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM d, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
<% }
else if(rsCurYrArtc.getString("RGN_ID").equals("eu") && rsCurYrArtc.getString("CAT_ID") != "crp") { %>
<% blnMsgFlg = true ;%>
<%
SimpleDateFormat formatter = new SimpleDateFormat ("yyyy-MM-dd hh:mm:ss.S");
String dateString = rsCurYrArtc.getString("ARTC_PUB_DTM");
ParsePosition pos = new ParsePosition(0);
Date currentTime_2 = formatter.parse(dateString, pos);
formatter = new SimpleDateFormat ("MMM, yyyy");
dateString = formatter.format(currentTime_2); %>
<!-- Call html file -->
<p align="left"><font size="2" face="verdana, arial"><A href="/press/releases/<%= rsCurYrArtc.getString("ARTC_FLNM_TRKG_ID") %>.htm">
<%= dateString %></a> - <%= rsCurYrArtc.getString("ARTC_HDR_TXT") %></p></FONT>
</li>
<% } %>
</ul>
<!--- Display the warning message if there is no article --->
<% if(blnMsgFlg) { %>
<p align="center"><font face="verdana, arial" size="2"><b>
No news release is available in the selected category for the selected
year request.getParameter("PubYr"). Please try another year or category</b></font></a></p>
<% } %>
</td>
</tr>
</table>
<% try {
rsArtcCatNav.close();
rsArtcYrNav.close();
rsCurYrArtc.close();
rsLatestYr.close();
st.close();
con.close();
catch
(Exception e) {} %>
</body>
</html></a>hi there,
again, it's pretty hard to see from your code but the exception you get is synthax related. you probably forgot to close one of the if's. if you format your code nicely these would be easier to catch.
ie. i use following format:
if(something)
for(condition)
do something.
notice how easy it is to see where you open and close {}'s.
have a nice day.
cem.
Maybe you are looking for
-
Can't send e-mail with Thunderbird on Win8 out of server
Hello, I have problem sith sending mails from Thunderbird. I have new computer with Win 8. On Outlook everything works fine. On previous op system thunderbird worked fine. Now I can recive all e-mails. I can send emails within server. I can't send ma
-
Change bars in chart to a specific color
I need to make a single bar in a chart a specific color. I already figured out that I had to separate that bar from the rest of the chart as an overlay but now I cannot even get it to be the exact color that I need it to be. It seems my only color op
-
Noncumulative Cube Copy for Inventory IC where compression is not possible
Dear All We have got Month (0RT_C37) and Week (0RT_C36) Inventory Infocubes. Compression has never been done on any of this cube. The data is fine and result is coming correct but output is very slow. We have done the initialization on this cube on m
-
Importing stills - how set duration?
I'm importing a bunch of JPG still images - not a sequence. We used to be able to set the duration of each clip created, but now it seems to default to 10 seconds with no way to change? I checked out User Preferences, etc., couldn't find a way. Anybo
-
Noisy audio + audio output turns off / on - annoying
The audio out on a MBP (10.5.4) turns off after about 30 seconds, then turns back on when it makes any sound such as an alert sound, playing a song in iTunes / Quicktime, etc... Case and point: Listen with headphones (or with your ear close to the la