on 10-17-2007 9:53 AM
hi sdns ,
i am stuck with an error.
please help me how to rectify this problem.
500 Internal Server Error
Web Dynpro Container/SAP J2EE Engine/6.40
Failed to process request. Please contact your system administrator.
[Hide]
Error Summary
While processing the current request, an exception occured which could not be handled by the application or the framework.
If the information contained on this page doesn't help you to find and correct the cause of the problem, please contact your system administrator. To facilitate analysis of the problem, keep a copy of this error page. Hint: Most browsers allow to select all content, copy it and then paste it into an empty document (e.g. email or simple text file).
Root Cause
The initial exception that caused the request to fail, was:
java.util.MissingResourceException: Can't find bundle for base name com.sap.tc.webdynpro.tutorials.quiz.resources.Answers, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:728)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:701)
at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.initResourceBundle(AbstractResourceHandler.java:485)
at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.loadResourceBundle(AbstractResourceHandler.java:162)
... 31 more
See full exception chain for details.
System Environment
Client
Web Dynpro Client Type HTML Client
User agent Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
Version null
DOM version null
Client Type msie6
Client Type Profile ie6
ActiveX enabled
Cookies enabled
Frames enabled
Java Applets enabled
JavaScript enabled
Tables enabled
VB Script enabled
Server
Web Dynpro Runtime Vendor: SAP, build ID: 7.0009.20060804145649.0000 (release=645_VAL_REL, buildtime=2006-08-26:14:41:58[UTC], changelist=413534, host=pwdfm101), build date: Sun Aug 12 13:03:31 IST 2007
J2EE Engine No information available
Java VM Java HotSpot(TM) Server VM, version:1.4.2_14-b05, vendor: Sun Microsystems Inc.
Operating system Windows 2003, version: 5.2, architecture: x86
Session & Other
Session Locale en_US
Time of Failure Wed Oct 17 14:18:14 IST 2007 (Java Time: 1192610894734)
Web Dynpro Code Generation Infos
local/WebDynpro_Quiz
SapDictionaryGenerationCore 7.0004.20050713144105.0000 (release=645_VAL_REL, buildtime=2005-09-19:09:56:45[UTC], changelist=357691, host=PWDFM101.wdf.sap.corp)
SapDictionaryGenerationTemplates (unknown)
SapGenerationFrameworkCore 7.0004.20050713144242.0000 (release=645_VAL_REL, buildtime=2005-09-19:09:50:22[UTC], changelist=357697, host=PWDFM101.wdf.sap.corp)
SapIdeWebDynproCheckLayer 7.0004.20050713144412.0000 (release=645_VAL_REL, buildtime=2005-09-19:10:01:14[UTC], changelist=357705, host=PWDFM101.wdf.sap.corp)
SapMetamodelCommon 7.0004.20050713144259.0000 (release=645_VAL_REL, buildtime=2005-09-19:09:50:57[UTC], changelist=357699, host=PWDFM101.wdf.sap.corp)
SapMetamodelCore 7.0004.20050713144259.0000 (release=645_VAL_REL, buildtime=2005-09-19:09:50:51[UTC], changelist=357699, host=PWDFM101.wdf.sap.corp)
SapMetamodelDictionary 7.0004.20050509170017.0000 (release=645_VAL_REL, buildtime=2005-09-19:09:54:51[UTC], changelist=346508, host=PWDFM101.wdf.sap.corp)
SapMetamodelWebDynpro 7.0004.20050713144450.0000 (release=645_VAL_REL, buildtime=2005-09-19:09:58:47[UTC], changelist=357707, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationCTemplates 7.0004.20050812153807.0000 (release=645_VAL_REL, buildtime=2005-09-19:10:17:37[UTC], changelist=362988, host=pwdfm101)
SapWebDynproGenerationCore 7.0004.20050713144412.0000 (release=645_VAL_REL, buildtime=2005-09-19:10:01:24[UTC], changelist=357705, host=PWDFM101.wdf.sap.corp)
SapWebDynproGenerationTemplates 7.0004.20050812153807.0000 (release=645_VAL_REL, buildtime=2005-09-19:10:17:37[UTC], changelist=362988, host=pwdfm101)
sap.com/tcwddispwda
No information available null
sap.com/tcwdcorecomp
No information available null
Detailed Error Information
Detailed Exception Chain
java.util.MissingResourceException: Can't find bundle for base name com.sap.tc.webdynpro.tutorials.quiz.resources.Answers, locale en_US
at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:838)
at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:728)
at java.util.ResourceBundle.getBundle(ResourceBundle.java:701)
at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.initResourceBundle(AbstractResourceHandler.java:485)
at com.sap.tc.webdynpro.serverimpl.core.localization.AbstractResourceHandler.loadResourceBundle(AbstractResourceHandler.java:162)
at com.sap.tc.webdynpro.tutorials.quiz.Quiz.wdDoInit(Quiz.java:105)
at com.sap.tc.webdynpro.tutorials.quiz.wdp.InternalQuiz.wdDoInit(InternalQuiz.java:122)
at com.sap.tc.webdynpro.progmodel.generation.DelegatingComponent.doInit(DelegatingComponent.java:108)
at com.sap.tc.webdynpro.progmodel.controller.Controller.initController(Controller.java:215)
at com.sap.tc.webdynpro.progmodel.controller.Controller.init(Controller.java:200)
at com.sap.tc.webdynpro.clientserver.cal.ClientComponent.init(ClientComponent.java:429)
at com.sap.tc.webdynpro.clientserver.cal.ClientApplication.init(ClientApplication.java:362)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.initApplication(ApplicationSession.java:700)
at com.sap.tc.webdynpro.clientserver.session.ApplicationSession.doProcessing(ApplicationSession.java:269)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessingStandalone(ClientSession.java:711)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doApplicationProcessing(ClientSession.java:665)
at com.sap.tc.webdynpro.clientserver.session.ClientSession.doProcessing(ClientSession.java:232)
at com.sap.tc.webdynpro.clientserver.session.RequestManager.doProcessing(RequestManager.java:152)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doContent(DispatcherServlet.java:62)
at com.sap.tc.webdynpro.serverimpl.defaultimpl.DispatcherServlet.doGet(DispatcherServlet.java:46)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java:390)
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java:264)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:347)
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java:325)
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java:887)
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java:241)
at com.sap.engine.services.httpserver.server.Client.handle(Client.java:92)
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java:148)
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33)
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41)
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
at java.security.AccessController.doPrivileged(Native Method)
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:100)
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:170)
i AM CAUGHT UP WITH THIS ERROR PLEASE HELP ME IN THIS ISSUE "<b>java.util.MissingResourceException: Can't find bundle for base name com.sap.tc.webdynpro.tutorials.quiz.resources.Questions.properties, locale en_US</b> PLEASE HELP ME
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have tried with & without properties but its not working
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Can you post the code at line 105.
com.sap.tc.webdynpro.tutorials.quiz.Quiz.wdDoInit(Quiz.java:105)
Regards
Ayyapparaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
public void wdDoInit()
{
//@@begin wdDoInit()
IWDResourceHandler resourceHandlerForQuestions=WDResourceHandler.createResourceHandlerForCurrentSession();
IWDResourceHandler resourceHandlerForAnswers=WDResourceHandler.createResourceHandlerForCurrentSession();
resourceHandlerForQuestions.loadResourceBundle("com.sap.tc.webdynpro.tutorials.quiz.resources.Questions.properties",this.getClass().getClassLoader());
resourceHandlerForAnswers.loadResourceBundle("com.sap.tc.webdynpro.tutorials.quiz.resources.Answers.properties",this.getClass().getClassLoader());
int size=Integer.valueOf(resourceHandlerForQuestions.getString("SIZE")).intValue();
Collection questions=new ArrayList();
for(int i=0;i<size;i++)
{
IPublicQuiz.IQuizDataElement quizDataElement=wdContext.createQuizDataElement();
quizDataElement.setQuestion(resourceHandlerForQuestions.getString("Q"+i));
quizDataElement.setAnswer(resourceHandlerForAnswers.getString("A"+i));
}
//@@end
}
Hi,
do you have an <i>Answers.properties</i> file in packagecom.sap.tc.webdynpro.tutorials.quiz.resources?
kind regards
Stefanie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.