facebook

Sybase DB Connection

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #316724 Reply

    panickert
    Member

    Hello,

    I am using MyEclipse 9.
    I was able to successfully connect to the sybase db with proper driver.
    After connected, it shows all the databases/schema’s on the server.

    However, when double click to open the selected database to view tables etc, I get null pointer exception.

    Kindly let me know should you need more info.

    Thanks

    #316739 Reply

    support-swapna
    Moderator

    panickert,

    1) Can you share your build id from Help > About MyEclipse Enterprise Workbench ? Paste it here.

    2) Clear the contents of the .log file which is located at < workspace dir>/.metadata/.log. Now replicate the issue and copy paste the contents of the .log file here.

    #317499 Reply

    panickert
    Member

    Installation Summary

    
    *** Date: 
    Tuesday, June 14, 2011 11:24:01 AM EDT
    
    ** System properties:
    OS=WindowsXP
    OS version=5.1.0
    Java version=1.5.0_22
    
    
    *** MyEclipse details:
    MyEclipse Enterprise Workbench
    Version: 9.0
    Build id: 9.0-20110318
    
    
    *** Eclipse details:
    Eclipse IDE for Java Developers
    
    Version: Helios Service Release 2
    Build id: 20110218-0911
    
    
    
    Eclipse Platform
    
    Version: 3.6.2.r362_v20110210-9gF78Gs1FrIGnHDHWkEcopoN8AmxeZflGDGKQi
    Build id: M20110210-1200
    
    
    Eclipse Java Development Tools
    
    Version: 3.6.2.r362_v20101117-0800-7z8XFW6FLFlmjJcvz03jyeFBLS_F
    Build id: M20110210-1200
    
    
    Eclipse Graphical Editing Framework GEF
    
    Version: 3.6.1.v20100908-1100-777B181A3Bz-6B663E7974242
    Build id: 201009132020
    
    
    Eclipse RCP
    
    Version: 3.6.2.r362_v20101104-9SAxFMKFkSAqi8axkv1ZjegmiBLY
    Build id: M20110210-1200
    
    
    Eclipse Plug-in Development Environment
    
    Version: 3.6.2.r362_v20110203-7b7mFL2FET3dhHalh1iNZtL
    Build id: M20110210-1200
    
    
    
    
    Eclipse startup command=-os
    win32
    -ws
    win32
    -arch
    x86
    -showsplash
    -launcher
    C:\java\eclipse\fastIDE2\eclipse\ide\eclipse.exe
    -name
    Eclipse
    --launcher.library
    C:\java\eclipse\fastIDE2\eclipse\ide\plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.2.R36x_v20101222\eclipse_1312.dll
    -startup
    C:\java\eclipse\fastIDE2\eclipse\ide\plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar
    -exitdata
    272c_60
    -product
    org.eclipse.epp.package.java.product
    -vm
    C:/Program Files/Java/jdk1.5.0_22/bin/javaw.exe
    
    
    

    <workspace>/.metadata/.log content

    
    
    !ENTRY org.eclipse.jface 4 2 2011-06-14 11:28:28.716
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.jface".
    !STACK 0
    java.lang.NullPointerException
        at com.genuitec.eclipse.sqlexplorer.model.CatalogNode.getSchemas(CatalogNode.java:114)
        at com.genuitec.eclipse.sqlexplorer.model.CatalogNode.getChildren(CatalogNode.java:98)
        at com.genuitec.eclipse.sqlexplorer.views.DatabaseContentProvider.getChildren(DatabaseContentProvider.java:71)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1354)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:391)
        at org.eclipse.jface.viewers.StructuredViewer.getFilteredChildren(StructuredViewer.java:896)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:601)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:801)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:778)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749)
        at org.eclipse.jface.viewers.AbstractTreeViewer.setExpandedState(AbstractTreeViewer.java:2436)
        at com.genuitec.eclipse.sqlexplorer.views.DatabaseTreeViewer$5.doubleClick(DatabaseTreeViewer.java:164)
        at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:824)
        at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
        at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
        at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
        at org.eclipse.jface.viewers.StructuredViewer.fireDoubleClick(StructuredViewer.java:822)
        at org.eclipse.jface.viewers.AbstractTreeViewer.handleDoubleSelect(AbstractTreeViewer.java:1421)
        at org.eclipse.jface.viewers.StructuredViewer$4.widgetDefaultSelected(StructuredViewer.java:1225)
        at org.eclipse.jface.util.OpenStrategy.fireDefaultSelectionEvent(OpenStrategy.java:238)
        at org.eclipse.jface.util.OpenStrategy.access$0(OpenStrategy.java:235)
        at org.eclipse.jface.util.OpenStrategy$1.handleEvent(OpenStrategy.java:296)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1053)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4066)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3657)
        at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
        at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
        at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
        at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
        at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
        at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
        at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
        at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
        at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:592)
        at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
        at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
        at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
        at org.eclipse.equinox.launcher.Main.main(Main.java:1384)
    
    
    #317518 Reply

    support-swapna
    Moderator

    panickert,

    Sorry that you ran into this issue.
    This seems to be a compatibility issue with some plugins.
    Can you check if you see the same issue even after following the suggestions here :
    https://www.genuitec.com/forums/topic/nullpointer-on-creating-a-webservice-client/#post-317517

    Let me know how this works for you.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Sybase DB Connection

You must be logged in to post in the forum log in