Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319992 - Exception
Summary: Exception
Status: RESOLVED NOT_ECLIPSE
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: unspecified   Edit
Hardware: Other Linux
: P3 major (vote)
Target Milestone: 3.7.0   Edit
Assignee: Birt-ReportEngine-inbox@eclipse.org CLA
QA Contact: Xiaoying Gu CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-15 10:33 EDT by Wael Mashal CLA
Modified: 2011-05-26 13:32 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Wael Mashal CLA 2010-07-15 10:33:52 EDT
Build Identifier: 2.6

when i update my Birt from 2.3.2 to the new one 2.6 and I use the same code when i call this line in my code 

design.setDesignHandle(handle); 

i got this exception 

!ENTRY org.eclipse.ui.workbench 4 2 2010-07-14 09:50:19.602
!MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
!STACK 0
java.lang.NullPointerException
    at com.cisco.easycopy.actions.EasyCopyAction.selectionChanged(EasyCopyAction.java:114)
    at org.eclipse.ui.internal.PluginAction.refreshEnablement(PluginAction.java:206)
    at org.eclipse.ui.internal.PluginAction.selectionChanged(PluginAction.java:277)
    at org.eclipse.ui.internal.ObjectPluginAction.partClosed(ObjectPluginAction.java:49)
    at org.eclipse.ui.internal.PartListenerList2$3.run(PartListenerList2.java:100)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.core.runtime.Platform.run(Platform.java:888)
    at org.eclipse.ui.internal.PartListenerList2.fireEvent(PartListenerList2.java:55)
    at org.eclipse.ui.internal.PartListenerList2.firePartClosed(PartListenerList2.java:98)
    at org.eclipse.ui.internal.PartService.firePartClosed(PartService.java:227)
    at org.eclipse.ui.internal.WorkbenchPagePartList.firePartClosed(WorkbenchPagePartList.java:39)
    at org.eclipse.ui.internal.PartList.partClosed(PartList.java:274)
    at org.eclipse.ui.internal.PartList.removePart(PartList.java:186)
    at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1714)
    at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1422)
    at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1406)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1380)
    at org.eclipse.ui.internal.WorkbenchPage.closeEditor(WorkbenchPage.java:1444)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.openEditor(SourceLookupFacility.java:288)
    at org.eclipse.debug.internal.ui.sourcelookup.SourceLookupFacility.display(SourceLookupFacility.java:219)
    at org.eclipse.debug.ui.DebugUITools.displaySource(DebugUITools.java:792)
    at org.eclipse.debug.internal.ui.elements.adapters.StackFrameSourceDisplayAdapter$SourceDisplayJob.runInUIThread(StackFrameSourceDisplayAdapter.java:155)
    at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:95)
    at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35)
    at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134)
    at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3468)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3115)
    at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405)
    at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369)
    at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
    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:368)
    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:597)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1311)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1287)

!ENTRY org.eclipse.jdt.launching 4 113 2010-07-14 10:49:52.552
!MESSAGE Failed to connect to remote VM. Connection refused.
!STACK 0
java.net.ConnectException: Connection refused
    at java.net.PlainSocketImpl.socketConnect(Native Method)
    at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
    at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
    at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
    at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
    at java.net.Socket.connect(Socket.java:529)
    at java.net.Socket.connect(Socket.java:478)
    at java.net.Socket.<init>(Socket.java:375)
    at java.net.Socket.<init>(Socket.java:189)
    at org.eclipse.jdi.internal.connect.SocketTransportService$2.run(SocketTransportService.java:136)
    at java.lang.Thread.run(Thread.java:619)





Reproducible: Always
Comment 1 Jun Ouyang CLA 2010-11-02 02:12:37 EDT
See, the exception is thrown from custom code:
com.cisco.easycopy.actions.EasyCopyAction.selectionChanged