Mapping editor not working with Java 5 classes

I have a small protoype web service which I wrote using Tomcat/Axis/Spring/Hibernate and using EJB3 annotations for the mappings. I want to port the persistence layer to Toplink.
I installed Toplink 9.0.4.1 and added the toplink libraries to my project and implemented the DAO and the spring bean defs.
I opened the mapping editor and created a project. When I try to add classes to it for mapping I get an error that it can't find the classes (even though I selected them from the chooser). I figured it might be that they were compiled with Java 5, so I switched the JRE_HOME in setenv.cmd to my Java 5 JRE. Now I can import the classes and see the attributes but when I click on any of them in the Navigator panel, the editor panel remains blank. If I now try to save, I get:
java.lang.NullPointerException
     at oracle.toplink.workbench.ui.tools.CheckListModel.getRowCount(CheckListModel.java:119)
     at javax.swing.JTable.checkLeadAnchor(JTable.java:2949)
     at javax.swing.JTable.tableChanged(JTable.java:2993)
     at javax.swing.JTable.setModel(JTable.java:2827)
     at oracle.toplink.workbench.ui.tools.CheckList.initialize(CheckList.java:47)
     at oracle.toplink.workbench.ui.tools.CheckList.<init>(CheckList.java:26)
It seems that the mapping workbench doesnt work with Java 5. What should I do?

Ah, I see. I saw another post here stating that must use 10.1.3.

Similar Messages

  • Applets not working with Java 1.7.0_51 in MII 14.0 SP4 Patch 5

    Hi,
    I'm currently evaluating the migration of our MII 12.0 developments to MII 14.
    But I'm running in several issues just trying to use simple things like a SQL query template with an iGrid Display template in test mode.
    Used versions are: MII 14.0 SP4 Patch 5 and on client side the latest Mozilla Firefox with Java 1.7.0_51
    At first I always get a java security warning when the applet is being loaded about unsigned applications.
    At second the applet itself is not running. It always shows "No data available" and the java console shows the following errors (iResult is the id of the applet):
    iResult [ERROR] - Couldn't set query template: No Query Defined
    iResult [ERROR] - Couldn't set display template: null
    iResult [ERROR] - Couldn't set display template: null
    Is this perhaps a general problem, that the MII applets are not working with Java 1.7.x versions?
    If I call the same MII page from a client with Java 1.6.x it is working without errors.
    Do you have some suggestions for me?
    Regards Timo

    please clear your JAVA Cache. that should solve the JRE issue. thanks

  • Why windows command prompt is not working with java

    I installed java 1.6 to my computer (Laptop) and it is perfectly working with Netbeans and Eclipse
    but not working with windows xp xommand prompt
    It compiles the code but when it is going to run it throw the following exception
    Exception in thread "main" java.lang.UnsupportedClassVersionError: Example (Unsupported major.minor version 50.0)
            at java.lang.ClassLoader.defineClass0(Native Method)
            at java.lang.ClassLoader.defineClass(Unknown Source)
            at java.security.SecureClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.defineClass(Unknown Source)
            at java.net.URLClassLoader.access$100(Unknown Source)
            at java.net.URLClassLoader$1.run(Unknown Source)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.net.URLClassLoader.findClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClass(Unknown Source)
            at java.lang.ClassLoader.loadClassInternal(Unknown Source)I've reinstalled java 1.6, but the output is same
    Please help me to get it correct
    Thank you

    E:\oracle\ora92\bin;C:\Program Files\Oracle\jre\1.3.1\bin;C:\Program Files\Oracl
    e\jre\1.1.8\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Progr
    am Files\Microsoft SQL Server\90\Tools\binn\;C:\OrCAD\OrCAD_10.0\tools\pcb\bin;C
    :\OrCAD\OrCAD_10.0\tools\specctra\bin;C:\OrCAD\OrCAD_10.0\tools\bin;C:\OrCAD\OrC
    AD_10.0\tools\PSpice\Library;C:\OrCAD\OrCAD_10.0\tools\fet\bin;C:\OrCAD\OrCAD_10
    .0\tools\jre\bin;C:\OrCAD\OrCAD_10.0\tools\Capture;C:\Program Files\QuickTime\QT
    System\;C:\Program Files\Java\jdk1.6.0_01\bin;C:\Program Files\Microsoft Visual
    Studio\Common\Tools\WinNT;C:\Program Files\Microsoft Visual Studio\Common\MSDev9
    8\Bin;C:\Program Files\Microsoft Visual Studio\Common\Tools;C:\Program Files\Mic
    rosoft Visual Studio\VC98\bin;

  • SDM still not working with Java v6u15

    I keep waiting for Java to work some day with their updates on Cisco SDM. Update 14 at least allowed SDM to open. But the new update 15 still hasn't passed the test of clicking on the Configure button and then the Additional Task button. It just doesn't do anything. If it is something that Cisco can fix, please be aware.
    Thanks,
    .. Jim ..

    Hi Jim, you need to downgrade the JAVA version on the computer you want to use SDM.
    SDM does not support java after: 6u3.
    Cisco SDM requires Sun Java Runtime Environment (JRE). The following versions are supported:
    •JRE 1.5_09
    •JRE1.4.2_08
    •JRE 1.5.0_06
    •JRE 1.5.0_07
    •JRE 1.6.0_02
    •JRE 1.6.0_03
    As per the release notes.
    http://www.cisco.com/en/US/docs/routers/access/cisco_router_and_security_device_manager/software/release/notes/SDMr25.html
    This will resolve your issue.
    Cisco does not plan to fix this as SDM is end of life.
    The product that replaces SDM is CCP: Cisco Configuration Professional, that one works with JAva 6 update 14, but it's a different product. It's also a freeware you can download from our website.

  • Hibernate mapping editor not working fully

    My hibernate mapping editor is not working fully. I can manually enter a new property into the xml and the design pane will update but if I try to add a new property in the design pane it only adds "<property/>" without the attributes specified.
    I looked at my workshop log and I did find the following exception:
    BEGIN EXCEPTION-
    !ENTRY org.eclipse.ui 4 0 2007-03-13 09:08:37.939
    !MESSAGE Failed to execute runnable (java.lang.NullPointerException)
    !STACK 0
    org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException)
         at org.eclipse.swt.SWT.error(SWT.java:3374)
         at org.eclipse.swt.SWT.error(SWT.java:3297)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126)
         at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3325)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2971)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914)
         at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878)
         at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419)
         at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
         at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95)
         at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92)
         at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400)
         at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336)
         at org.eclipse.core.launcher.Main.basicRun(Main.java:280)
         at org.eclipse.core.launcher.Main.run(Main.java:977)
         at org.eclipse.core.launcher.Main.eclipse_main(Main.java:952)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at com.m7.installer.util.NitroxMain$1.run(NitroxMain.java:36)
         at java.awt.event.InvocationEvent.dispatch(Unknown Source)
         at java.awt.EventQueue.dispatchEvent(Unknown Source)
         at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
         at java.awt.EventDispatchThread.run(Unknown Source)
    Caused by: java.lang.NullPointerException
         at com.m7.wide.doceditor.XmlTagCommander$_A.actionPerformed(Unknown Source)
         at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
         at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
         at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
         at javax.swing.AbstractButton.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
         at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
         at java.awt.Component.processMouseEvent(Unknown Source)
         at javax.swing.JComponent.processMouseEvent(Unknown Source)
         at java.awt.Component.processEvent(Unknown Source)
         at java.awt.Container.processEvent(Unknown Source)
         at java.awt.Component.dispatchEventImpl(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
         at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
         at java.awt.Container.dispatchEventImpl(Unknown Source)
         at java.awt.Window.dispatchEventImpl(Unknown Source)
         at java.awt.Component.dispatchEvent(Unknown Source)
         at com.m7.wide.eclipse.jstudio.Plugin$_A.A(Unknown Source)
         at com.m7.wide.eclipse.jstudio.Plugin$4.run(Unknown Source)
         at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
         at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
         ... 32 more
    ---END EXCEPTION---
    Any ideas on how to fix this?
    Thanks,
    Avi.

    Yes, there is a known issue using the latest update of 1.4.2 or 1.5.0 vm.
    Generally, Workshop should work fine with 1.4.2 or 1.5.0 series. You can find the supported platform info at
    http://edocs.bea.com/workshop/docs92/supportedplatforms33.html
    FYI:
    http://forums.bea.com/bea/thread.jspa?threadID=400001144&tstart=15&mod=1169490304818
    http://forums.bea.com/bea/thread.jspa?threadID=400001987&tstart=0&mod=1172533558688

  • {@inheritDoc} not working for Java Classes

    Hello,
    i am using {@inheritDoc} for inherting super class's JavaDoc for a perticular function..
    It is working, if super class is my own class. i am able to see all JavaDoc in child class.
    But when i use {@inheritDoc} for extending JavaDoc of java class it is not working.
    i.e. if i am writing {@inheritDoc} in public void actionPerformed(ActionEvent e) method..
    It wont show any javadoc..
    How to add it? Do i need to give source of java classes too???
    And if it is Yes, then where to specifiy. and where to find source of Java classes, do they come with JDK? or NetBeans?? (If yes then where it is in JDK or Netbeans???)
    Thanks,
    Nachiket.

    Yes, you need to have the Java source, with the -sourcepath option, as described here:
    Inheriting Comments from J2SE - Your code can also automatically inherit comments from interfaces and classes in the J2SE. You can do this by unzipping the src.zip file that ships with the SDK (it does not contain all source files, however), and add its path to -sourcepath. When javadoc runs on your code, it will load the doc comments from those source files as needed. For example, if a class in your code implements java.lang.Comparable, the compareTo(Object) method you implement will inherit the doc comment from java.lang.Comparable.
    http://java.sun.com/j2se/javadoc/faq/#incrementalbuild
    If you want the full Java source get it from here:
    http://www.sun.com/software/communitysource/j2se/java2/index.xml
    http://java.sun.com/j2se/javadoc/faq/#sourcecode
    -Doug

  • DNG Profile Editor not working with new Profiles from LR 3.6?

    I'm noticing that DNG Profile Editor is not really able to work with profiles from newly supported cameras, like the X10. Apparently the profile spec has been updated. Has DNG Profile Editor been abandoned or will it be updated to work with the new spec? I really hope it is!

    Thanks.  I am looking forward to editing the v4 profiles for the D700 - I just want to change a few colors in the existing profiles.  I think the existing v4 profiles do an excellent job of matching the Nikon colors, but I don't like a few of the Nikon colors.  Some colors have too much Red, but Red is too Orange. 
    I have selected a number of images that have colors I want to change.  I selected the Camera Neutral (v0) and Camera Portrait (v0) and using the latest DNG Profile Editor I select the 18 colors from the Color Checker Chart.  I then use the images that have the colors I want to change and determine which of the 18 points I selected from the Color Checker are close.  I then edit those points - only 6 points.  I only need to change the Hue by 5 units or less.  I don't change any of the other selected points of the Color Checker, but feel that by selecting them I locked in the exisiting colors.  Hope this is a good aproach. 
    I wish Nikon would do something equivalent to the DNG Profile Editor for their Picture Control profiles so they could be edited and loaded into the camera.  

  • ASA Rdp plugin not working with Java 7 Update 55

    When accessing the clientless VPN on an ASA 5510 with Java 7 Update 51, the RDP and VNC plugins work exactly as they should. But now that Java 7 Update 55 is out, the plugins once again are useless, as they throw Java security exceptions about "attempted to open a sandboxed jar <applet url here> as Trusted-Only".
    This happens even with the most up to date RDP and VNC plugins available on the Cisco website. Is anyone else having these problems, and know of any solutions or if Cisco is working on this problem at all?
    Thanks

    I've tried various Java Versions but no luck at all.
    Last try was with:
    Java-Plug-in 11.5.2.13
    JRE-Version verwenden 1.8.0_05-b13 Java HotSpot(TM) Client VM
    I am also getting following error:
    Missing Application-Name manifest attribute for: https://<mywebsite>++/rdp/properJavaRDP14-1.1.jar
    All known workarounds are done to fix the problem. Could anyone confirm that this is fixed with ASA version 9.1.4 ? Its a productive ASA so i do not want to test around for a maybe :) 
    Best Regards
    Ayhan

  • Quick time not work with java programming

    I'm student and I want to use java .
    but it don't work with quick time .
    java can't run if I have quick time in my computer .
    (It works if I uninstall quick time)
    And how can I use iTunes without quicktime Or how can I
    fix that problem .
    Some one pls. HALP ME!!!!!
    Notebook   Windows XP Pro  

    Help Apple, Please!!!!
    I have still this problem!
    If I install QuickTime (7.0.3) all Java applications will not run.
    It works if I uninstall QuickTime...!
    Please help!
    Thanks

  • Analyzer Not working with Java 1.6

    Does anyone know why Analyzer 7.2.5.3 works ok with Java 1.4.2 even with Java 1.5 versions, but as soon as a client also installs 1.6 it stops working? Also what can I do to alleviate this, without removing 1.6 from machines as it is now our companies standard version.
    Thx in advance.

    I am experiencing the same issue. About 500 users are using Analyzer 7.0. When Java 1.6 is installed on their machine, the loading screen hangs, and never shows the login screen.

  • Arrays that work with Java Class

    Good Day all.
    Currently, I am working on a program that is giving me a bit of trouble starting...can anyone give me assistance and try to tell me what I am doing incorrectly?
    Here is the tasking:
    Main Method
    1. Output statement to screen saying this program will accept hours worked for 3 employees.
    2. Declare an Integer Array to hold 3 employees hours. Call this array "employees"
    3. Main Method then calls inputData Method (Passing array as argument) do not accept any return value.
    4. Main Method then calls outputData Method (Passing array as argument) do not accept any return value.
    import java.util.*;
    import java.text.DecimalFormat;
    public class Arrays
    { /*This starts the Arrays*/
         public static void main (String[] args)
         Scanner scannerObject = new Scanner(System.in);
         Scanner keyboard = new Scanner(System.in);
    inputData(employees);
         System.out.println("This program will accept hours worked for 3 employees.");
         String[]employees = new String [3];

    How am I coming along....I started with the MAIN Method...Now I have started and created a MONSTER with this other portion of my program
    Main Method
    1. Output statement to screen saying this program will accept hours worked for 3 employees.
    2. Declare an Integer Array to hold 3 employees hours. Call this array "employees"
    3. Main Method then calls inputData Method (Passing array as argument) do not accept any return value.
    4. Main Method then calls outputData Method (Passing array as argument) do not accept any return value.
    InputData Method (Receives Arrary)
    1. Gers input using a for loop for each employees hours into the array elements.
    2. Prompt the user with the following phrase. Enter hours worked for employee #: (Where # is the employee number 1-3)
    Can anyone tell me what is going god awfully wrong with this program? LAUGHING
    SUSAN
    import java.util.*;
    import java.text.DecimalFormat;
    public class CS219Arrays
    { /*This starts the Arrays*/
    public static void main (String[] args)
    Scanner scannerObject = new Scanner(System.in);
    Scanner keyboard = new Scanner(System.in);
    int numberOfHours = 0;
    System.out.println("This program will accept hours worked for 3 employees.");
    String[]employees = new String [3];
    for (int index = 0; index < employees.length; index ++)
    System.out.println(employee[index]);
    /*** Used to get input from the user and store the results in an array
    @param employees The array to store the data that the user enters in*/
    public static void inputData(String[] employees) {
    // Get user input and place it in the employees array
    /*** Used to output the data @param employees the array to output*/
    private static void outputData(String[] employees) {
    // Display each element of the employees array
    System.out.println("Enter hours worked for employee #: (where # is the employee number 1-3)");
    numberOfHours = keyboard.nextInt();
    }

  • Table Editor not working with reference

    Java work on references right..
    I have a static Vector in my main class.
    Then i have a JTable in one of the subsequent classes which will come up on one of the action performed events.
    now this JTable has a DefaultCellEditor which here is a JComboBox, for this editor i'm passing a Vector of my main class.
    after initiating and attaching this cell editor to the JTable.
    some times later i'm updating my static Vector.
    but i don't see the changes in the JTable's editor, i get the old values.
    If it is a reference i was expecting it should show the real time value of he vector.
    please help me what i'm missing
    Thanx in adv,
    Nas.

    This is (probably) a problem of notifications.
    Because of speed issues, the combobox doesn't remake the dropdown contents unless it's notified to do so.
    Instead of:
    JComboBox comboBox = new JComboBox(vector);
    vector.add/set/...(object, i);
    do
    final DefaultComboBoxModel model = new DefaultComboBoxModel(vector);
    final JComboBox comboBox = new JComboBox(model);
    and when you need to change the vector:
    model.removeElement(object);
    model.removeElementAt(i);
    model.insertElementAt(object, i);
    This methods in the default model fire events notifying the combobox of the changes.

  • Sdk 3b Remote Objects not working with java 1.6.29

    So I am not sure if this is java specific or if there is anything in Flex I can do.
    I am working on a project that communicates with the java back end via the AMF channels / Consumer objects and Remote Objects. Usking SDK 3b
    In Java 1.6.26 and java 1.7 it works fine.  However in java 1.6.29 The remote objects seem to not get called/communicated/execute on the java server side. 
    Interesting thing to note is that the consumer/AMF feeds are still able to function.
    Was there any change that Adobe has documented that may have caused this to happen when they changed the java version? or any solution around this as a requirement is to use 1.6.29?

    So it aprears that it works via MXML however when I try to define it in actionscript it recieves no events, messages, etc.  Looking at the serverside print statements it appears the call never goes through.

  • Google and yahoo maps do not work with safari - how can I get driving instructions on my Mac Pro? Thank you

    I am unable to use yahoo or goggle maps with safari browser - anyone know a work around? Thank you

    I use MapQuest.
    There should, however, be a reason that you can't get Yahoo or Google maps to work.
    Clinton

  • JDeveloper installation not working with Java 1.7 Update 11

    Hi,
    I am trying to install jDeveloper (11.1.1.6.2) for Fusion Applications Release 4 using Java 1.7 and its failing with a fatal error. I am on Mac Lion Version 10.7.5. Any ideas how to overcome this !?

    I am afraid that's a configuration that isn't certified (and presumably for the reason you discovered). See
    http://www.oracle.com/technetwork/developer-tools/jdev/index-091111.html
    This blog post has some "coverage" of that topic as well:
    https://blogs.oracle.com/blueberry/entry/how_to_saddle_your_mountain
    Hope this helps a bit.
    Oliver
    Fusion Apps Developer Relations
    http://blogs.oracle.com/fadevrel

Maybe you are looking for

  • Is there anyway i can create a new apple id with my outlook email

    somebody help me before this ****** me off!

  • Does the iPod nano 6th gen have Bluetooth?

    I would like to know if the iPod nano 6th gen has Bluetooth so I can do things like Nike's heart beat sensor and such, also does it have wifi or air play?

  • Can a measure map to multiple fact tables

    Hi Experts, Can A Measure in an Universe map to multiple fact tables? For example, we have sales detail table by day and store and product, and have sales summary table by day and region and (product) department. We like to create a measure to map to

  • No " Find " Button in CUCM End User Configuration

    Hello Community, we have two different 8.6.2 CUCM with the same Version. I visit the two CUCM w/ the same PC and Browser. I go to End User Configuration and Edit one of the Users. I do this on both of this CUCM. At one of the  CUCM I see the "Find Bu

  • Lost my BlackBerry Curve 9220. - help!

    I just lost my BlackBerry Curve 9220. I had not taken note of the IMEI number of the device? But I have the PIN. How can I get the IMEI number ? How can I wipe out all data from that device ? Awaiting valuable advise from the Forum .... Best Regards,