BUG: JDeveloper 10.1.3.0.3 EA - Exception in switch using enum

Hi,
I was encountered runtime exception in switch statement, if I use enum.
In the next example the exception:
Exception in thread "main" java.lang.ClassFormatError: Invalid field attribute index 0 in class file com/crcdata/enumtest/client/EnumTest$1
     at java.lang.ClassLoader.defineClass1(Native Method)
     at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
     at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
     at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
     at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
     at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
     at java.security.AccessController.doPrivileged(Native Method)
     at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:268)
     at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
     at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
     at com.crcdata.enumtest.client.EnumTest.main(EnumTest.java:13)
is thrown on line "switch (season)".
package com.crcdata.enumtest.client;
public class EnumTest {
  public enum Season { WINTER, SPRING, SUMMER, FALL }
  public EnumTest() {
  public static void main(String[] args) {
    EnumTest enumTest = new EnumTest();
    Season  season = Season.WINTER;
    switch (season) {
      case WINTER:
        System.out.println("Season: " + season.name());
        break;
      default:
        System.out.println("Another season");
        break;
}This exception occur only if use ojc compiler. The javac compiler is OK.
Versions:
JDeveloper 10.1.3.0.3 EA
J2EE 1.5.0_05
Regards,
Petr

Thanks for reporting this. I filed bug 4720493 on this.

Similar Messages

  • [BUG]PS CC Layer Group add vector mask and disable it,use path selection tool click,always crash!!!

    [Bug] Photoshop CC,Layer Group add vector mask and disable it, use path selection tool click canvas, always crash!!!  Please help me!
    The sample psd file(158KB):
    http://doc.aoyea.com/ps_cc_bug.psd
    My Computer configuration:
    SONY VAIO CA100 Notebook、Intel Core I5 2410 CPU、16GB RAM、AMD Radeon 6600M(1G RAM)、Windows7 x64 SP1(clean)、Scratch disk free space is 100GB
    email: [email protected]

    Hi,
    As far as i know that's a bug that will hopefully be fixed in the next update to photoshop cc.

  • [svn:bz-trunk] 20976: bug fix BLZ 602 IPv6 address isn' t properly resolved when used in dynamic url in the proxy service

    Revision: 20976
    Revision: 20976
    Author:   [email protected]
    Date:     2011-03-28 09:20:34 -0700 (Mon, 28 Mar 2011)
    Log Message:
    bug fix BLZ 602 IPv6 address isn't properly resolved when used in dynamic url in the proxy service
    checkintests pass
    Modified Paths:
        blazeds/trunk/modules/core/src/flex/messaging/messages/HTTPMessage.java

    Firstly, there's no such thing as Apache 9.3, there's Apache 1 (and subversions) and Apache 2 (and subversions). Your error message -
    Oracle-HTTP-Server/1.3.28Shows you're using Apache 1.3.28
    Secondly, I'm confused by your comment -
    I do not have Apache 9.3 or higher but I think oracle should offer this in its companion CDOracle does offer the Apache server, if you're saying you didn't get it from Oracle then where did your Apache server come from?
    Thirdly, I notice from your config file -
    ErrorLog "|E:\oracle\product\10.1.0\Companion\Apache\Apache\bin\rotatelogs logs/error_log 43200"That you're piping the logs through rotatelogs, are you sure the logfiles haven't just been renamed?

  • BUG JDeveloper with OTPC extension lockup

    I am using JDeveloper 11.1.1.1.0 with Oracle Team Productivity Center 11g on Windows XP. I am also connecting to a locally installed Oracle Team Productivity Center server running on a WebLogic 11g Server with Oracle 10g Express database although that is probably irrelevant. I am launching JDeveloper in the Default Role.
    I encountered a bug that consistently causes a lockup which forces a force quit. Below are the steps to reproduce:
    1) In the Team Navigator view navigate to Team Administration
    2) Go to the Repositories tab
    3) Click Work Item and then the Plus to add a new repository
    4) Select the Jira connector (only one I have installed and probably irrelevant) and click the Plus to add
    5) Close Team Administration and Reopen to Repositories tab
    6) Click the new repository you created
    7) Ctrl-Left Click on the 'New Repository Server' field in the Name column of the Repository Servers table
    8) On the warning dialog that popups click OK or X
    9) The dialog text and OK button dissapears and the dialog can not be closed through hitting X or verbal threats
    Surprisingly this does not occur if the field is Left Clicked (without the Ctrl)
    I also encountered a second issue during Oracle Team Productivity Center Server install. The gist of it is that selecting that you want a Connector to be installed the Next button does not work upon reaching the select sources page. If you change to install from local file then the Next button works again. Here is exception from tpcinstaller.log:
    java.lang.NullPointerException
         at javax.ide.extension.ExtensionRegistry.findExtension(ExtensionRegistry.java:60)
         at oracle.ideimpl.extension.ExtensionManagerImpl.getSystemDirectory(ExtensionManagerImpl.java:329)
         at oracle.ide.config.Preferences.getPreferenceDirectory(Preferences.java:89)
         at oracle.ide.config.Preferences.getPreferences(Preferences.java:60)
         at oracle.ide.webbrowser.WOCAuthenticator.getRememberedAuthentication(WOCAuthenticator.java:71)
         at oracle.alminternal.installer.util.DownloadUpdates.authenticateOTN(DownloadUpdates.java:233)
         at oracle.alminternal.installer.util.DownloadUpdates.copy(DownloadUpdates.java:302)
         at oracle.alminternal.installer.util.DownloadUpdates.download(DownloadUpdates.java:169)
         at oracle.alminternal.installer.Installer.downloadRemoteBundles(Installer.java:259)
         at oracle.alminternal.installer.ui.InstallerWizard$InstallerWizardValidateListener.wizardValidatePage(InstallerWizard.java:2283)
         at oracle.bali.ewt.wizard.WizardPage.processWizardValidateEvent(Unknown Source)
         at oracle.bali.ewt.wizard.WizardPage.validatePage(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard.validateSelectedPage(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard._validatePage(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard.doNext(Unknown Source)
         at oracle.bali.ewt.wizard.dWizard.DWizard.doNext(Unknown Source)
         at oracle.bali.ewt.wizard.BaseWizard$Action.actionPerformed(Unknown Source)
         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.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
         at java.awt.Component.processMouseEvent(Component.java:6263)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6028)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4630)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4574)
         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:2475)
         at java.awt.Component.dispatchEvent(Component.java:4460)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
         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:1045)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
         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)
    Edited by: user11232535 on Oct 30, 2009 1:42 PM

    Hi,
    Thanks for this feedback, I am looking into it and will get back to you. Have you been able to work around this issue and continue to use TPC with your JIRA repository?
    rgds
    Susan
    susanduncan.blogspot.com

  • BUG: JDeveloper code editor shows valid static import call as error

    I've noticed what appears to be a bug in the JDeveloper code validator when dealing with static imports.
    The following classes demonstrate the problem:
    package test;
    public class Parent {
      public static void parentMethod() {
        System.out.println("called parentMethod.");
    package test;
    public class Child extends Parent {
      public static void childMethod() {
        System.out.println("called childMethod.");
    package test;
    import static test.Child.*;
    public class StaticInheritanceTest {
      public static void main(String[] args) {
        Child.childMethod();
        Child.parentMethod();
        childMethod();
        parentMethod();  //<-- this line is highlighted as an error
    }Notice how on lines 7 and 8 of StaticInheritanceTest, the code validator does recognise that both parentMethod and childMethod are static methods of the Child class.
    Since 'Child' has been statically imported, then parentMethod should be available. Although parentMethod is presented as an 'auto-suggest' at line 11 in StaticInheritanceTest, when you try to call it the code editor shows the call as an error and the Ctrl-Click (to drill down into the method) doesn't work.
    When I run the class, it compiles successfully and runs with the following output:
    called childMethod.
    called parentMethod.
    called childMethod.
    called parentMethod.This might seem like an obscure and theoretical problem, but I've hit this whilst using Mockito, which uses exactly this kind of inherited static method to provide matchers.

    Hi,
    thanks. Will file a bug. This seems to be a designtime only issue that does not present a show stopper.
    Frank

  • Bug: Jdeveloper 10.1.3.2.0 !!

    I am not sure if it is a bug or not, but my jdeveloper 10.1.3.2.0 did like this:
    http://blogs.oracle.com/Didier/2006/11/22
    can anyone explain the matter?
    Bassam

    Noooooo nothing works
    But I am getting this error:
    Error exercising tag : f:facet
    javax.servlet.jsp.JspException: Cannot find FacesContext
    This is my web.xml
    ============================
    <?xml version = '1.0' encoding = 'windows-1252'?>
    <web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
    version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee">
    <description>SRDemo Sample 10.1.3 web application</description>
    <context-param>
    <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
    <param-value>client</param-value>
    </context-param>
    <context-param>
    <param-name>CpxFileName</param-name>
    <param-value>oracle.srdemo.view.DataBindings</param-value>
    </context-param>
    <context-param>
    <!-- Maximum memory per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_MEMORY</param-name>
    <!-- Use 5000K -->
    <param-value>5120000</param-value>
    </context-param>
    <context-param>
    <!-- Maximum disk space per request (in bytes) -->
    <param-name>oracle.adf.view.faces.UPLOAD_MAX_DISK_SPACE</param-name>
    <!-- Use 10,000K -->
    <param-value>10240000</param-value>
    </context-param>
    <context-param>
    <description>Parent directory location of SRDemo fileuploads</description>
    <param-name>SRDemo.FILE_UPLOADS_DIR</param-name>
    <param-value>/tmp/srdemo_fileuploads</param-value>
    </context-param>
    <filter>
    <filter-name>adfFaces</filter-name>
    <filter-class>oracle.adf.view.faces.webapp.AdfFacesFilter</filter-class>
    </filter>
    <filter>
    <filter-name>adfBindings</filter-name>
    <filter-class>oracle.adf.model.servlet.ADFBindingFilter</filter-class>
    </filter>
    <filter-mapping>
    <filter-name>adfFaces</filter-name>
    <servlet-name>Faces Servlet</servlet-name>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jsp</url-pattern>
    </filter-mapping>
    <filter-mapping>
    <filter-name>adfBindings</filter-name>
    <url-pattern>*.jspx</url-pattern>
    </filter-mapping>
    <servlet>
    <servlet-name>Faces Servlet</servlet-name>
    <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
    <load-on-startup>1</load-on-startup>
    </servlet>
    <servlet>
    <servlet-name>resources</servlet-name>
    <servlet-class>oracle.adf.view.faces.webapp.ResourceServlet</servlet-class>
    </servlet>
    <servlet-mapping>
    <servlet-name>Faces Servlet</servlet-name>
    <url-pattern>/faces/*</url-pattern>
    </servlet-mapping>
    <servlet-mapping>
    <servlet-name>resources</servlet-name>
    <url-pattern>/adf/*</url-pattern>
    </servlet-mapping>
    <session-config>
    <session-timeout>35</session-timeout>
    </session-config>
    <mime-mapping>
    <extension>html</extension>
    <mime-type>text/html</mime-type>
    </mime-mapping>
    <mime-mapping>
    <extension>txt</extension>
    <mime-type>text/plain</mime-type>
    </mime-mapping>
    <welcome-file-list>
    <welcome-file>index.jspx</welcome-file>
    </welcome-file-list>
    <jsp-config/>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>ALL Manager</web-resource-name>
    <url-pattern>faces/app/management/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>manager</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>AllStaff</web-resource-name>
    <url-pattern>faces/app/staff/*</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>technician</role-name>
    <role-name>manager</role-name>
    </auth-constraint>
    </security-constraint>
    <security-constraint>
    <web-resource-collection>
    <web-resource-name>SRDemo Sample</web-resource-name>
    <url-pattern>faces/app/SRAbout.jspx</url-pattern>
    <url-pattern>faces/app/SRCreate.jspx</url-pattern>
    <url-pattern>faces/app/SRCreateConfirm.jspx</url-pattern>
    <url-pattern>faces/app/SRCreateDone.jspx</url-pattern>
    <url-pattern>faces/app/SRFaq.jspx</url-pattern>
    <url-pattern>faces/app/SRFileUpload.jspx</url-pattern>
    <url-pattern>faces/app/SRHelp.jspx</url-pattern>
    <url-pattern>faces/app/SRList.jspx</url-pattern>
    <url-pattern>faces/app/SRLogout.jspx</url-pattern>
    <url-pattern>faces/app/SRMain.jspx</url-pattern>
    <url-pattern>faces/app/SRWelcome.jspx</url-pattern>
    </web-resource-collection>
    <auth-constraint>
    <role-name>user</role-name>
    <role-name>technician</role-name>
    <role-name>manager</role-name>
    </auth-constraint>
    </security-constraint>
    <login-config>
    <auth-method>FORM</auth-method>
    <form-login-config>
    <form-login-page>infrastructure/SRLogin.jspx</form-login-page>
    <form-error-page>infrastructure/SRLogin.jspx</form-error-page>
    </form-login-config>
    </login-config>
    <security-role>
    <description>Customers of ACME corp</description>
    <role-name>user</role-name>
    </security-role>
    <security-role>
    <description>Employees of ACME corp</description>
    <role-name>technician</role-name>
    </security-role>
    <security-role>
    <description>The boss</description>
    <role-name>manager</role-name>
    </security-role>
    <resource-ref>
    <res-ref-name>jdbc/SRDemoDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    <resource-ref>
    <res-ref-name>jdbc/SRDemoCoreDS</res-ref-name>
    <res-type>javax.sql.DataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    </web-app>
    ====================================

  • Mini-bug : JDeveloper 10.1.3 resource bundles

    Hello,
    Here's a mini-bug in the resource bundles for JDeveloper 10.1.3. In the Dynamic List binding wizard (the one that you use to make a list of value from databindings), in the list binding section there's a typo : "soruce" instead of "source".
    This evil bug has no workaround ! Run around screaming
    Seriously, this little typo won't hurt anything or anyone, but I just wanted to report it nonetheless.
    Regards,
    Simon Lessard
    Message was edited by:
    Simon Lessard
    Edit: Had a typo in the subject, was a tad annoying considering what this post is about.

    Hello,
    Here's a mini-bug in the resource bundles for JDeveloper 10.1.3. In the Dynamic List binding wizard (the one that you use to make a list of value from databindings), in the list binding section there's a typo : "soruce" instead of "source".
    This evil bug has no workaround ! Run around screaming
    Seriously, this little typo won't hurt anything or anyone, but I just wanted to report it nonetheless.
    Regards,
    Simon Lessard
    Message was edited by:
    Simon Lessard
    Edit: Had a typo in the subject, was a tad annoying considering what this post is about.

  • [BUG] JDeveloper performance bug

    Hi,
    I am working on ADF faces and hit a performance bug:
    When displaying the "design view" of a jsf page, Jdeveloper hangs for more than 15 minutes (thats why it is a bug, not a simple issue), then it displays it correctly.
    Host is a P4 3Ghz with 2GB RAM.
    Configuration:
    ADF Business Components     10.1.3.36.73
    CVS Version     Internal to Oracle JDeveloper 10g (client-only)
    Java™ Platform     1.5.0_05
    Oracle IDE     10.1.3.36.73
    Struts Modeler Version     10.1.3.36.73
    UML Modelers Version     10.1.3.37.26
    Versioning Support     10.1.3.36.73

    Hi,
    just a suggestion... Please control whether you run another process in background. In windows op. sys. look at task manager and control processer usage and memory usage!? is there any weird resource consuming!? Also control your disk fragmentation!? Is your hard disk fragmented too much!?
    Also, in the beginning, my designer in jdeveloper was not shown because of my locale setting. My locale setting was Turkish (tr) and user interface designer didn't show the user interface components during page design. After I changed locale to en_us, the designer shows the user interface designer properly. just check it!
    I couldn't help any more according to your feed back :-)
    best regards...
    --barisk                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Bug, JDeveloper (latest version) in Windows Vista w/Aero: Scrolling fails

    Hi,
    I´m using JDeveloper 10.1.3.1 in Windows Vista Ultimate with the Aero features fully activated.
    First of all, as soon as JDeveloper starts loading, Windows deactivates Aero for some reason.
    Second, the scrolling in the different panes fails. All the letters get messed up, like if it doesn´t update the screen. That happens for example in the code windows and the application navigator.
    I guess I'm not the first one facing this annoying bug, but I haven´t seen any solution yet. I think Oracle should post a warning, or update the documentation, or at least a solution in this forum.
    Is this a JDK issue, instead of a JDeveloper issue?
    If I use another JDK, would that solve it?
    Thanks in advance,
    Brian

    Hi Frank and John,
    First of all, thanks a lot for helping me (and the hundreds/thousands of other users using JDev over Vista).
    I can´t believe Oracle hasn´t addressed this issue yet. I mean, we are not in September 2006 using a beta version of Vista. Vista has already been released two months ago, and thousands of machines are being sold with it. Am I the only one using JDev+Vista? I don´t think so. However, I don´t see many other users posting claims here.
    I would love to see the Oracle gurus (Hi Shay!) posting a definitive statement from Oracle regarding this issue.
    Well, I have tried using the latest JDK from Sun (1.6.0), modifying the jdef.conf file so JDev will use it instead of the budled JDK. Well, it did work. The UI problem is gone. But JDev is giving me the message about not being certified to run with that version of JDK. What problems will I face now with that JDK? I don´t know. Should I use another version of JDK that will solve the UI but without any other compatibility problems?
    I REALLY would like to see an official response from Oracle.

  • Bug JDeveloper 10.1.3 : Backspace not working in .jspx source editing mode

    I checked the first 3 pages to see if someone else posted it and it don't look like it, so here I go.
    I just downloaded JDeveloper 10.1.3.0.4 and found out that backspace no longer work when editing a .jspx page in source mode but works fine in design mode. In EA it was working fine. Is that wanted? Or am I the only one with that issue?
    Regards

    Hmmm,
    I must have been too quick to install some plugins maybe. Time to retry with clean install I guess.
    Thank for the quick input.

  • Bug: JDeveloper 10.1.2.1.0 (1913) Cant create Web Service

    Hello,
    I have several java files that I usually right click on to create J2EE web services. Today I cannot create web services for any of the files, as I receive a nullpointer exception. I checked that all classes in the project compile. Specifically, I have a [main] method in the PatientWS file for which I wish to create a web service, and the class runs just fine. Based on another post, it seems the problem is with web.xml. I have deleted web.xml and it continues to get re-created so maybe it is not it. Any help will be appreciated. Please let me know if there is any other information that I need to provide.
    java.lang.NullPointerException
         at oracle.jdevimpl.webservices.generator.WARGenerator.addToClassesGroup(WARGenerator.java:280)
         at oracle.jdevimpl.webservices.generator.WARGenerator.generate9iASWarFile(WARGenerator.java:261)
         at oracle.jdevimpl.webservices.generator.WARGenerator.generateWarFile(WARGenerator.java:187)
         at oracle.jdevimpl.webservices.generator.WARGenerator.generate(WARGenerator.java:162)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateNonJAXJavaService(JAXRPCGenerator.java:1852)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateNonJAXService(JAXRPCGenerator.java:1544)
         at oracle.jdevimpl.webservices.generator.JAXRPCGenerator.generateService(JAXRPCGenerator.java:223)
         at oracle.jdeveloper.webservices.JAXRPCSvcModel.saveEdit(JAXRPCSvcModel.java:1613)
         at oracle.jdeveloper.webservices.JAXRPCJavaModel.createWebServiceFromClass(JAXRPCJavaModel.java:2852)
         at oracle.jdevimpl.webservices.WebServicesAddin.handleEvent(WebServicesAddin.java:1663)
         at oracle.ide.IdeAction.performAction(IdeAction.java:649)
         at oracle.ide.IdeAction$1.run(IdeAction.java:857)
         at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:178)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:454)
         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)
    Oracle IDE     10.1.2.18.38
    Business Components Version     10.1.2.18.73
    UML Modelers Version     10.1.2.16.83
    Versioning Support     10.1.2.16.83
    WebDAV Support Version     10.1.2.16.83
    Struts Modeler Version     10.1.2.6.27
    Designer Generators Framework     10.1.2.7.68
    CVS Client Version     (CVSNT) 2.0.51d (client/server)
    ADF UIX     2.2.20
    java.version     1.4.2_06
    java.home     C:\jdev1012\jdk\jre
    java.vm.name     Java HotSpot(TM) Client VM
    java.vm.vendor     Sun Microsystems Inc.
    java.vm.version     1.4.2_06-b03
    user.language     en
    user.region     <no value assigned>
    user.name     Mobile
    user.home     C:\Documents and Settings\Mobile
    user.dir     C:\jdev1012\jdev\bin
    os.name     Windows XP
    os.version     5.1
    os.arch     x86
    http.proxyHost     <no value assigned>
    http.proxyPort     <no value assigned>
    http.nonProxyHosts     <no value assigned>
    ide.patches     
    ide.user.dir

    I got the issue resolved by deleting all deployment descriptors from the project and the web.xml.
    Thanks,
    Frank

  • BUG: JDeveloper BC4J Tutorial is incorrect

    I have searched everywhere, but cannot find a correct working solution for this problem.
    Description:
    In a fresh install of JDeveloper 9i RUP7, I have tried to run the tutorial found under:
    Help Menu -> Help Topics -> Tutorial
    In the BC4J Tutorial titled "Business Components Programmatic Client Tutorial",
    I have run all the steps and the compiler gives me the error:
    oracle.jbo.JboException: JBO-33001: Cannot find the configuration file /OnlineOrders/common/bc4j.xcfg in the classpath
    There is no information regarding how to correctly configure the classpath or fix this problem.
    I downloaded JDeveloper 9i RUP7 at the Oracle Support site Knowledgebase 416708.1 for Release 11i:
    https://updates.oracle.com/ARULink/PatchDetails/process_form?patch_num=8751878
    How can this this be resolved, so that I can successfully create a BC4J client in JDeveloper?
    Thanks in advance for any help

    Try asking on the OA Framework Forum

  • [Bug] JDeveloper Crash on Recompile

    I moved static methods from one class to another while the debugger was running. I then clicked Alt-F9 to recompile (without stopping the debugger).
    JDeveloper 11.1.1.1.0 crashed with the following:
    *... removed a long list to make the 30,000 character limit ...*
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Invoking command: Cut[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Find...[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Find Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Find Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Find Next[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Undo Cut[ from oracle.ide.ceditor.CodeEditor ]
    Performing action Save[ from oracle.ide.ceditor.CodeEditor ]
    Invoking command: [ from oracle.ide.ceditor.CodeEditor ]
    Started CommandProcessor transaction: Auto Save Actions on thread AWT-EventQueue-0 at batch level 1
    Finished CommandProcessor transaction on thread AWT-EventQueue-0 at batch level 0
    Performing action Rebuild ClassAnalyzer.jpr[ from oracle.ide.ceditor.CodeEditor ]
    Uncaught exception
    java.lang.NullPointerException
      o.ii.log.TabbedPage$TabbedPageImpl$CurrentPageComponentListener.componentResized(TabbedPage.java:1318)
      o.i.log.DefaultLogPage.forceResizeNotification(DefaultLogPage.java:622)
      o.i.log.DefaultLogPage.clearAll(DefaultLogPage.java:605)
      o.j.compiler.CompilerPage.mas$clearAll(CompilerPage.java:83)
      o.j.compiler.CompilerPage$4.run(CompilerPage.java:1250)
      o.j.compiler.CompilerPage.clearAll(CompilerPage.java:1257)
      o.j.compiler.JCompiler$8.run(JCompiler.java:1157)
      j.a.event.InvocationEvent.dispatch(InvocationEvent.java:209)
      j.a.EventQueue.dispatchEvent(EventQueue.java:597)
      j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
      j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
      j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
      j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
      j.a.EventDispatchThread.run(EventDispatchThread.java:122)

    Full stack trace.
    java.lang.NullPointerException                                                 
            at oracle.ideimpl.log.TabbedPage$TabbedPageImpl$CurrentPageComponentListener.componentResized(TabbedPage.java:1318)                                    
            at oracle.ide.log.DefaultLogPage.forceResizeNotification(DefaultLogPage.java:622)                                                                      
            at oracle.ide.log.DefaultLogPage.clearAll(DefaultLogPage.java:605)     
            at oracle.jdeveloper.compiler.CompilerPage.mas$clearAll(CompilerPage.java:83)                                                                          
            at oracle.jdeveloper.compiler.CompilerPage$4.run(CompilerPage.java:1250)
            at oracle.jdeveloper.compiler.CompilerPage.clearAll(CompilerPage.java:1257)                                                                            
            at oracle.jdeveloper.compiler.JCompiler$8.run(JCompiler.java:1157)     
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)   
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)              
            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)      
    Exception occurred during event dispatching:                                   
    java.lang.NullPointerException                                                 
            at oracle.jdeveloper.compiler.CompilerPage.getFileNode(CompilerPage.java:1073)                                                                         
            at oracle.jdeveloper.compiler.CompilerPage.addMsg(CompilerPage.java:828)
            at oracle.jdeveloper.compiler.CompilerPage.mav$addMsg(CompilerPage.java:83)                                                                            
            at oracle.jdeveloper.compiler.CompilerPage$3.run(CompilerPage.java:689)
            at oracle.jdeveloper.compiler.CompilerPage.processAsyncMsgQueue(CompilerPage.java:696)                                                                 
            at oracle.jdeveloper.compiler.CompilerPage.finishAsynchronousLogging(CompilerPage.java:649)                                                            
            at oracle.jdeveloper.compiler.IdeLog.unregisterAsynchronousLogPage(IdeLog.java:374)                                                                    
            at oracle.jdeveloper.compiler.JCompiler._logOutEndBuild(JCompiler.java:1192)                                                                           
            at oracle.jdeveloper.compiler.JCompiler.mav$_logOutEndBuild(JCompiler.java:77)                                                                         
            at oracle.jdeveloper.compiler.JCompiler$9.run(JCompiler.java:1215)     
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)   
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)              
            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:1047)                             
            at java.awt.Dialog$3.run(Dialog.java:1099)                             
            at java.security.AccessController.doPrivileged(Native Method)          
            at java.awt.Dialog.show(Dialog.java:1097)                              
            at java.awt.Component.show(Component.java:1447)                        
            at java.awt.Component.setVisible(Component.java:1400)                  
            at java.awt.Window.setVisible(Window.java:824)                         
            at java.awt.Dialog.setVisible(Dialog.java:987)                         
            at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)         
            at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)         
            at oracle.ideimpl.feedback2.client.ui.CustomerFeedbackDialog.runDialog(CustomerFeedbackDialog.java:110)                                                
            at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showCustomerFeedbackDialog(FeedbackManagerImpl.java:421)                                        
            at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showFeedbackDialog(FeedbackManagerImpl.java:345)                                                
            at oracle.ideimpl.feedback2.client.FeedbackManagerImpl$1.run(FeedbackManagerImpl.java:210)                                                             
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)   
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)              
            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)
    Exception occurred during event dispatching:
    java.lang.NullPointerException
            at oracle.jdeveloper.compiler.CompilerPage.getFileNode(CompilerPage.java:1073)
            at oracle.jdeveloper.compiler.CompilerPage.addMsg(CompilerPage.java:828)
            at oracle.jdeveloper.compiler.CompilerPage.mav$addMsg(CompilerPage.java:83)
            at oracle.jdeveloper.compiler.CompilerPage$3.run(CompilerPage.java:689)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            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:1047)
            at java.awt.Dialog$3.run(Dialog.java:1099)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Dialog.show(Dialog.java:1097)
            at java.awt.Component.show(Component.java:1447)
            at java.awt.Component.setVisible(Component.java:1400)
            at java.awt.Window.setVisible(Window.java:824)
            at java.awt.Dialog.setVisible(Dialog.java:987)
            at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
            at oracle.bali.ewt.dialog.JEWTDialog.runDialog(Unknown Source)
            at oracle.ideimpl.feedback2.client.ui.CustomerFeedbackDialog.runDialog(CustomerFeedbackDialog.java:110)
            at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showCustomerFeedbackDialog(FeedbackManagerImpl.java:421)
            at oracle.ideimpl.feedback2.client.FeedbackManagerImpl.showFeedbackDialog(FeedbackManagerImpl.java:345)
            at oracle.ideimpl.feedback2.client.FeedbackManagerImpl$1.run(FeedbackManagerImpl.java:210)
            at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
            at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
            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)

  • BUG, jdeveloper deleating section of the code

    Hi,
    I am using the latest version of jdeveloper , with the latest patches installed as well as the "trim spaces" plugin.
    I have the following code:
    package SubmittalFrameWork.ContentHandlers.Root;
    public class Maintainance extends JPanel implements ActionListener {
    private void GenerateNewproductfilefolders() {
    if (SubmittalFrameWork.Sql
    .sampleReportsSql1
    .addSection(productfile) && SubmittalFrameWork.Sql.sampleReportsSql1
    .addProductFileDetails(productfile
    .getDistinctItemIndex(), SQL_stuff
    .GeneratePrimaryKey("PFD"), groupindex) &&
    // now see if we can get it back intact
    SubmittalFrameWork.Sql
    .sampleReportsSql1
    .retrieveCurrentObject(productfile,
    productfile
    .getDistinctItemIndex())) {
    SQL_stuff.The_Commit();
    addnodesintotree(productfile); // we only need to add this one unexpanded
    After making any sort of change to the screen using the design tool, the code becomes as below
    this happends in multiple screens where there are similar constructs:
    private void GenerateNewproductfilefolders() {
    if
    // now see if we can get it back intact
    (sampleReportsSql1.addSection(productfile) && sampleReportsSql1.addProductFileDetails(productfile.getDistinctItemIndex(),
    SQL_stuf {
    SQL_stuff.The_Commit();
    addnodesintotree(productfile); // we only need to add this one unexpanded
    }

    sorry guys I thought it was the "trim space" plug in , but it does it on jdeveloper without this plug in.
    Basically I have my screen designed , then writes some custom code , of the format seen in my post.
    if i invoke the screen design tool , and go back to the code, then there is NO problem.
    But if i invoke the screen design tool, and add/delete, or move any item on the screen, when I go back to my code, there is a section missing as shown.

  • BUG: JDeveloper 11G - \" inside string

    Hi!
    Taste the difference:
    +&lt;!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"+
    +"http://www.w3.org/TR/html4/loose.dtd"&gt;+
    +&lt;%@ page contentType="text/html;charset=windows-1251"%&gt;+
    +&lt;html&gt;+
    + &lt;head&gt;+
    + &lt;meta http-equiv="Content-Type" content="text/html; charset=windows-1251"/&gt;+
    + &lt;title&gt;test&lt;/title&gt;+
    + &lt;/head&gt;+
    +&lt;% String s=true?"onload=('top.location.replace(\"test.jsp\");')":""; %&gt;;+
    + &lt;body &lt;%=true?"onload=('top.location.replace(\"{color:#ff0000}_test.jsp\");')":""_{color}%&gt;&gt;+
    + &lt;/body&gt;+
    +&lt;/html&gt;+
    Why JDeveloper editor show error on second variant?

    Hi the stings seems identical to me. However, the code seems kind of malfunctioning to ma anyway
    <% String s=true?"onload=('top.location.replace(\"test.jsp\");')":""; %>;
    this is no comparison. You assign the value true to the String s. To use the notation you want, this would have been a check for equality "=="
    <%=true?
    What is "true" ? Is it a variable you defined ? The directive you use is one where you assign values to a variable
    Frank

Maybe you are looking for

  • Error while deleting the Master data

    Hi Friends, i am getting the below error while deleting the data from a master data:- The system is unable to delete all of the specified master data,because some of it is still in use. (See log:Object RSDMD, sub-object MD_DEL ) Do you want to delete

  • How do I get my USB to wireless printer on a network without a computer?

    If you have a USB to Wireless printer and no computer to use the software to do this and do not want to use the WPS option (or it is not available), then the following method may help. This is intended to get a USB to wireless, like the Deskjet 3512

  • How to export images with Project Name to be visable by Photo Mechanic.

    Hello all, I am trying to create another complete set of my images, that can be edited by outside programs (Photo Mechanic and/or Lightroom). I am doing this by exporting the images out of a managed library. I want the Aperture "*Project name*" and R

  • How to rearrange page search

    Hi, I have a PDF document where, on one PDF page, there is the equivalent of 4 pages.  In other words, PDF page 1 will contain 4 pages of a real book, PDF page 2 will contain the following 4, etc. If i search for page 2, for instance, PDF will send m

  • Frontend login issue

    hi, after i enter the loginid and password i am geting the below error APP-FND_01515:Invalid application username,password or database Username :applsyspub Password: PUB Database : UP01AUR20