Misleading messages in JDeveloper IDE

I think I found a potential major bug in JDeveloper with JSP. This is how it happeed. After I modified the bean(beanname also) and added more elements, I can compile the bean JSP successfully and when I run it, it says Running - compiled successfully. But, I get the following output:
"E:\Oracle\JDeveloper 3.1\java1.2\jre\bin\java" -XXdebug -mx50m -classpath "E:\Oracle\JDeveloper 3.1\myclasses\_pages;E:\Oracle\JDeveloper 3.1\myclasses;E:\Oracle\JDeveloper 3.1\lib\webtogo.jar;E:\Oracle\JDeveloper 3.1\lib\xmlparser.jar;E:\Oracle\JDeveloper 3.1\lib\jdev-rt.zip;E:\Oracle\JDeveloper 3.1\lib\jbcl2.0.zip;E:\Oracle\JDeveloper 3.1\lib\jdev-rt.zip;E:\Oracle\JDeveloper 3.1\jdbc\lib\oracle8.1.6\classes12.zip;E:\Oracle\JDeveloper 3.1\lib\connectionmanager.zip;E:\Oracle\JDeveloper 3.1\lib\ojsp.jar;E:\Oracle\JDeveloper 3.1\lib\ojc.jar;E:\Oracle\JDeveloper 3.1\jswdk-1.0.1\lib\servlet.jar;E:\Oracle\JDeveloper 3.1\java1.2\jre\lib\rt.jar" oracle.jdeveloper.debugger.ServletMain \Create_Form_html\CreateForm.jsp
System Output: log3: oracle.jsp.JspServlet: init
System Output: log3: JspServlet: unable to dispatch to requested page: Exception:oracle.jsp.provider.JspCompileException: <H3>Errors compiling:E:\Oracle\JDeveloper 3.1\myclasses\_pages\create_form_html\CreateForm.java</H3>
System Output: <TABLE BORDER=1><TR><TH>Line #</TH><TH>Error</T
System Output: H></TR>
System Output: <TR><TD VALIGN=TOP><CENTER>0<CENTER></TD><TD VALIGN=TOP><PRE>'try' without 'catch' or 'finally'</PRE></TD></TR>
System Output: <TR><TD VALIGN=TOP><CENTER>0<CENTER></TD><TD VALIGN=TOP><PRE>illegal start of type</PRE></TD></TR>
System Output: <TR><TD VALIGN=TOP><CENTER>0<CENTER>
System Output: </TD><TD VALIGN=TOP><PRE>'class' or 'interface' expected</PRE></TD></TR>
System Output: <TR><TD VALIGN=TOP><CENTER>16<CENTER></TD><TD VALIGN=TOP><PRE>method getparameter(java.lang.String) not found in interface javax.servlet.http.HttpServletRequest</PRE></TD></TR>
System Output: </TAB
System Output: LE>
System Output:
Also, After it says 'Loading JSP' - I get error not much relevent to my code. Because, I don't have any try-catch block in my scripts:
JSP Error:
Request URI:/Create_Form_html/CreateForm.jsp
Exception:
oracle.jsp.provider.JspCompileException:
Errors compiling:E:\Oracle\JDeveloper 3.1\myclasses\_pages\create_form_html\CreateForm.java
Line # Error
0 'try' without 'catch' or 'finally'
0 illegal start of type
0 'class' or 'interface' expected
16 method getparameter(java.lang.String) not found in interface javax.servlet.http.HttpServletRequest
Please let me know if there's a workaround!
TIA,
Sassan

Here's the code:
CreateForm.jsp
<html>
<head>
<title>Consumer Form</title>
</head>
<body>
<form action="/Create_Form_html/RetrieveFormData.jsp" method="post">
<table align="center" cellspacing="2" cellpadding="2" border="1">
<tr>
<td colspan="3">
<b>Product Name:</b>
<%
String product = request.getParameter("product");
if ( product != null) {
%>
<input type="text"
name="product"
size="40"
maxlength="40">
<%
else{
%>
<input type="text"
name="product"
size="40"
maxlength="40">
<%
%>
</td>
<tr>
<td colspan="3">
<b>Company Name:</b>
<input type="text"
name="company"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td colspan="3">
<b>Street Address1:</b>
<input type="text"
name="street1"
size="43"
maxlength="43">
</td>
</tr>
<tr>
<td colspan="3">
<b>Street Address2:</b>
<input type="text"
name="street2"
size="43"
maxlength="43">
</td>
</tr>
<tr>
<td>
<b>City:</b>
<input type="text"
name="city"
size="20"
maxlength="20">
</td>
<td>
<b>State:</b>
<input type="text"
name="state"
size="2"
maxlength="2">
</td>
<td>
<b>Zip:</b>
<input type="text"
name="zip"
size="5"
maxlength="5">
</td>
</tr>
<tr>
<td colspan="3">
<b>Email Address:</b>
<input type="text"
name="email"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td colspan="3">
<b>Phone Number:</b>
<input type="text"
name="phone"
size="20"
maxlength="20">
</td>
</tr>
<tr>
<td colspan="3">
<b>Fax Number:</b>
<input type="text"
name="fax"
size="20"
maxlength="20">
</td>
</tr>
<tr>
<td>
<b>Note:</b>
<input type="text"
name="note"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td>
<b>Caution:</b>
<input type="text"
name="caution"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td>
<b>Tip:</b>
<input type="text"
name="tip"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td>
<b>Details:</b>
<input type="text"
name="details"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td>
<b>Warning:</b>
<input type="text"
name="warning"
size="40"
maxlength="40">
</td>
</tr>
<tr>
<td>
<input type="Submit" value="Submit">
</td>
</tr>
</table>
</form>
</body>
</html>
Product.java
/** This bean is used to encapsulate simple
* product and company data.
public class Product {
private String product = null;
private String company = null;
private String street1 = null;
private String street2 = null;
private String city = null;
private String state = null;
private String zip = null;
private String email = null;
private String phone = null;
private String fax = null;
private String note = null;
private String caution = null;
private String tip = null;
private String details = null;
private String warning = null;
// Default Constructor
public Product() {
// Public Accessors
public String getProduct() {
return product;
public void setProduct(String value) {
product = value;
public String getCompany() {
return company;
public void setCompany(String value) {
company = value;
public String getStreetAddress1() {
return street1;
public void setStreetAddress1(String value) {
street1 = value;
public String getStreetAddress2() {
return street2;
public void setStreetAddress2(String val ue) {
street2 = value;
public String getCity() {
return city;
public void setCity(String value) {
city = value;
public String getState() {
return state;
public void setState(String value) {
state = value;
public String getZip() {
return zip;
public void setZip(String value) {
zip = value;
public String getEmailAddress() {
return email;
public void setEmailAddress(String value) {
email = value;
public String getPhoneNumber() {
return phone;
public void setPhoneNumber(String value) {
phone = value;
public String getFaxNumber() {
return fax;
public void setFaxNumber(String value) {
fax = value;
public String getNote() {
return note;
public void setNote(String value) {
note = value;
public String getCaution() {
return caution;
public void setCaution(String value) {
caution = value;
public String getTip() {
return tip;
public void setTip(String value) {
tip = value;
public String getDetails() {
return details;
public void setDetails(String value) {
details = value;
public String getWarning() {
return warning;
public void setWarning(String value) {
warning = value;
CreateForm.java(auto-generated in a different directory mentioned in the prev. mail when I run CreateForm.jsp:
/*@lineinfo:filename=CreateForm.jsp*/
/*@lineinfo:generated-code*/
package create_form_html;
import oracle.jsp.runtime.*;
import javax.servlet.*;
import javax.servlet.http.*;
import javax.servlet.jsp.*;
import java.io.*;
import java.util.*;
import java.lang.reflect.*;
import java.beans.*;
public class CreateForm extends oracle.jsp.runtime.HttpJsp {
public final String _globalsClassName = null;
// ** Begin Declarations
// ** End Declarations
public void _jspService(HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException {
/* set up the intrinsic variables using the pageContext goober:
** session = HttpSession
** application = ServletContext
** out = JspWriter
** page = this
** config = ServletConfig
** all session/app beans declared in globals.jsa
JspFactory factory = JspFactory.getDefaultFactory();
PageContext pageContext = factory.getPageContext( this, request, response, null, true, JspWriter.DEFAULT_BUFFER, true);
// Note: this is not emitted if the session directive == false
HttpSession session = pageContext.getSession();
if (pageContext.getAttribute(OracleJspRuntime.JSP_REQUEST_REDIRECTED, PageContext.REQUEST_SCOPE) != null) {
pageContext.setAttribute(OracleJspRuntime.JSP_PAGE_DONTNOTIFY, "true", PageContext.PAGE_SCOPE);
factory.releasePageContext(pageContext);
return;
ServletContext application = pageContext.getServletContext();
JspWriter out = pageContext.getOut();
CreateForm page = this;
ServletConfig config = pageContext.getServletConfig();
try {
// global beans
// end global beans
out.println( "<html>");
out.println( "<head>");
out.println( " <title>Consumer Form</title>");
out.println( "</head>");
out.println( "");
out.println( "<body>");
out.println( "");
out.println( " <form action=\"/Create_Form_html/RetrieveFormData.jsp\" method=\"post\">");
out.println( " <table align=\"center\" cellspacing=\"2\" cellpadding=\"2\" border=\"1\">");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( "");
out.println( " <b>Product Name:</b>");
out.println( "");
out.print( " ");
/*@lineinfo:user-code*//*@lineinfo:16^1*/String product = request.getParameter("product");
if ( product != null) {
/*@lineinfo:generated-code*/
out.println( "");
out.println( " <input type=\"text\"");
out.println( " name=\"product\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.print( " ");
/*@lineinfo:user-code*//*@lineinfo:24^1*/}
else{
/*@lineinfo:generated-code*/
out.println( "");
out.println( " <input type=\"text\"");
out.println( " name=\"product\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.print( " ");
/*@lineinfo:user-code*//*@lineinfo:32^1*/}
/*@lineinfo:generated-code*/
out.println( "");
out.println( " </td>");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( "");
out.println( " <b>Company Name:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"company\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( " <b>Street Address1:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"street1\"");
out.println( " size=\"43\"");
out.println( " maxlength=\"43\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( " <b>Street Address2:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"street2\"");
out.println( " size=\"43\"");
out.println( " maxlength=\"43\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <b>City:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"city\"");
out.println( " size=\"20\"");
out.println( " maxlength=\"20\">");
out.println( " </td>");
out.println( " <td>");
out.println( " <b>State:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"state\"");
out.println( " size=\"2\"");
out.println( " maxlength=\"2\">");
out.println( " </td>");
out.println( " <td>");
out.println( " <b>Zip:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"zip\"");
out.println( " size=\"5\"");
out.println( " maxlength=\"5\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( " <b>Email Address:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"email\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( " <b>Phone Number:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"phone\"");
out.println( " size=\"20\"");
out.println( " maxlength=\"20\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td colspan=\"3\">");
out.println( " <b>Fax Number:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"fax\"");
out.println( " size=\"20\"");
out.println( " maxlength=\"20\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <b>Note:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"note\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <b>Caution:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"caution\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <b>Tip:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"tip\"");
out.println( " size=\"40\"");
out.println( " maxlengt h=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <b>Details:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"details\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <b>Warning:</b>");
out.println( " <input type=\"text\"");
out.println( " name=\"warning\"");
out.println( " size=\"40\"");
out.println( " maxlength=\"40\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " <tr>");
out.println( " <td>");
out.println( " <input type=\"Submit\" value=\"Submit\">");
out.println( " </td>");
out.println( " </tr>");
out.println( " </table>");
out.println( " </form>");
out.println( "</body>");
out.println( "</html>");
out.flush();
catch( Exception e) {
try {
if (out != null) out.clear();
catch( Exception clearException) {
pageContext.handlePageException( e);
finally {
if (out != null) out.close();
factory.releasePageContext(pageContext);
Hope this helps!
TIA,
Sassan
null

Similar Messages

  • JDeveloper IDE: Developer Mode Error

    Hi All,
    I am facing an issue after launcing JDEV through /jdevbin/NT/1223_db2dbg_17007206 (JDeveloper IDE for Release 12.2.3 Dev Build 2).
    I am getting developer mode error after launcing my application. For the error to perish, we need to disable the same by :
    Go Project Properties -> Oracle Applications -> Run Options and remove OADeveloperMode from the selected list.
    However the OADeveloperMode option is not visible at project properties. Any idea on how to disable the option through any other means or any workarounds.
    The profile “FND:Developer Mode” is already set to No in site level in environment. I am still seeing the Developer Mode error in jdev.
    Thanks in advance.
    Regards,
    Arpita

    Hi Shobit,
    Error message :
    (This developer mode error is thrown instead of being registered due to the lack of the page context object.) The OA passivation framework coding standard has been violated. Web bean properties cannot be modified in the controller processFormData or processFormRequest method. Web bean properties should be modified in the processRequest method only. An attempt to modify a web bean has been made in the following call stack: java.lang.Throwable at oracle.apps.fnd.framework.OACommonUtils.getCallStack(OACommonUtils.java:822) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1857) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.setAttributeValue(OAWebBeanHelper.java:1891) at oracle.apps.fnd.framework.webui.OAWebBeanFormElementHelper.setAttributeValue(OAWebBeanFormElementHelper.java:2108) at oracle.apps.fnd.framework.webui.beans.message.OAMessageLovInputBean.setAttributeValue(OAMessageLovInputBean.java:616) at oracle.cabo.ui.beans.form.TextInputBean.setRequired(TextInputBean.java:441) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:743) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursiveInternal(ClientUtil.java:864) at oracle.apps.po.common.webui.ClientUtil.setViewOnlyRecursive(ClientUtil.java:704) at oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO.setPageReadOnly(ClaimUpdateCO.java:425) at oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO.processFormRequest(ClaimUpdateCO.java:239) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:854) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.OAPageLayoutHelper.processFormRequest(OAPageLayoutHelper.java:1241) at oracle.apps.fnd.framework.webui.beans.layout.OAPageLayoutBean.processFormRequest(OAPageLayoutBean.java:1579) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.form.OAFormBean.processFormRequest(OAFormBean.java:395) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1066) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequestChildren(OAWebBeanHelper.java:1032) at oracle.apps.fnd.framework.webui.OAWebBeanHelper.processFormRequest(OAWebBeanHelper.java:887) at oracle.apps.fnd.framework.webui.OAWebBeanContainerHelper.processFormRequest(OAWebBeanContainerHelper.java:385) at oracle.apps.fnd.framework.webui.beans.OABodyBean.processFormRequest(OABodyBean.java:363) at oracle.apps.fnd.framework.webui.OAPageBean.processFormRequest(OAPageBean.java:3113) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1897) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:558) at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:446) at _OA._jspService(_OA.java:72) at com.orionserver.http.OrionHttpJspPage.service(OrionHttpJspPage.java:59) at oracle.jsp.runtimev2.JspPageTable.service(JspPageTable.java:473) at oracle.jsp.runtimev2.JspServlet.internalService(JspServlet.java:594) at oracle.jsp.runtimev2.JspServlet.service(JspServlet.java:518) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:734) at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:391) at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:908) at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:458) at com.evermind.server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:226) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:127) at com.evermind.server.http.HttpRequestHandler.run(HttpRequestHandler.java:116) at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260) at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303) at java.lang.Thread.run(Thread.java:662)
    This error part of the file (oracle.apps.ozf.oa.claim.webui.ClaimUpdateCO) present in the error message is an already existing code.
    Now the problem with solving this issues may end up solving many other issues. I am also not sure that my solving one part will fix it or not.
    If you can please help me with suppressing the option how we used to do that earlier via jdev, then I can move ahead with my changes and test them.
    Thanks,
    Arpita

  • My iphone 4s has the connect to itunes screen. I have tried to reset, recover, etc but I keep getting and error-51 message. Any ideas how I can get my phone working again? I am not worried about saving any info just having a phone to use!

    I was in the middle of the iOS 8 update and tried to turn my phone off (yes, I realize this was dumb) But what happened was it tried to reset. Now,  my iphone 4s has the connect to itunes screen. I have tried to reset, recover, etc but I keep getting and error -51 message. Any ideas how I can get my phone working again? I am not worried about saving any info just having a phone to use!

    Try a Hard Reset.....
    Press and hold the Wake / Sleep button AND the Home button at the same time, keep them both pressed until the Apple Logo appears on the screen, it can take 10 or more seconds.  Ignore the swipe to turn off message.

  • Hi, I am running windows 7 and currently firefox 3.6.... When i download and install firefox 4 or 5 it appears to be successfull but when i try open it, nothing appears to happen, although there is no error message. Any ideas?

    Hi, I am running windows 7 and currently firefox 3.6.... When i download and install firefox 4 or 5 it appears to be successfull but when i try open it, nothing appears to happen, although there is no error message. Any ideas?

    Hi, I am running windows 7 and currently firefox 3.6.... When i download and install firefox 4 or 5 it appears to be successfull but when i try open it, nothing appears to happen, although there is no error message. Any ideas?

  • Installing JDeveloper IDE!!

    Hi,
    I want to install the JDeveloper IDE in our server.During the installtion of JDeveloper it is also includes a weblogic server, but i have already installed UCM with the weblogic server on that machine.
    Please advis me is it possible to install the two instance of weblogic server in the same server.
    How to install the JDeveloper on that machine?
    Weblogic Server 10.3.5
    UCM11g
    Thanks

    Hi
    It is important and make sure that you install JDeveloper in a different middleware home. Like when you install JDeveloper, at one point, it will ask to choose the existing middleware home (where you already have a weblogic + ucm) or create a New middleware home. So select NEW middleware home and give the folder some unique name and you are good to go. The weblogic server that comes with JDeveloper is a very basic simple version where you can deploy any standard J2EE apps (WebApps, EJBs, WebServices and ADF Applications also EXCEPT for SOA/BPEL apps). Also, any app you developed in this JDeveloper you can deploy to your other Weblogic Server. Since you have WLS 10.3.5, this means its preferable if you download and install JDeveloper 11.5 Version. Typically, I will have folders like this on my side:
    C:\Oracle\Middleware\Jdeveloper115 -> This folder will have JDev 11.5 version installed and internally has WLS also.
    C:\Oracle\Middleware1035 -> Will have Weblogic Server 10.3.5 installed.
    Thanks
    Ravi Jegga

  • JDeveloper IDE problems with google Calendar development libraries

    Hello all,
    I am using JDeveloper as an IDE for developing the google calendar events.
    I am referring the http://code.google.com/apis/calendar/data/2.0/developers_guide_java.html site.
    Instead of ANT to run the sample code, I am using JDeveloper IDE and added all required libraries from sample and source code.
    Still I am getting weird error as Error(22,29): GDataRequest$RequestType not found in enum com.google.gdata.client.Service.GDataRequest.RequestType in class com.google.gdata.client.GoogleService in class com.google.gdata.client.calendar.CalendarService in class project1.CalendarTest
    Code is as below
    package project1;
    import com.google.gdata.client.*;
    import com.google.gdata.client.calendar.*;
    import com.google.gdata.data.*;
    import com.google.gdata.data.acl.*;
    import com.google.gdata.data.calendar.*;
    import com.google.gdata.data.extensions.*;
    import com.google.gdata.util.*;
    import java.net.*;
    import java.io.*;
    import sample.util.*;
    public class CalendarTest {
    public static void main(String[] args) throws AuthenticationException,
    MalformedURLException,
    IOException,
    ServiceException
    CalendarService myService = new CalendarService("exampleCo-exampleApp-1.0");
    // myService.setUserCredentials("[email protected]", "pa$$word");
    // URL feedUrl;
    // CalendarFeed resultFeed = myService.getFeed(feedUrl, CalendarFeed.class);
    // feedUrl = new URL("http://www.google.com/calendar/feeds/default/allcalendars/full");
    // System.out.println("Your calendars:");
    // System.out.println();
    // for (int i = 0; i < resultFeed.getEntries().size(); i++) {
    // CalendarEntry entry = resultFeed.getEntries().get(i);
    // System.out.println("\t" + entry.getTitle().getPlainText());
    Please if somebody has already faced such problem, show me some way or give the direction.

    Problem is solved by changing jdeveloper Compilat settings.
    Checked the checkbox of 'Use Javac'.
    and then compile the project. It will get compiled.
    Thanks to Shishir Shrivastava's post
    http://www.mail-archive.com/[email protected]/msg00984.html
    -Vedika

  • JDeveloper IDE suddenly very slow for past two days

    Hi All,
    I have Jdeveloper 11.1.1.4 for more than a month now. Suddenly the JDeveloper IDE has become very slow. It is very annoying having to wait for the code changes to show across and windows take long to get in sync. I have 3.25 GB RAM running on XP service pack 3. Also, I scanned my machine for likely virus, but has come clean. It is only with Jdeveloper I am having problems. All other applications are running fine. I even tried just running JDeveloper alone. No luck.
    Thanks

    Suddenly the JDeveloper IDE has become very slowSeems like something changed.
    Did you install any new extensions? When is it "slow?" Is it when doing a specific activity, or just overall "slow?" What does your OS show (is JDev using lots of CPU, for example)? Have you tried making a backup of your "system11.1.1.4.37.59.23" folder (numbers may be different depending on version) and then deleting it so that JDev recreates it for you (you'll lose all of your preferences/settings)?
    John

  • JDeveloper IDE Font

    How can I make the font in the JDeveloper IDE biger? The current font is too small to deal well with it.

    Go to 'Tools' Menu and select 'Preferences' Sub menu:
    Select ''Code Editor" and select "Fonts"
    Set the options for font-size as in screenshot:
    http://adfsampleapplications.googlecode.com/svn/trunk/images/FontChange.png
    Thanks,
    Navaneeth

  • JDeveloper IDE fonts unreadable

    Hi all,
    The menu and dialog fonts in JDeveloper IDE are unreadable. They are correct but un-continuous, they are showed as a draft. This error happens with JDK 1.3.1_02 & JDK 1.3.1_08.
    Curiously, the problem is solved with JDK 1.4.1_02. But JDeveloper is unstable with this JDK version.
    Any solution or suggestion?

    Hi,
    have a look at
    C:\Documents and Settings\<user>\Application Data\JDeveloper\system11.1.1.0.18.<version>\o.jdeveloper\ide.properties
    Change the default settings and the font will change in the IDE
    Frank

  • Hi i am getting Innternal Error in jdeveloper IDE in side preferences- code editer- java

    hi i am getting Innternal Error in jdeveloper IDE in side preferences->code editer->java
    if u know something about this error psease share here
    java.lang.NullPointerException
      at oracle.jdevimpl.java.editing.JavaOptionsPanel.loadSettingsFrom(JavaOptionsPanel.java:186)
      at oracle.jdevimpl.java.editing.JavaOptionsPanel.onEntry(JavaOptionsPanel.java:67)
      at oracle.ide.panels.MDDPanel.enterTraversableImpl(MDDPanel.java:1220)
      at oracle.ide.panels.MDDPanel.enterTraversable(MDDPanel.java:1201)
      at oracle.ide.panels.MDDPanel.access$1200(MDDPanel.java:128)
      at oracle.ide.panels.MDDPanel$Tsl.updateSelectedNavigable(MDDPanel.java:1657)
      at oracle.ide.panels.MDDPanel$Tsl.updateSelection(MDDPanel.java:1525)
      at oracle.ide.panels.MDDPanel$Tsl.actionPerformed(MDDPanel.java:1519)
      at javax.swing.Timer.fireActionPerformed(Timer.java:291)
      at javax.swing.Timer$DoPostEvent.run(Timer.java:221)
      at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:642)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:612)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:178)
      at java.awt.Dialog$1.run(Dialog.java:1046)
      at java.awt.Dialog$3.run(Dialog.java:1098)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.awt.Dialog.show(Dialog.java:1096)
      at java.awt.Component.show(Component.java:1585)
      at java.awt.Component.setVisible(Component.java:1537)
      at java.awt.Window.setVisible(Window.java:842)
      at java.awt.Dialog.setVisible(Dialog.java:986)
      at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:395)
      at oracle.bali.ewt.dialog.JEWTDialog.runDialog(JEWTDialog.java:356)
      at oracle.ide.dialogs.WizardLauncher.runDialog(WizardLauncher.java:55)
      at oracle.ide.panels.TDialogLauncher.showDialog(TDialogLauncher.java:225)
      at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:808)
      at oracle.ide.config.IdeSettings.showDialog(IdeSettings.java:601)
      at oracle.ide.ceditor.CodeEditorController.handleEvent(CodeEditorController.java:956)
      at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
      at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
      at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
      at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
      at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
      at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
      at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
      at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
      at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
      at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
      at java.awt.Component.processMouseEvent(Component.java:6289)
      at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
      at java.awt.Component.processEvent(Component.java:6054)
      at java.awt.Container.processEvent(Container.java:2041)
      at java.awt.Component.dispatchEventImpl(Component.java:4652)
      at java.awt.Container.dispatchEventImpl(Container.java:2099)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
      at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
      at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
      at java.awt.Container.dispatchEventImpl(Container.java:2085)
      at java.awt.Window.dispatchEventImpl(Window.java:2478)
      at java.awt.Component.dispatchEvent(Component.java:4482)
      at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
      at java.awt.EventQueue.access$000(EventQueue.java:85)
      at java.awt.EventQueue$1.run(EventQueue.java:603)
      at java.awt.EventQueue$1.run(EventQueue.java:601)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
      at java.awt.EventQueue$2.run(EventQueue.java:617)
      at java.awt.EventQueue$2.run(EventQueue.java:615)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
      at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
      at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)

    Hi,
    make sure the IDE is installed with the proper JDK version
    Frank

  • I downloaded Lion and now 3 of my mail addresses are offline and I cannot access or send messages.  Any ideas?

    I downloaded Lion and now 3 of my mail addresses are offline and I cannot access or send messages.  Any ideas?

    If it's because you were using Office 2004, the eight year old version of Office that was written when Intel processors were not used in Macs, then there will be no fix. Lion dropped support for PowerPC applications, as has been widely reported since Lion's release last August.
    You can upgrade Office 2004 to Office 2008 or Office 2011. You can use iWorks 2009 that can open Microsoft files. You can use a number of free applications that are also capable of working with Microsoft documents. You can go back to Snow Leopard, if you have a backup. Or, if you have an external drive or room to add a partition to your current drive, you can install Snow Leopard on it.
    Search these forums for more information. If this is your issue, it's been posted and answered several times a day since August 2011.

  • Howto make connection to Oracle UCM from JDeveloper IDE?

    I am trying to make a connection to Oracle Content Server from my JDeveloper IDE. I found while searching that this can be done by the following steps:
    1)Click on Application Resources on the left hand side widget.
    2)On Right clicking on Connections , a New Connection menu opens up.
    3)Select Content Repository from this menu.
    But in my case i am not getting the Content Repository option in the New Connection menu. Many other options are also missing. Is there some issue with my JDeveloper installation. How can i get this option in the New Connections menu? Can anyone help with this?
    Thanks in advance

    You can create a connection to UCM for Site Studio for External Applications (SSXA) - see chapter 3 of this manual: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e13650/toc.htm
    The question is, however, if it is what you are looking for. If you want to integrate a Java application with UCM (e.g. check-in a document from Java), then you don't need a connection created in the way above - you will create it ad hoc in your Java program - take a look at RIDC (or CIS or WebServices) here: http://download.oracle.com/docs/cd/E17904_01/doc.1111/e10807/toc.htm

  • Having trouble to delete datasource from JDeveloper IDE

    Hi,
    I am having trouble to delete datasource from JDeveloper IDE, neither can I change it.
    1. I deleted the datasource entry.
    2. Then I delete the entry in SIQA-data-sources.xml file in project root directory. SIQA is my workspace.
    3. There is no entry in C:\JDev10g\jdev\system10.1.2.0.0.1811\oc4j-config\data-sources.xml where is embedded oc4j server
    after close JDeveloper embeded OC4J Server configuration dialog box and reopen it. It will come back.
    I have no way to delete it or change database url.
    The version I have is 10.1.2.
    I hope to hear response asap.
    Thanks in advance.
    JQ

    Delete the JDBC Connection in the Connections Navigator corresponding to the data source.

  • JMS with weblogic and jdeveloper IDE

    HI,
    I am a newbie to jms..could anyone provide me a sample tutorial to test and deploy a sample jms application using weblogic and jdeveloper IDE.
    Thanks,
    Amy
    Edited by: 838667 on Feb 22, 2011 2:50 AM

    ...I have a strong feeling this is a TIBCO-related issue where you're not doing the lookup the way TIBCO likes.

  • I keep getting the following message on my phone "Sorry!  The application Email (processcom.andriod.email) has stopped unexpectedly.  Please try again"  and there is a force shutdown button, which I push but keep getting the message.  Any ideas how to mak

    I keep getting the following message on my phone "Sorry!  The application Email (processcom.andriod.email) has stopped unexpectedly.  Please try again"  and there is a force shutdown button, which I push but keep getting the message.  Any ideas how to make it go away so I can get my emails?

    Have you installed any applications recently?  A task killer maybe?  You can try rebooting the phone and see if that helps.

Maybe you are looking for

  • IMAP Mail and syncing with Server

    So I would like to convert from POP mail to IMAP. I have created a new account in Mail and so far I have been able to receive emails no problem. The issue is that sent emails are not being saved and I cannot save drafts. I can send emails fine but I

  • User_lobs and user_segments view shows different tablespace for lob segment

    Hi, I am trying to move lob in different tablespace for partitioned table. I used alter table <table_name> move partition <partition_name> lob(lob_column) store as (tablespace <tablespace_name>); alter index <index_name> rebuild partition <partition_

  • WFMC_PREPARE_SMART_FORM - device type problem

    Hi, I have created the logical destination "ZMAIL" to send a mail for vendor address. It's working fine in ME21N/ME22N. if we go to ME9F then it's goes to print it's not sending a mail. I'm using the FM "WFMC_PREPARE_SMART_FORM". In ME21N/ME22N, pe_d

  • Oracle-XE Download Page Broken

    The Oracle-XE download page ( http://www.oracle.com/technology/software/products/database/xe/index.html ) appears to be broken. Clicking on either of the links for the Linux or Windows versions is returning a 404 error. Please pass this on to the app

  • Photoshop CS6 stops

    I have installed Photoshop CS6 and it starts ok but then immediately stops!! Bridge functions ok. I have reinstalled CS6, started the program as administrator, deleted the preferences but it still stops. Any ideas?