Strnage error with JSTL 1.0
Hi all,
I've just started exploring the use of JSTL 1.0 tag libraries in my application and everything has been cool so far... up till I encountered this strange error.
What I did was this:
1) create 2 ArrayLists in a HTTP Servlet and put them onto the request context as as follows
ArrayList ListofForumsForWhichUserIsASecretariatContact = forumDAO.selectAllForumsBySecretariatContact(userID);
ArrayList upcomingMeetings = meetingDAO.selectUpcomingMeetingsByForumID(Integer.parseInt(currentForumID));
pageContext.setAttribute("ListofForumsForWhichUserIsASecretariatContact", ListofForumsForWhichUserIsASecretariatContact, PageContext.REQUEST_SCOPE);
pageContext.setAttribute("upcomingMeetings", upcomingMeetings, PageContext.REQUEST_SCOPE);As you can see, the ArrayList are actually populated by DAOs
2) On my JSP page, I tried to iterate through both lists and display their data. The first one came out ok, but the second one gave me this nasty looking error:
javax.servlet.jsp.JspException: An error occurred while evaluating custom
action attribute "value" with value "${upcomingMeeting.name}": Unable to find a
value for "name" in object of class "java.lang.String" using operator "." (null) at org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:109) at
org.apache.taglibs.standard.lang.jstl.Evaluator.evaluate(Evaluator.java:129) at
org.apache.taglibs.standard.lang.support.ExpressionEvaluatorManager.evaluate(ExpressionEvaluatorManager.java:75) at
org.apache.taglibs.standard.tag.el.core.ExpressionUtil.evalNotNull
(ExpressionUtil.java:48) at org.apache.taglibs.standard.tag.el.core.OutTag.evaluateExpressions
(OutTag.java:99) at org.apache.taglibs.standard.tag.el.core.OutTag.doStartTag
(OutTag.java:57) at org.apache.jsp.manageMeetings_jsp._jspx_meth_c_out_5(manageMeetings_jsp.java:523) at
org.apache.jsp.manageMeetings_jsp._jspService
(manageMeetings_jsp.java:209) at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:92) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:162) at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:240) at
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:187) at
javax.servlet.http.HttpServlet.service(HttpServlet.java:809) at
org.apache.catalina.core.ApplicationDispatcher.invoke
(ApplicationDispatcher.java:627) at
org.apache.catalina.core.ApplicationDispatcher.doForward
(ApplicationDispatcher.java:382) at
org.apache.catalina.core.ApplicationDispatcher.forward
(ApplicationDispatcher.java:306) at
myworkplace.meetingManager.controller.MeetingServlet.doGet
(MeetingServlet.java:141) at javax.servlet.http.HttpServlet.service
(HttpServlet.java:696) at javax.servlet.http.HttpServlet.service
(HttpServlet.java:809) at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
(ApplicationFilterChain.java:200) at
org.apache.catalina.core.ApplicationFilterChain.doFilter
(ApplicationFilterChain.java:146) at
org.apache.catalina.core.StandardWrapperValve.invoke
(StandardWrapperValve.java:209) at
... 3) I've tried to check if the servlet has passed the 2 ArrayLists to the JSP correctly using the following scriplet, with the necessary imports, of course
<%
ArrayList upcomingMeetings = (ArrayList) pageContext.getAttribute("upcomingMeetings", PageContext.REQUEST_SCOPE);
Iterator iter = upcomingMeetings.iterator();
while (iter.hasNext()) {
MeetingVO meeting = (MeetingVO) iter.next();
out.println("ID=" + meeting.getID() + ", name=" + meeting.getName());
%>This displayed the results I was looking for, i.e. the IDs and Names of the "meetings" in the ArrayList. So it seems that my servlet is passing the object correctly to the JSP, but JSTL doesn't seem to be casting properly here :-(
I don't understand why one ArrayList would work, while another fails??
Anyone ever encountered this anomaly before? Appreciate any help, as this is for a urgent project due soon :-(
Thanks in advance!
Ah yes, that's it!
Thanks for the tip!
Lesson learnt: take a break after every few hours of programming. Otherwise, even the most glaring of all errors laughs at you in the face ;-)
Similar Messages
-
Time value error with JSTL in fmt:formatDate
Hi all,
I try to display a date field from my Oracle 10g DB which contains date and time value. In the DB everything is stored correctly. When I use a
<fmt:formatDate value="${row.BEGIN_DATE}" pattern="dd.MM.yyyy HH:mm" />the date is displayed correctly but the time value is always 00:00. How can the time value be displayed correctly. Is this a matter of database or a JSTL configuration?
TIA,
AxelThe value of the pattern attribute should be a
pattern string following the conventions of the
java.text.SimpleDateFormat class.I know this. But the pattern "dd.MM.yyyy HH:mm" should be ok, or what's wrong with this pattern in your opinion? -
Issue with JSTL ( c:import ) tags in Weblogic 9.2
Hi,
I'm trying to migrate a struts (1.2.9) application from Weblogic 8.1 to Weblogic 9.2. This application has JSPs with JSTL (1.0) tags.
I have a JSP page that has multiple (around 7) c:import statements. When I launch my application, only the content from the last c:import statement is being displayed and rest of the c:import tags statements is simply ignored by Weblogic.
I don't find any errors in the logs. When I comment out last c:import statement in this JSP then the content from the above c:import statement is being displayed. Only one (last one) c:import statement's content is being displayed in that whole page.
This app worked just fine Weblogic 8.1.
Any resolutions, hints, insights or workarounds on this issue is appreciated.
Thanks in advance,
Mani
Edited by: mayyalas on Aug 10, 2009 6:13 PMHello,
You should not need to edit the wlp-light-web-lib.war weblogic.xml file. There are many places where other classes in wlp-light-web-lib are dynamically loading classes (using Class.forName()) from "higher-level" shared library modules (such as wlp-framework-full-web-lib), so I am certain that it works in general. There may just be an issue with how your shared library is set up, or how your webapp deployment descriptors are set up.
So you mention that you have a shared library module containing your implementation of the AnalyticEventHandler; is this a .war file? And in the webapp you are trying to deploy this in, does your weblogic.xml explicitly include your shared library? If so, is your shared library being included before or after the standard WLP shared libraries?
If you would like, posting your webapp's weblogic.xml may help to find the problem.
Kevin -
Problem when iterating with JSTL
hi ,
i have occured a problem when iterating with JSTL
althought this error,my application works fine but i would like to know why this error:
ther is my iteration code:
<c:forEach items="#{sWIMmoduleStatistiques.listeModules}" var="m">
<h:panelGroup>
<br>
<div class="connectorChartHeader" onclick="toggleImage('${m.nomChart}');" >
<span class="headerTitle">${m.nom}</span>
</div>
<br><br>
<img src="${m.nomChart}" id="${m.nomChart}" />
</h:panelGroup>
</c:forEach>
the error is:
javax.servlet.jsp.JspTagException: Don't know how to iterate over supplied "items" in <forEach>
at org.apache.taglibs.standard.tag.common.core.ForEachSupport.toForEachIterator(ForEachSupport.java:274)
at org.apache.taglibs.standard.tag.common.core.ForEachSupport.supportedTypeForEachIterator(ForEachSupport.java:238)
at org.apache.taglibs.standard.tag.common.core.ForEachSupport.prepare(ForEachSupport.java:155)
at javax.servlet.jsp.jstl.core.LoopTagSupport.doStartTag(LoopTagSupport.java:256)
at org.apache.jsp.pages.modulesStatistiques_jsp._jspx_meth_c_005fforEach_005f0(modulesStatistiques_jsp.java:434)
at org.apache.jsp.pages.modulesStatistiques_jsp._jspx_meth_h_005fpanelGrid_005f0(modulesStatistiques_jsp.java:399)
at org.apache.jsp.pages.modulesStatistiques_jsp._jspx_meth_f_005fview_005f0(modulesStatistiques_jsp.java:181)
at org.apache.jsp.pages.modulesStatistiques_jsp._jspService(modulesStatistiques_jsp.java:109)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
at com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:410)
at com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:473)
at com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:141)
at org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
at org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
at com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at TimeoutFilter.doFilter(TimeoutFilter.java:60)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
at org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
at org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
at java.lang.Thread.run(Thread.java:595)that line generated an error:
java.lang.NumberFormatException: For input string: "class"
java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
java.lang.Integer.parseInt(Integer.java:447)
java.lang.Integer.parseInt(Integer.java:497)
javax.el.ListELResolver.coerce(ListELResolver.java:166)
javax.el.ListELResolver.getValue(ListELResolver.java:51)
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
org.apache.el.parser.AstValue.getValue(AstValue.java:118)
org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
org.apache.jasper.el.JspValueExpression.getValue(JspValueExpression.java:101)
javax.faces.component.UIOutput.getValue(UIOutput.java:184)
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:201)
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:284)
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:154)
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:946)
javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:936)
javax.faces.component.UIComponent.encodeAll(UIComponent.java:942)
com.sun.faces.application.ViewHandlerImpl.doRenderView(ViewHandlerImpl.java:271)
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:202)
org.ajax4jsf.application.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:108)
org.ajax4jsf.application.AjaxViewHandler.renderView(AjaxViewHandler.java:196)
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:109)
com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
TimeoutFilter.doFilter(TimeoutFilter.java:64)
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:177)
org.ajax4jsf.webapp.BaseFilter.handleRequest(BaseFilter.java:267)
org.ajax4jsf.webapp.BaseFilter.processUploadsAndHandleRequest(BaseFilter.java:380)
org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:507) -
Replace % with jstl tags
Hi
i am trying to convert the following code to jstl
<OPTION <% if (rpt.equals("none")) { %> selected <% } %> value="none" id="none"> </OPTION>i am doing something like this with jstl but it isnt correct
<OPTION value="none" id="none"
<c:if test="${pageScope.rpt_local == 'none'}">
selected >//gives error here sayin option tag not closed
</c:if>how would i do this in jstl?
null
Message was edited by:
bhaarat_java1) The URI you are using suggests that you
removed/copied the tlds into the WEB-INF directory,
and that your web.xml uses them. You should not do
this. The tlds are in the JSTL jar files. By
maintaining the proper URI, the one defined in the
JAR, you will be sure to be using the proper version
of the TLD and tag library.Thanks, I must have missed this important bit while scanning the docs. It's probably an old feature I've never investigated - so much to read and do :-)
>
2) Outputting the ${scope} string instead of a
representation of the scope object suggests that EL
is not being interpreted. This may be because you
are using an old version of the web descriptor
(web.xml) xmlns, or because you are using a non RT-EL
version of JSTL.Yep, after I fixed my web.xml things started working.
regards,
Keith S. -
Developing with JSTL a PAIN!!?
Hi
Im just getting my hands wet with JSTL 1.0. One main annoying issue i have is whenever an error is made and found my the runtime it most of the times just says this if a tag is missing "javax.servlet.ServletException: End of content reached while more parsing required: tag nesting error?". I'm not knuth and do make mistakes but if my code was huge how the heck would i be expected to find where the missing tag is? if you notice there isnt even a line number.
I am using WAS..just wondering what all you jsp/jstl pros use as an IDE out there for developing?
thanksok i think my websphere is messed up then. now it wont even automatically rebuild the project when i make a change in a file and save. i have to rebuild the wholeee project :(. I wish netbeans was a more enterprise level recognized IDE.
Can we make EAR's and stuff in netbeans like we can with eclipse/websphere? -
HelloThank's for your helpsI hope this document is helpfulBest Regards,
Date: Sun, 22 Jun 2014 17:10:17 -0700
From: [email protected]
To: [email protected]
Subject: when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help me th
when i open pdf file it open all the pages but some pages give error massage (there was error processing a page,there was a problem reading this document 110) but if i open this page which give me error with google chrome it's work ? if you can help m
created by Anoop9178 in Adobe Reader - View the full discussion
Hi,
Would it be possible for you to share the document?
Regards,
Anoop
Please note that the Adobe Forums do not accept email attachments. If you want to embed a screen image in your message please visit the thread in the forum to embed the image at https://forums.adobe.com/message/6485431#6485431
Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page:
To unsubscribe from this thread, please visit the message page at . In the Actions box on the right, click the Stop Email Notifications link.
Start a new discussion in Adobe Reader by email or at Adobe Community
For more information about maintaining your forum email notifications please go to http://forums.adobe.com/thread/416458?tstart=0.thank's for reply and your help
i did the step's that you told me but i still have the same problem
i have the latest v.11.0.7
i
i disable the protected mode -
Odd Error with decode function in Order By Clause
I am trying to compile a procedure and can't get around an error with a dynamic order by that doesn't make much sense to me. I can repoduce the error with a plain select statment in sql plus so I can rule out a declaration error. Here is an example with 2 numeric columns and a date column.
select task_id, display_date, remark_id from task_list
where task_id > 1000
order by decode('Task_ID', 'Task_ID',Task_ID, 'Display_Date', Display_Date, 'Remark_ID',Remark_ID)
returns the error:
select task_id, display_date, remark_id from task_list
ERROR at line 1:
ORA-00932: inconsistent datatypes: expected NUMBER got DATE
I'm not sure why this error is occuring, because it doesn't even hit the Display_Date field in the Decode statment. If I take the Display_date out of the statement, it runs properly. If I change Display_Date to To_Char(Display_Date) it also runs fine, but the sorting is incorrect. Also I'm running 9.2, and do not want to use dynamic sql to build my query. Any Ideas out there as to the cause of this error?I did find a workaround to this issue by breaking the decode statment into three separate statement, but I still think that the way it is written above should work, and may be a bug, or an error that I don't understand fully.
The Order by was rewritten like this:
order by decode(pSort, 'Task_ID',Task_ID), decode(pSort, 'Display_Date', Display_Date),
decode(pSort, 'Remark_ID',Remark_ID);
Thanks -
XML Publisher Error with reports published in XML publisher
Hi All,
I am geting the following error with a report published using XML Publisher
The XML page cannot be displayed
Cannot view XML input using style sheet. Please correct the error and then click the Refresh button, or try again later.
The system cannot locate the resource specified. Error processing resource 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.d...
How can i Rectify this?Hi Ark,
In order to generate a report using xml publisher. we need the following.
1. XML Data
2. Template file (RTF/PDF/..)
XML data will not be created by the template file.
We will be required to create XML data. One of the easiest way to create xml output is using the RDF. We can change the rdf output type in the concurrent program to XML.
Once the xml and the template is available, "XML Report Publisher" will be able to generate the output in the required format.
Thanks,
K.Nataraja Suthan, -
Graphic problems/errors with Mainstage 3 and MBP (15'' 2011)
Hi,
I bought Mainstage 3 for my MBP (15'' 2011).
When i click con "perform" i get graphic errors.
I have the same issue with the old Mainstage version since Mountain Lion.
Also a fresh installation didn't help.
I think i'm not the only one with this issue!
I don't know how to report a bug?
Perhaps someone can help me.
(and I'm probably not the only one (see feedback in Apple Store) If you also have this problem, please add a comment with your configuration (Hardware, Software))
/forgotten ebi
So, here an example how it looks like when i click on "perform":Same configuration,same problem. BUT I found a workaround.
Mainstage has this error with the AMD video card and/or a second monitor connected.
With a little app (http://gfx.io) it's possible to really force the MBPro to use the Intel Graphics card.
This will work only with the internal screen, not with a second screen connected.
And sometimes you need to restart, to really make the Intel video card free.
This works fine...In the meantime of a fix. -
HI BI gurus,
we have a problem with an infoset.
We create an infoset in RSA1 linked to a cube and a DSO.
We activate it in english without problems and I can create a query with no errors (with a english logon).
If I try to create a query in italian language the query designer show mw this error: " unexpected error - RCF_SYSTEM_FAILURE. You must restart the query designer."
Do you have any idea how to fix and solve this problem? We try to activete the infoset in Italian but the error remains.
Thanks for any help.
SBHi,
is italien installed as a language in your system?
Siggi -
I took a lot of pictures and video on my recent trip to Ireland. Now I am trying to download the photos and videos from my iphone to my mac - iphoto. I have tried 3 times and each time (at a different point) I get a message telling me that there was an error with one of my photos and it wont load the pictures. Help!!
Try using Image Capture to download to a folder on the Desktop. If there's a damaged file on the iPhone that's preventing the download you can isolate it with Image Capture and then delete it from the iPhone.
-
Plug-in errors and dependency errors with a CAF app in DS in NW CE 7.1
I am learining to build CAF apps in Developer Studio in NW CE 7.1. Here are my steps and the errors I am getting:
Open Developer Studio
Switch to the CA perspective
File->New->Project
Choose Development Component under Development Infrastructure
Press Next
Choose Composite Application under sap.com
Choose MyComponents[demo.sap.com] under 'Local Development'
Vendor: demo.sap.com
Name: carpool
Caption: Car Pool
Language: American English
Domain: SAP-xApps
Support Component: CAF-APP (typed in, not chosen)
Press Finish
The following error appears:
Status ERROR
Plugin : com.sap.ide.metamodel.core.services.eclipse
code=0
Internal error
Plugin name: Metamodel Core
Internal error : com.sap.ide.metamodel.core.services.eclipse
Class : com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker
Method : computeIdeJarProperties
Message : C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
Exception : java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
java.io.FileNotFoundException: C:\Program Files\SAP\IDE\CE\eclipse\E:\Program Files\SAP\IDE\CE\eclipse\plugins\com.sap.dictionary.services_10.0.0.070821165456\lib\com.sap.dictionary.services_api.jar (The filename, directory name, or volume label syntax is incorrect)
at java.util.zip.ZipFile.open(Native Method)
at java.util.zip.ZipFile.<init>(ZipFile.java:203)
at java.util.jar.JarFile.<init>(JarFile.java:132)
at java.util.jar.JarFile.<init>(JarFile.java:70)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.computeIdeJarProperties(ArchiveVersionChecker.java:296)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.doFullCheck(ArchiveVersionChecker.java:214)
at com.sap.ide.mmservices.core.eclipse.project.ArchiveVersionChecker.checkProject(ArchiveVersionChecker.java:125)
at com.sap.ide.mmservices.core.eclipse.generation.GenerationServiceEclipse.checkArchiveVersions(GenerationServiceEclipse.java:110)
at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.checkArchiveVersions(GenerationBuilder.java:335)
at com.sap.dictionary.tools.generation.eclipse.GenerationBuilder.build(GenerationBuilder.java:85)
at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:624)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:166)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:197)
at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:246)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:249)
at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:302)
at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:334)
at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:137)
at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:235)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
I do not think I missed anything installing NW CE 7.1, but this error makes me think that some plug-in was erroneously left out of the install.
Incidentally, I can continue onward and build an app (this is obviously a tutorial), but when I try to deploy I get the following error:
The deployment of the archive failed with an exception!
([ERROR CODE DPL.DCAPI.1027]) DependenciesResolvingException.
Reason:[ERROR CODE DPL.DC.3033] An unresolved dependencies error
occurred while sorting the deployment batch items regarding the
dependencies.;nested exception is:
com.sap.engine.services.dc.cm.deploy.sdu_deps_resolver.UnresolvedDepen
denciesException:[ERROR CODE DPL.DC.3437]Unresolved dependencies
found for the following deployment items:
1. Component: name:'carpool~ear',vendor:'my.company',location:
'localDevelopment',version:'20080501110329',software type: 'J2EE',
dependencies:'[name:'cafruntimeear',vendor:'sap.com',name:
'cafcoreear',vendor:'sap.com']
Unresolved dependency:
name:'cafruntimeear',vendor:'sap.com' (not found in the admitted
batch items and the repository)
Unresolved dependency:
name:'cafcoreear',vendor:'sap.com' (not found in the admitted
batch items and the repository)
Please check the error log for further informations.
Again, this looks like I am missing some components.
Any assistance is greatly appreciated.
TBFurther developments: As you may note from the error message, DS is looking for com.sap.ide.metamodel.core.services.eclipse in both the C: and the E: drive at the same time. In fact, this file exists in the E: drive subdirectory listed, so I obviously have an error with two drive designations being concatenated. Does anyone know how I can change the lookup directory for this dependency (or any dependency)?
Thanks,
TB -
PeopleSoft XML Publisher report error with java.io.FileNotFoundException
Hi,
I have created two reports using XML Publisher in Peoplesoft Financials. The two reports are not related and they were submitted for processing separately. The first report completes without any issues. The second report results in error with the following message:
09.11.17 ..(CIS_POTRPT.XML_FILE.Step03) (PeopleCode)
[012309_091118154][oracle.apps.xdo.template.FOProcessor][EXCEPTION] IOException is occurred in FOProcessor.setData(String) with 'files/cis_potrpt.xml'.
[012309_091118500][oracle.apps.xdo.template.FOProcessor][EXCEPTION] java.io.FileNotFoundException: files/cis_potrpt.xml (A file or directory in the path name does not exist.)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(FileInputStream.java(Compiled Code))
at java.io.FileInputStream.<init>(FileInputStream.java:89)
at oracle.apps.xdo.template.FOProcessor.getInputStream(FOProcessor.java:1316)
at oracle.apps.xdo.template.FOProcessor.getXMLInput(FOProcessor.java:1100)
at oracle.apps.xdo.template.FOProcessor.setData(FOProcessor.java:372)
at com.peoplesoft.pt.xmlpublisher.PTFOProcessor.generateOutput(PTFOProcessor.java:53)
2009-01-23-09.11.18.000418 AePcdExecutePeopleCode [174] Exception logged: RC=100.
Error generating report output: (235,2309) PSXP_RPTDEFNMANAGER.ReportDefn.OnExecute Name:ProcessReport PCPC:51552 Statement:1153
Called from:CIS_POTRPT.XML_FILE.GBL.default.1900-01-01.Step03.OnExecute Statement:8
2009-01-23-09.11.18.000617 DoStepActions [1797] Exception logged: RC=100.
Process 598607 ABENDED at Step CIS_POTRPT.XML_FILE.Step03 (PeopleCode) -- RC = 24 (108,524)
In the process monitor detail > view log/trace page, the xml file is accessible so the file was generated to a valid directory.
The weird thing is I was able to run this report without any issues few weeks ago although another user also ran into same error. The PeopleCode step that has been identified is essentially same in the two reports. I checked the app server and the directory does exist as well as the xml files for the two reports. The problem does not occur in test environment, just in production. Any help would be appreciated.We encounter the same problem. Did you get the answer for this issue? Thanks in advance.
-
Problem with formatting date with JSTL ans swedish locale
Hi,
I have a strange problem with JSTL fmt:formatDate -tag and swedish locale.
-------------------------- Extract from the JSP ------------------------------
<jsp:useBean id="date" class="java.util.Date" />
<fmt:formatDate value="${date}" pattern="dd.MM.yyyy HH:mm" />
With en_US and fi_FI locales date is printed just the way I want: 29.04.2005 13:28 but in se_SE locale it is printed: Fri Apr 29 13:30:09 EEST 2005
Has anyone had this problem before?
Thanks in advance!Hi
Try using "sv_SE" locale.
Maybe you are looking for
-
Unable to load ADF Mobile for Android deployment profile.
Hello, I'm trying to implement a simple application on an android platform using this: [http://docs.oracle.com/cd/E18941_01/tutorials/MobileTutorial/jdtut_11r2_54_2.html] I already downloaded the updates needed as extensions and started the emulator
-
Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc. And I thought the whole point of an App Tab was to always have those tabs there no matter what window is open all
-
How can I turn off my built-in camera?
It stays on even after I restart my computer, although I'm not using any software that uses the camera. Plus, this is creepy. I've got a 2-yr-old mac air running os 10.8.5
-
Strange permissions problem since 10.4.6 update
Have noticed a very strange problem which I think is related to 10.4.6 Am updating my web sites (to a Unix box) this weekend and I noticed that once uploaded the files could not be accessed (permission denied error). I looked at the files on my Mac a
-
Messages stopped working after 10.9.5 update
As of my 10.9.5 update (ref APPLE-SA-2014-09-17-3 OS X Mavericks 10.9.5 and security update), my Messages application will only connect using Yahoo and Bonjour. I have several Accounts configured in Messages: (1 x iMessage w/@me.com address; 1x AIM/A