The Ongoing Toplink Saga
Another thing I hate about Toplink. The mapping editor support within JDeveloper is not compatible with the standalone Mapping Workbench. They are built using different offline DB and Java class definitions.
Two tools built by Oracle. Both do the same thing as far as Toplink is concerned. They configure a datasource for Toplink interaction. Yet they use different foundation classes and output configuration files that are incompatible with one another? WTF? Not only that, but they aren’t even smart enough to recognize when this occurs. So when you open a file in one that you created in the other you just get this:
oracle.toplink.workbench.framework.OpenException: java.lang.NullPointerException at oracle.toplink.workbench.scplugin.SCPlugin.open(SCPlugin.java:113) at oracle.toplink.workbench.framework.internal.FrameworkApplication.open(FrameworkApplication.java:689) at oracle.toplink.workbench.framework.internal.FrameworkNodeManager.openCallback(FrameworkNodeManager.java:341) at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run2(RunnableProjectLoader.java:76) at oracle.toplink.workbench.framework.internal.RunnableProjectLoader.run(RunnableProjectLoader.java:63) at java.lang.Thread.run(Thread.java:595) Caused by: java.lang.NullPointerException at oracle.toplink.tools.sessionconfiguration.DTD2SessionConfigLoader.load(DTD2SessionConfigLoader.java:70) at oracle.toplink.tools.sessionconfiguration.XMLSessionConfigLoader.loadConfigsForMappingWorkbench(XMLSessionConfigLoader.java:146) at oracle.toplink.tools.sessionmanagement.SessionManager.getInternalMWConfigObjects(SessionManager.java:149) at oracle.toplink.workbench.scplugin.model.adapter.RootSCAdapter.load(RootSCAdapter.java:110) at oracle.toplink.workbench.scplugin.model.adapter.RootSCAdapter.(RootSCAdapter.java:69) at oracle.toplink.workbench.scplugin.model.adapter.TopLinkSessionsAdapter. (TopLinkSessionsAdapter.java:56) at oracle.toplink.workbench.scplugin.SCPlugin.open(SCPlugin.java:110) ... 5 more
Way to go Oracle. Thanks for making your tools developer friendly.
So I’m off to download and install the 441MB JDeveloper package instead of the 28MB Toplink Workbench. Later.
