BUG!?! Toplink and XE in Jdev 10g Rel 3 SU4

Good ... evening/morning ... everyone! :-)
Trying to follow (teach using) the tutorial on creating an Web App using Toplink
and ADF Faces. After creating the Map I am getting problems on the Java object
generation. I get the exception:
java.lang.NullPointerException
at oracle.ideimpl.log.TabbedLogManager.getMsgPag (TabbedLogManager.java:101)
at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
and JDev get in a endless loop in the generation progress dialog. The only
difference from the tutorial setting is XE instead of a full server!
Hope someone have some hints; just let me know if further details of the setting
is needed!
Dan.

Good ... evening/morning ... everyone! :-)
Trying to follow (teach using) the tutorial on creating an Web App using Toplink
and ADF Faces. After creating the Map I am getting problems on the Java object
generation. I get the exception:
java.lang.NullPointerException
at oracle.ideimpl.log.TabbedLogManager.getMsgPag (TabbedLogManager.java:101)
at oracle.toplink.addin.log.POJOGenerationLoggingAdapter.updateTask(POJOGenerationLoggingAdapter.java:42)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.fireTaskUpdated(MappingCreatorImpl.java:1049)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:231)
at oracle.toplink.addin.mappingcreation.MappingCreatorImpl.generateMappedDescriptorsForTables(MappingCreatorImpl.java:201)
at oracle.toplink.addin.wizard.jobgeneration.JobWizard$1.construct(JobWizard.java:401)
at oracle.ide.util.SwingWorker$1.run(SwingWorker.java:119)
at java.lang.Thread.run(Thread.java:595)
and JDev get in a endless loop in the generation progress dialog. The only
difference from the tutorial setting is XE instead of a full server!
Hope someone have some hints; just let me know if further details of the setting
is needed!
Dan.

Similar Messages

  • I need authenticate from a database and control session Jdev 10g

    Please I need tutorial, example, demo or something....

    Something like this?
    http://blogs.oracle.com/shay/2008/11/for_some_reason_one_common.html

  • JDev 10G OSX Issues

    Hi-
    I am starting this thread as a discussion area for bugs and issues with JDev 10G on Apple OSX 10.3. JDev is not officially supported on OSX, however, I am hoping that by providing well defined issue lists we can move that process along. Please add to this list if you are running JDev on OSX and find other issues!
    Thanks Gerard for encouraging me to post these (and sorry for my slow response).
    Eric Everman
    ___Problems in the 10G release that were present in preview release___
    -The Apple LnF has some missing icons and general painting issues in the file browser.
    -com.apple.macos.useScreenMenuBar has been depreciated message on startup (noted other places)
    -(MAJOR) JDev cannot correctly resolve paths using symbolic links. I haven't tried this, but I would suspect this is a problem on Linux as well. If I open a project that uses a symbolic link within its path, JDev seems to think there are two copies each file - one on the linked path and one on the fully resolved path. Somehow out of this, Jdev ends up placing all files into a Miscellaneous package under Web Content and Application Sources.
    -Import... The dialog seems to have a hardcoded background color. When running under OSX with the Apple LnF, the background color is the dark color of the Oracle LnF in portions of the dialog.
    -The sort order for files in the file dialogs is case sensative is a unfriendly way: A-Z sorts as a group before a-z. Preferable would be Aa, Bb, etc, as OSX applications (and windows applications) do. Is this also a problem in Linux?
    -Quiting JDev results in the following error (terminal text from JDev start to JDev Quit):
    ================================
    Exception in thread "Thread-0" java.lang.SecurityException
    at oracle.ide.IdeCore$1.checkExit(IdeCore.java:165)
    at java.lang.Runtime.exit(Runtime.java:88)
    at java.lang.System.exit(System.java:715)
    at com.apple.eawt.Application.handleQuit(Application.java:406)
    JavaAWT: Assertion failure: Java exception thrown
    JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 40
    JavaAWT: Assertion failure: _javaException
    JavaAWT: File src/macosx/native/apple/awt/util/AWTException.m; Line 48
    2004-04-30 10:54:36.344 java[2230] See Java exception object
    ================================
    -Dual monitors Issue: (partially fixed) Works great under Apple LnF as long as com.apple.macos.useScreenMenuBar is 'false'. When set to 'true' and working in the non-main window (the window w/o the menubar), context menus pop-up at the edge of the main window instead of at the mouse location.
    -Command-Q will quit JDev, but will not always kill the associated Embedded OC4J instance. I can't always reproduce this - perhaps it happens after I've switched projects, recompiled somethings, etc..
    -Quiting JDev using any method other File|Quit results in the open file list not being saved. (Other methods are Command-Q or the JDev menu item Quit option)
    ___Problems in the preview release that were fixed in the 10G release___
    -Fixed: The close/minimize buttons on tabs and panes now display properly in the Apple LnF.
    -Fixed: Save As... removes the original file from the project list. So it looks as if the file has been renamed - in reality the original file is still on the disc, just no longer part of the project.
    -Fixed: The state of open files is not restored when JDev is resarted. Somewhere along the line I ended up with the JDev Welcome page and a class file as being the open files each time I start JDev, regardless of what files were open when I closed JDev. Tried with OSX LnF and Oracle LnF.
    -Fixed: When running under OSX LnF, editing code will result in the addition of a 'Code' menu to the menu bar, however, all of the other menu items are de-activated (greyed out). When the context changes to something other then code editing, the 'Code' menu item disappears, but all of the other menu items remain de-activated. Also, the Code item is added after the Help item, which is non standard. Under the Oracle LnF, the behaviour is as expected.
    -(Have not replicated in 10G release) After switching from MS Windows to OSX using JDev 10G for both, leading square bracket characters ([) seem to be stripted from JavaScript in JSP pages. Additionally, an extra space is sometimes inserted after a litteral in square braces.  If you see something similar, please submit more details.  I have a more detailed writeup in the Technologies|Apple section - search for 'square bracket characters'.
    -Fixed: Structure pane incorrectly displayed multi-line JSP comments that started with carriage returns.
    ___New Issues in the 10G release (or not before found)___
    -On startup, several errors are listed in the JDev message pane:
    ================================
    /Applications/jdev/jdev/lib/ext/bc4j_installer.jar!/META-INF/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 24, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    /Applications/jdev/jdev/lib/ext/bigraphext.jar!/META-INF/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 17, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    ================================
    After adding the JUnit extension, I also get these messages at startup:
    =================================
    /Applications/jdev/jdev/lib/ext/jdev905_JUnit Folder/bc4j_junit_addin.jar!/meta-inf/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 39, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    /Applications/jdev/jdev/lib/ext/jdev905_JUnit Folder/junit_addin.jar!/meta-inf/jdev-ext.xml
    Error: <Line 4, Column 22>: XSD-2034: (Error) Element 'feature' not expected.
    Error: <Line 98, Column 14>: XSD-2021: (Error) Element not completed: 'extensions'
    ================================
    -The window location and/or size is not restored on startup. I typically run dual monitors with jdev full-screen on the larger of the two. jdev often starts less then full screen size or not in the full screen location.
    -Inner Classes are not properly used by JDev. This chunk of code:
    ================================
    import java.util.Map;
    //code in a method
    Map.Entry entry;
    ================================
    Results in JDev underlining Map.entry with a mouseover note that says 'Access not allowed for class 'java.util.Map.Entry'.
    -Find and Replace with 'prompt' option locks the editor (hard to replicate)
    -JDev will sometimes 'swallow' a keystroke while it is poping up a Code Insight box (hard to replicate)
    ___General Feature Requests___
    -Several of the common File menu options could be added to the context menu in the Application Navigator tab. For instance, Save As, Remove From Project, Delete, and Refactor-> are all common functions that are nice to have 'right there'.
    -When typing import statements, is there some way to have jdev continue showing context lists after a selection is made? For instance, when entering:
    import org.apache.commons.lang.RandomStringUtils;
    I type "org." which allows me to choose apache from the list. Then... nothing - I have to backspace to delete the '.' and retype it in order to get the next code completion popup. In JBuilder there was the option to select an item from the list by pressing the '.' (dot), which would immediately continue with another context selection box.

    Okay, lets see how many of these we can already deal with:
    ** General Look And Feel Issues:
    * Missing icons and redrawing issues in the file browser
    Loged as new bug 3609752
    * ...useScreenMenuBar has been depreciated message
    Can find this, are you sure this is not being confused with the antialiasing messages?
    * Dialog background colors
    Logged as bug 2610818
    * Open dialog sorting
    Logged as new bug 3609768
    * AWT exception on exiting:
    Logged as bug 3525259
    * Multi monitor bug
    Unfortunately we only have a few macs and non of them have more than one monitor at the moment. But from your description this problem seem to lie with Apple rather than us. I will keep an eye on it for you though.
    ** Error messages on startup
    I belive this is a common problem accross all platform.
    ** Inner classs issue
    Again this is a problem with all versions of JDeveloper. Logged as bug 3546309, not currently scheduled to be fixed until the next release. Note that this only seems to affect the highligthing in the editor and nothing else.
    ** Items not being saved, position not being restored.
    If you press Apple-Q the Java virtual machine will kill jdeveloper and not allow it to close down properly. This can be resolve by addin hooks provided by apple. For the 903 preview release we had an addin for this. I will look at providing a drop in for 9.0.5.1
    ** Symbolic links, and other enhancements
    In will invetigate symbolic links and get back to you. I will also look at tracing down ER or log bugs for the other enhancemnts you mention
    Thanks for the details,
    G.

  • AlertfileErr: ORA-02097 and ORA-00439 on Oracle 10g Rel 2 Stdrd Instances

    Hello,
    I need some help for the following alert file erros, that I get periodically on every database instance.
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-00439: feature not enabled: Database resource manager
    I red in another newsforum, that this ist a bug, cause Oracle Standard Edition uses functionality of the Enterprise Edition(=DB Resource manager). Is there any workaround for this? I don't have access to the Oracle metalink section.
    Database Resource Manager isn't installed in my environment.
    Environment:
    Windows 2003 SP1
    Oracle Database 10g Rel 2 (10.2.0.1) Standard Edition
    Hope anybody can help me.
    Thanks in advance,
    Zigi

    Yes,
    and That's exactly my problem. I haven't installed the resource manager. And I don't know which process, session, jobs or what ever tries to use the resource manager.
    I only created round about 50 Tables and views in the database, no stored procedures or anything special, no jobs.... only simple SQL Statements.
    and I'll get this message nearly every 6 hours. so what is going on there.
    The only thing, that i found was this:
    http://ora-02097.ora-code.com/msg/49049.html
    I don't have access to metalink so I don't know how to solve this problem.
    Can anybody help?

  • Forms 10g rel.2: new behaviour when accessing the db and not logged on

    If I start a form and I'm not connected, then I have a problem with one of my standard-logon-routines.
    This behaviour is new in 10g rel.2 I think.
    If I start a function on the db and the form is not connected I get a FRM-92101 - There was a failure in the forms server during startup...
    This is a migrated form, which runs in 6i, 9i, 10g rel.1, but not in rel. 2.
    Who nows a workaround ?

    see my post in this thread:
    FRM-92101 when user tries to log on with invalid password

  • Is it a bug in Oracle 10g rel 1

    I have server installed in Oracle 10g rel 1 and I have client installed as oracle10grel2. I am unable to export data from client machine. It is giving me a error. Can anyone help me out.
    Regards
    Vijay Kumar

    You need exp from 10gR1.
    Oracle works in downwards compatibility mode.
    This means lower version clients can connect to higher versions server, not necessarily the other way around.
    exp is a specific case as exp has sql statements hardcoded in the tool.
    Those statements are version specific.
    (One would wish Oracle would change exp to bail out immediately when connected to a lower version database)Due to this only, I need the URL for client of version 10g rel 1 for the server 10g rel 1.
    Regards
    Vijay Kumar

  • Oracle Application Server 10g Rel 3 and forms Application Deployment

    Dear All,
    I am in process of installing Oracle AS 10g rel 3. and I have an application (ERP) devloped in Oracle 10g IDS (Devloper Suite). So when I read the installation Doc for Oracle 10g rel3 installation I didn't get any information regarding the forms-reports component.
    So can somone please tell me how I can deploy my IDS based application in Oracle 10g Rel 3 Application Server. Or if there is any other process to deploy the application in application Server.
    Oracle AS 10g Rel3 DVD containing the following folder------ bpel, companioncd, esb, owsm, soa
    Thanks in Advance.
    Pradeep Sharma

    Hi Pradeep,
    Forms cannot be deployed in 10gR3. you need to have 10gR2.
    thanks,
    --Ranga                                                                                                                                                                                           

  • JDev 10g and EJB 2.0 on non-OC4J server

    It looks like JDev 10g only supports EJB 2.0 for OC4J out-of-the-box. Is this correct?
    If we wanted to generate EJB 2.0 CMP entity beans etc to deploy to a non-OC4J app server (e.g. JBoss) using JDev 10g, what would we need to do? Are there any tutorials/how-to's available?
    As a newbie to JDeveloper and J2EE, trying to work out how to re-write our Forms system in J2EE, I have to say I'm getting tired of how most of the JDev documentation - and much of the software - only seems to relate to using OC4J (or 9iAS) as your app server. If we and our customers wanted to be restricted an Oracle app server, we could just stick with Forms 9i and save ourselves a world of Java pain.
    Plus, nearly all the 10g client documentation relates to JSP clients, but we want a rich GUI using Swing (JClient would be useful but we can't figure out how to deploy it 3-tier to JBoss).
    So, Oracle, how about giving your users some more documentation on how to use JDev10g/JClient/ADF/EJB 2.0 etc with non-OC4J servers and perhaps even without JSP?
    I am sure that JDev10g and ADF could offer us a great deal of help in building our system, if only we could figure out how to use it.
    Thanks,
    Chris

    Thanks, Deepak.
    But the how-to is for old versions of JDev/JBoss:
    "This document was written for Oracle9i JDeveloper Release Candidate and JBoss 2.4.4 (Dated December 29, 2001), although other versions of Oracle9i JDeveloper and/or JBoss should behave the same."
    I'll let you know if this works with JDev 10g and JBoss 3.2.3, but I have my doubts.
    If anybody has some more recent information on this, please let me know!
    Chris

  • JALOPY and JDev 10g 9.0.5.1

    How can I incorporate jalogy in to Jdev 9.0.5.1?
    I followed the instructions on jalopy website and it worked perfectly for Jdev 10g Preview but not 9.0.5.1. All I did before was just copy the jar files into &lt;JDEV&gt;\jdev\lib\ext directory and restart JDev. Now it doesn't work. Thank you in advance.

    Thank you Rob for your fast response. However, it still doesn't work. However, I noticed that in the <JDEV9051>\jdev\lib\ext folder there is README.txt and it has some XML to define external plugins. I have not noticed it in the older release. Do I have to configure the plugins using XML config file now?
    Again thank you in advance.

  • Bug: Jdev 10g - templateDefinition won't allow expressionLanguage setting

    I've been migrating a set of pages from Jdev 10g Preview to Jdev 10g Production. I've got a UIX template (.uit) file with a templateDefinition like this:
    <templateDefinition xmlns="http://xmlns.oracle.com/uix/ui"
    xmlns:ui="http://xmlns.oracle.com/uix/ui"
    xmlns:data="http://xmlns.oracle.com/uix/ui"
    targetNamespace="http://www.paslists.com/pas/templates"
    localName="pasPageLayout"
    expressionLanguage="el">
    I get the following in the structure window:
    Errors(1)
    --- Attribute expressionLanguage not defined on element templateDefinition
    Can anyone help with this?

    I've managed to fix this myself, after reading about all the migration issues. It seems that the migration process copied some settings that caused Jdev 10g Production to map to some of the prior Jdev XML schemas and/or libraries. The solution was:
    1) Make sure Jdev is closed.
    2) Rename the <jdev_home>\jdev\system9.0.5.1.1605 to something else (just in case).
    3) Open JDev. Say no to any Migration questions.
    4) Open your workspaces (jws files) using the File->Open dialog
    I'm assuming, of course, that these projects are already JDev 10g Production projects. If they are not, then I think the procedure would be:
    1) Install Jdev 10g Production
    2) Run Jdev 10g Production. Say Yes and migrate settings and projects.
    3) Follow the steps above to fix the migrated settings.
    This should get your projects migrated to the new formats without contaminating them with old libraries/schemas.
    I'll repost if I find something that breaks due to this procedure. I do know that it resolved my error messages.

  • BPA suite 11g and Jdev 10g

    hello,
    BPA11G is also compatible with JDEV10 ? I can use Jdev 10g with BPA suite 11g or not ? or we must install Jdev 11g ? (send a document about this)
    BR,

    Hi,
    please install the JDeveloper 11g and apply the newest "BPA Extension for JDeveloper". Install the BPA Extension using the JDeveloper Update Center. From the JDeveloper menu choose Help > Check for Updates. Browse and pick the pcbpel_bundle.zip found in the Oracle BPA Suite 11g Addons.
    It is necessary to keep the JDeveloper and BPA Suite version consistent, especially for the major releases 10 or 11. This is because in 11g a BPEL process is part of a SOA Composite, which means the technical concept has been changed as well.
    Best regards,
    Danilo

  • JDev 10g and Variable Highlighter

    In the production version of JDev 10g, Variable Highlighter extension(http://home.t-online.de/home/simeon.zverinski/variablehighlighter/index.html), which is so much useful, does not work properly. Quick navigation between variable occurrences functionality is lost. I would appreciate if anybody could suggest me how to fix this.
    Regards,
    Naveen

    Hi,
    This version works with keystrokes:
    http://www.dubh.org/jdevaddins/varhigh-jdev-v1.2.4.jar
    You need to delete the old version from lib/ext). It's not configured to use shortcuts by default, you need to go to Tools->Preferences->Accelerators. In the Code Editor category, look for these actions and assign them whatever accelerators you want:
    Move to Declaration
    Move to Next Vriable Occurrence
    Move to Original Vriable Occurrence
    Move to Previous Vriable Occurrence
    Rename Variable
    Let me know if there are any problems...
    Thanks,
    Brian

  • Jdev 10g: property inspector bug

    jdev 10g and ADF FACES EA15.
    The property inspector is not showing the value of "valuePassThru" on af:selectOneRadio controls.

    Hi Larry,
    Thanks a lot for bringing to our notice. I will test it and report it to appropriate team, so that it gets fixed.
    Regards,
    Vijay Venkataraman

  • Jsp 2.0 and jdev 10g production (custom tags)

    there are some examples at
    http://otn.oracle.com/sample_code/tech/java/jsps/index.html
    I have certian questions it would be great if some one would clear these for me..
    In JSP 1.2 if we wanted to write the custom tag's we had tag classes that extend TagSupport or TagBodySupport and the doStart() and doEnd() tag with the evaluate body. I could spit out the complete html text on an encounter of a tag! but in the JSP 2.0 a doTag() seems to take care of the intracies! how??
    Now with jsp 2.0 I want to do the same... say some thing like this ....
    <tg:myTag list="${somelist}"></tg:myTag> and say in my tag handler class I know what to do with this list. May be I will create complete html code and will use jspWriter to write out the html inbetween these tags!!
    I have downloaded the eStore example but this class
    javax.servlet.jsp.tagext.SimpleTagSupport; is not imported. So I am not able to look at the SimpleTagSupport class.
    If I am trying to run the example in jdev 10g production should I have to specify that I am using jsp 2.0 so that jdev knows not to use jsp 1.2? if so how can I do this.
    Does all the examples provided use the OC4J standalone? Can I use the embedded oc4J instead?
    regards.

    After reading a bit more now I know how the tags work.
    However from the example I see (eStore) an array called by name "products" is created and set on the jspContext. If I already have the list and want to pass on the list which is in a bean or a session or a request can I provide it this way.
    <tag:myTag var=${bean.list}>
    or
    <tag:myTag var=${session.list}>
    or
    <tag:myTag var=${request.list}>in the .tld file I should specify the attribute var and whether it should be runtime evaluable.
    and in the TagClass
    private Collection var;
    private String listName;
    public void setVar(Colloection aList) {
      this.var = aList;
    public Collection getVar() {
      return var;
    public void doTag( ) throws JspException{
      // do i always need to this next line ------
      getJspContext( ).setAttribute(listName, getVar());
    }so that in my .tag file I can use some thing like this
    <c:forEach var="list" items="${item}">
      <td>${item.subObject.name}</td>
      <td>${item.subObject.value}</td>
    </c:forEach>And finally... as and when a tag is encountered the .tag file contents corresponding to that tag is called to get the html text and all that text is printed out in the jsp page right (without the jspWriter "out"). How does the browser know when to stop? like doEndTag() function? are these functions implicitly called?
    regards.

  • Should n't there be a separate forum for JDev 10g and another for 11g?

    Dear experts,
    Since there are still long and ongoing projects using JDev 10g, it would be convenient to split this forum into two ,
    so that searches would be faster and finding the right solution for the correct version of JDev would be easier and quicker .
    Besides, Oracle would have a more precise adoption rate of the newer version 11g and adapt its resources accordingly.
    Hoping for your feedback and adoption,
    NA
    Edited by: Nick Aiva on Dec 22, 2009 10:37 AM

    Oh really?
    Please take a look at this recent question of mine:
    Re: How do I prevent reset() function of shuttle from executing?
    Re: How do I prevent reset() function of shuttle from executing?
    How do I prevent reset() function of shuttle from executing?
    only to get the answer of two links for the 11g version library!
    Thank you anyway for replying!

Maybe you are looking for