Getting java.lang.Null pointer Exception when i close the pdf file.

Hi,
my application is java based thick client application.
From my application, i am generating report file using crystal report tool.
the report file is exported as pdf format and stored in my local macine. from this path, am displaying the report in a SWT browser.
till now its working fine. when i close the browser, i am getting java.lang.null.pointer exception.
i dont understand from this exception, printed in console.
please help me.
java.lang.NullPointerException
at org.eclipse.swt.ole.win32.OleClientSite.onPaint(OleClientSite.java:921)
at org.eclipse.swt.ole.win32.OleClientSite.access$2(OleClientSite.java:906)
at org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleClientSite.java:131)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012)
at org.eclipse.swt.widgets.Composite.WM_PAINT(Composite.java:1424)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3842)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541)
at org.eclipse.swt.internal.ole.win32.COM.CoFreeUnusedLibraries(Native Method)
at org.eclipse.swt.ole.win32.OleClientSite.releaseObjectInterfaces(OleClientSite.java:1084)
at org.eclipse.swt.ole.win32.OleControlSite.releaseObjectInterfaces(OleControlSite.java:683)
at org.eclipse.swt.ole.win32.OleClientSite.onDispose(OleClientSite.java:852)
at org.eclipse.swt.ole.win32.OleClientSite.access$1(OleClientSite.java:847)
at org.eclipse.swt.ole.win32.OleClientSite$1.handleEvent(OleClientSite.java:128)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:755)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:755)
at org.eclipse.swt.widgets.Widget.release(Widget.java:807)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
at com.siemens.med.cad.hqm.reports.ReportViewer$1.widgetDisposed(ReportViewer.java:273)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:117)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1008)
at org.eclipse.swt.widgets.Widget.release(Widget.java:804)
at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441)
at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:446)
at org.eclipse.swt.widgets.Shell.dispose(Shell.java:674)
at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:308)
at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1643)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3789)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:477)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method)
at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2366)
at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:477)
at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877)
at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337)
at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576)
at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528)
at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method)
at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2371)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3420)
at com.siemens.med.cad.hqm.view.mainUI.HQMMainForm.buildMainShell(HQMMainForm.java:246)
at com.siemens.med.cad.hqm.event.UserLoginEventHandler.loginDisplay(UserLoginEventHandler.java:240)
at com.siemens.med.cad.hqm.event.UserLoginEventHandler.widgetSelected(UserLoginEventHandler.java:97)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422)
this is the code i have written for display the report file in a browser:
Display display = Display.getDefault() ;
     Shell shell = new Shell(display, SWT.RESIZE | SWT.CLOSE | SWT.MIN | SWT.MAX | SWT.APPLICATION_MODAL);
shell.setText(reportTitle);
shell.setLayout(new FillLayout());
shell.setMaximized(false);
shell.setSize(800, 600);
Composite comp = new Composite(shell, SWT.NONE);
comp.setLayout(new FillLayout());
final Browser browser = new Browser(comp, SWT.FLAT);
try {
File file = new File(exportFile);
URL url = file.toURL();
browser.setUrl("file:" + url.getPath());
} catch (MalformedURLException malURLEx) {
// malURLEx.printStackTrace();
throw new ProgrammingExceptionAdapter(malURLEx);
shell.addDisposeListener(new DisposeListener() {
public void widgetDisposed(DisposeEvent arg0) {
File file = new File(exportFile);
if (file != null && file.exists()) {
file.delete();
browser.dispose();
shell.open();
shell.setFocus()'

TitiTruc, welcome to the forum. Please don't post in threads that are long dead. When you have a question, start your own topic. Feel free to provide a link to an old post that may be relevant to your problem.
I'm locking this thread now.
db

Similar Messages

  • Error 500 Java.Lang.Null.Pointer Exception

    Please help me:
    I have problem with starting my portlet under portal.
    Provider is registred correctly ,portlet is added corectly on
    Portal Page ,but when I test my page I have :
    The Listener Returned the folowing message-
    Error 500 Java.Lang.Null.Pointer Exception
    Note:Portlet is compiled in JDeveloper 2.0 and there look Ok.
    Thanks

    we encountered the same error on aix4.3.3. in fact the error comes from a variable, that has not been initialized, jserv error log says the following:
    [07/11/2001 10:00:54:098 GMT+00:00] esvportal/init
    [07/11/2001 10:01:08:668 GMT+00:00] esvportal/Response status: 500 : java.lang.NullPointerException
         at oracle.portal.provider.v1.http.ServletProviderRequest.getAcceptLanguage(ServletProviderRequest.java:162)
         at oracle.portal.provider.v1.http.ServletProviderResponse.showPortlet(ServletProviderResponse.java:521)
         at oracle.portal.provider.v1.http.HttpProvider.dispatchProviderAction(HttpProvider.java:662)
         at oracle.portal.provider.v1.http.HttpProvider.service(HttpProvider.java:391)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:402)
         at org.apache.jserv.JServConnection.run(JServConnection.java:260)
         at java.lang.Thread.run(Thread.java:481)
    i habe a public page with 4 jsp portlets and one pl/sql portlet. the plsql ist working, every one of the jsp portlets gets the "getAcceptLanguage" error

  • Compleated guided procedure task throws Java.lang.null pointer exception.

    Hello,
    Compleated guided procedure task throws Java.lang.null pointer exception in UWL.
    From UWL  tracking of finished task of guided procedures throws null pointer exception .
    Guided procedure is created in local J2EE Engine not in Back end SAP System.
    Any ideas.
    Regards
    Mark

    Hi
    If u solved the problem mentioned above please tell me g\how u managed to do it.We are facing the same issue.Completed gp shows the same exception while opening from tracking tab

  • Java lang null pointer exception

    Hi
    I am trying to retrieve data from db and display in jsp.i am getting null pointer exception.connecting to db code is all fine .
    i am using it for the other pages also
    below is my code
    package updates;
    import java.io.IOException;
    import javax.servlet.ServletException;
    import javax.servlet.http.HttpServlet;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.RequestDispatcher;
    import java.sql.Connection;
    import java.sql.Statement;
    import java.sql.ResultSet;
    import Database.ConnectionPoolingPacs;
    import java.sql.Blob;
    public class EditBug extends HttpServlet {
        Connection connect=null;
        Statement stmt=null;
        ResultSet rs=null;
        ConnectionPoolingPacs Con=null;
        String BUGTITLE="";
        String SEVERITY ="";
        String BUG_ID="";
        String PROBABILITY="";
        String AUTHOR="";
        Blob  BUGDESCRIPTION1,ASSIGNEECOMMENTS1,CLOSINGCOMMENTS1=null;
        RequestDispatcher dispatcher=null;
        String STATUS,ASSIGNEDTO,CLOSEDBY=null;
        String IDENTIFIEDON,ASSIGNEDON,CLOSEDON=null;
        String BUGDESCRIPTION,ASSIGNEECOMMENTS,CLOSINGCOMMENTS=null;
        @Override
        public void doPost(HttpServletRequest request,HttpServletResponse response) throws ServletException, IOException
         response.setContentType("text/html");
         BUG_ID=request.getParameter("bugID");
                  try
                  Con=new ConnectionPoolingPacs();
                  connect=Con.getConnection();
                  stmt=connect.createStatement();
                  String QueryStringTest="Select * from bugdetails where Bug_Id ='"+ BUG_ID+"' ";
                  rs=stmt.executeQuery(QueryStringTest);
                  while (rs.next())
                    BUG_ID=rs.getString("Bug_ID");
                    BUGTITLE= rs.getString("Bug_Title") ;
                    BUGDESCRIPTION1=rs.getBlob("Bug_Description1");
                    AUTHOR=rs.getString("Bug_Author");
                    SEVERITY=rs.getString("Bug_Severity");
                    PROBABILITY=rs.getString("Bug_Probability");
                    STATUS=rs.getString("Bug_Status");
                    IDENTIFIEDON=rs.getString("Bug_IdentifiedOn");
                    ASSIGNEDON=rs.getString("Bug_assignedOn");
                    ASSIGNEDTO=rs.getString("Bug_AssignedTo");
                    ASSIGNEECOMMENTS1=rs.getBlob("AssigneeComments");
                    CLOSEDON=rs.getString("Bug_ClosedOn");
                    CLOSEDBY=rs.getString("Bug_ClosedBy");
                   CLOSINGCOMMENTS1=rs.getBlob("ClosingComments");
                    request.setAttribute("id",BUG_ID);
                    request.setAttribute ("title",BUGTITLE);
                    request.setAttribute ("author",AUTHOR);
                    request.setAttribute ("severity",SEVERITY);
                    request.setAttribute ("probability",PROBABILITY);
                    request.setAttribute ("status",STATUS);
                    request.setAttribute ("identifiedon",IDENTIFIEDON);
                    if ((ASSIGNEDON).equals("1001-01-01"))
                        ASSIGNEDON="";
                    request.setAttribute ("assignedon", ASSIGNEDON);
                    request.setAttribute ("assignedto", ASSIGNEDTO);
                     if ((CLOSEDON).equals("1001-01-01"))
                        CLOSEDON="";
                    request.setAttribute ("closedon", CLOSEDON);
                    request.setAttribute ("closedby", CLOSEDBY);
                    byte[] buffer1 = BUGDESCRIPTION1.getBytes(1, (int) BUGDESCRIPTION1.length());
                     BUGDESCRIPTION  = new String(buffer1);
                     byte[] buffer2 = ASSIGNEECOMMENTS1.getBytes(1, (int) ASSIGNEECOMMENTS1.length());
                    ASSIGNEECOMMENTS  = new String(buffer2);
                     byte[] buffer3 = CLOSINGCOMMENTS1.getBytes(1, (int)  CLOSINGCOMMENTS1.length());
                    CLOSINGCOMMENTS  = new String(buffer3);
                     request.setAttribute ("description",BUGDESCRIPTION);
                    if(ASSIGNEECOMMENTS!=null)
                     request.setAttribute ("assignecomments",ASSIGNEECOMMENTS);
                     if(CLOSINGCOMMENTS!=null)
                     request.setAttribute ("closingcomments", CLOSINGCOMMENTS);
                    stmt.close();
                    rs.close();
          catch(Exception e){System.out.println("Exception  ;"+e);}
              dispatcher = request.getRequestDispatcher("/EditBug.jsp");
              dispatcher.forward(request, response);
        }I have set 1001-01-01 as the default date.

    This is the exception which i am getting
    Aug 12, 2009 2:24:18 PM org.apache.catalina.core.StandardWrapperValve invoke
    SEVERE: Servlet.service() for servlet EditBug threw exception
    java.lang.NullPointerException
    at org.apache.jsp.EditBug_jsp._jspService(EditBug_jsp.java:703)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
    at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:342)
    at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:267)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:630)
    at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:436)
    at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:374)
    at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:302)
    at updates.EditBug.doPost(EditBug.java:124)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
    at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
    at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
    at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:286)
    at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:845)
    at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
    at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
    and that line which its indicating as error is
    dispatcher.forward(request, response);
    Edited by: garlapati on Aug 12, 2009 8:55 AM

  • Design Mode not working - java.lang.Null Pointer exception

    When attempting to use the Design mode Flash Builder has started to completely fail to display the design and issues following erros in the components tab:
    "Could not create the view: An unexpected exception was thrown."
    "java.lang.NullPointerException
        at com.adobe.flexbuilder.codemodel.internal.design.ComponentCategoryList.getCustomComponents Filtered(ComponentCategoryList.java:207)
        at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView$ViewContentProvider.get Elements(ComponentsView.java:339)
        at org.eclipse.jface.viewers.StructuredViewer.getRawChildren(StructuredViewer.java:959)
        at org.eclipse.jface.viewers.ColumnViewer.getRawChildren(ColumnViewer.java:703)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getRawChildren(AbstractTreeViewer.java:1330)
        at org.eclipse.jface.viewers.TreeViewer.getRawChildren(TreeViewer.java:390)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getFilteredChildren(AbstractTreeViewer.java: 636)
        at org.eclipse.jface.viewers.AbstractTreeViewer.getSortedChildren(AbstractTreeViewer.java:60 2)
        at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:799)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:776)
        at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:639)
        at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.ja va:1490)
        at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:828)
        at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1474)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392 )
        at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402)
        at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353 )
        at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1467)
        at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
        at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634)
        at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView.createMainControl(Compo nentsView.java:594)
        at com.adobe.flexbuilder.mxml.editor.views.AbstractDesignOnlyView.createPartControl(Abstract DesignOnlyView.java:125)
        at com.adobe.flexbuilder.mxml.editor.views.components.ComponentsView.createPartControl(Compo nentsView.java:1036)
        at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367)
        at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226)
        at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595)
        at org.eclipse.ui.internal.Perspective.showView(Perspective.java:2229)
        at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1067)
        at org.eclipse.ui.internal.WorkbenchPage$20.run(WorkbenchPage.java:3816)
        at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
        at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3813)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.showViews (CodeAndDesignViewManager.java:665)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.reconfigP anels(CodeAndDesignViewManager.java:547)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignViewManager$EditorListener.pageAbout ToChange(CodeAndDesignViewManager.java:409)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.pageAboutToChange(CodeAndDesi gnEditor.java:582)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor.setActivePage(CodeAndDesignEd itor.java:682)
        at com.adobe.flexbuilder.mxml.editor.MXMLEditor.setActivePage(MXMLEditor.java:544)
        at com.adobe.flexbuilder.editorcore.editor.CodeAndDesignEditor$1.clicked(CodeAndDesignEditor .java:454)
        at com.adobe.flexide.editorcore.ui.controls.ButtonBar.clicked(ButtonBar.java:289)
        at com.adobe.flexide.editorcore.ui.controls.AbstractButton.sendClickEvent(AbstractButton.jav a:41)
        at com.adobe.flexide.editorcore.ui.controls.ToggleButton.handleChange(ToggleButton.java:79)
        at com.adobe.flexide.editorcore.ui.controls.ToggleButton.mouseDown(ToggleButton.java:66)
        at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:179)
        at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1598)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1622)
        at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1607)
        at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1396)
        at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3484)
        at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3068)
        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 com.adobe.flexbuilder.standalone.FlexBuilderApplication.start(FlexBuilderApplication.java :109)
        at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLau ncher.java:110)
        at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.jav a: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)"
    This makes Flash Builder 4 pretty much useless to me. Anybody happen to know how to fix this issue?
    Thanks a lot in advance

    Uninstalling Flash Builder 4 (my machine is a Mac Pro) and re-installing it solved the issue. Not my favourite way to resolve issues ... but desperate times ask for desperate measures.

  • BBM error: Uncaught exception:java.lang.Null pointer exception ??

    Help. Anybody know what this means and what I need to do to fix it?
    It just started a few days ago and BBM will not open up.
     I have a Torch 9800 running the 6.0 Bundle 2647; V6.0.0.600, Platform 6.6.0.223

    You can take a look at the event log to see if you can pinpoint what application is throwing the error and remove it. To get to the event log: Hold down the alt key and press lglg.
    Another option is wipe the device, including all 3rd party apps and then try to reload the OS.
    If that fails, use JL_Cmder and wipe it that way or resettofactory.
    Either way always back up your phone when installing 3rd party apps.

  • Null pointer exception when running OAF page

    Hi
    I am getting null pointer exception when i execute the code below.
    OAApplicationModule am = oapagecontext.getRootApplicationModule();
    OAApplicationModuleImpl childam = (OAApplicationModuleImpl)am.findApplicationModule("QuestAnswerAM");
    oapagecontext.putDialogMessage(new OAException("PER", "XXOM_APPR_OVR_NULL_MSG"+am+childam, null, OAException.ERROR, null));
    OAViewObjectImpl VO= (OAViewObjectImpl)childam.findViewObject("QuestDetailsVO") ;
    OAViewRowImpl Dff1Row = (OAViewRowImpl)VO.getCurrentRow();
    quest = Dff1Row.getAttribute("LastUpdateDate");
    I later commented out the last 3 lines and used the code below to track the application module name.
    OAApplicationModule am = oapagecontext.getRootApplicationModule();
    OAApplicationModuleImpl childam = (OAApplicationModuleImpl)am.findApplicationModule("QuestAnswerAM");
    oapagecontext.putDialogMessage(new OAException("PER", "XXOM_APPR_OVR_NULL_MSG"+am+childam, null, OAException.ERROR, null));
    When i run the page i am getting this error:
    Message not found. Application: PER, Message Name: XXOM_APPR_OVR_NULL_MSGoracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl@2982bfnull.
    the above error indicates that the Root application module is AppraisalsAMImpl.
    But the view i need that is QuestDetailsVO exists in a child AM that is QuestAnswerAM. However in the above diag message as you can see it returns child AM to be null.
    When i click on About this page it clearly says that the QuestDetailsVO exists in QuestAnswerAM
    Please help
    Thanks
    Ashish

    Hi
    Thanks for the quick response.
    I am fine with the error message:
    Message not found. Application: PER, Message Name: XXOM_APPR_OVR_NULL_MSGoracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl@2982bfnull.
    I am getting message not found becos I have registered only XXOM_APPR_OVR_NULL_MSG and am displaying '+am+childam' also in the exception which is not associated with the registered message.
    See below.
    oapagecontext.putDialogMessage(new OAException("PER", "XXOM_APPR_OVR_NULL_MSG"+am+childam, null, OAException.ERROR, null));
    I am fine with that. My concern is in the error above for 'am' part i am getting the root appl module name. but for childam i am getting null
    Message not found. Application: PER, Message Name: XXOM_APPR_OVR_NULL_MSGoracle.apps.per.selfservice.appraisals.server.AppraisalsAMImpl@2982bf*null*.
    See the high lighted.
    I will look into the current row returning -1 issue and get back to you./
    Thanks
    Ashish

  • Null Pointer Exception when working with Custom Sql

    I viewed the video on adding Custom Sql and everything seemed to work fine with regards to adding it to my report. However, I get a null pointer exception when I add a field from the Custom Sql table to the report and try to run the report including if I try to View Sql. There doesn't seem to be a stacktrace that I can show.
    BTW... this was a work around for not being able to use Stored Procedures... I have killed 2 days now working on different ways to work around the Stored Procedure thing
    Thanks,
    Steve

    Hi,
    I'm trying to use a custom sql in my report. I could successfully create a custom SQL and add it to my report in the designer. But I'm getting NullPointer exception when I try to see the results in Preview. Can someone please help me resolve this issue.
    Thanks!

  • Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.

    Is there anyway to get an App Tab to stay when I close the program then reopen it?...they always disappear when I open a new window etc.
    And I thought the whole point of an App Tab was to always have those tabs there no matter what window is open all the time period.
    It's a minor complaint but I would really appreciate the option to permanently have them there.

    I thought that app tabs would be more persistent, like pinning programs to the taskbar in Windows, but this is not the case.
    Instead, once you close a Firefox window, all its tabs and app tabs are lost.
    Essentially, this means that the close button in the upper-left corner of a Firefox window is now a "kill all open tabs and loose all App Tabs without warning++ " button. That is not cool.
    I realize that "Firefox > Quit Firefox" behaves as intended, but many people use the more obvious red close button instead of the menu to close windows on a Mac. And it is easy to forget that the red button is now also an app-tab-death button. I've lost my app tabs many times to this issue. It is an unforgiving user interface decision which hampers the usability of app tabs. Why should I go through the extra clicks of setting up app tabs if I can loose them so easily?
    Ideally, App Tabs could be saved separately from the currently open windows (perhaps create an option to save then to a special Tab Group that opens on startup?). App tabs would be exceedingly useful to me if they weren't so easy to loose.
    On that note, saving Tab Groups would also be a useful functionality.
    ++ You will get a "closing multiple tabs" warning if you have only one window open, and that one window has multiple non-app tabs open, and you have enabled the warning in Preferences. But this too unreliable to help prevent the loss of app tabs.

  • How can I get my instructional text to display when I open the pdf?

    I have some fields which I have set up which have help/instructions for completing the information required.  This is a questionnaire.  When I save it as a pdf, the instsructional text does not display.  I would really appreciate if someone can tell me how to fix this.

    Thanks for taking the time to respond to my query.  The text does not display when I hover my mouse over it.
    cheers    Deborah Frow
          From: Ajlan huda <[email protected]>
    To: Deborah Frow <[email protected]>
    Sent: Monday, 12 January 2015, 5:24
    Subject: Reply marked as helpful on How can I get my instructional text to display when I open the pdf?
    |
    How can I get my instructional text to display when I open the pdf?
    Ajlan huda marked SumitV's reply on How can I get my instructional text to display when I open the pdf? as helpful. View the full replyMarked as helpful:Hi Pacific Immigration, In Adobe Acrobat/ Adobe Reader there is no “?” shown for help, but if you mouse over the field for 1-2 seconds the Help text is shown.
    Following How can I get my instructional text to display when I open the pdf? in these streams: Inbox
    |

  • HT4075 when i drag the pdf file over other (in previewer) to merge it does not show green circle with plus one. what to do?

    when i drag the pdf file over other (in previewer) to merge it does not show green circle with plus one. what to do?

    Hello djensen1x,
    Could you please let me know what version of Acrobat are you using.
    Also, tell me your workflow of combining those PDF files?
    Please share the screenshot of the error message that you get.
    Hope to get your response.
    Regards,
    Anubha

  • When I close a .pdf file the program continues to use the CPU I have to go into Task Manager and End Task

    Hi
    When I close a .pdf file in Adobe Reader the program continues to run on the CPU until I go into the Task Manager and End Task.
    I am running Windows 8 with Adobe Reader Ver 11.0.07, I have uninstalled the reader and reinstalled also checked for updates and ask the program to check the installation, which it did with no change I still have the problem ?.
    Peter

    Hi Peter,
    Please check the performance by disabling the 'Protected mode' in Reader.
    Edit > Preferences > Security (Enhanced) > Enable Protected Mode at startup
    Uncheck this option. Click on Ok.
    Close and launch Reader and check.
    Ref.: http://helpx.adobe.com/acrobat/kb/protected-mode-troubleshooting-reader.html
    Regards,
    Rave

  • ViewDocument.jsp gets null pointer exception when using report token instead of docid for DHTML

    <p>The following command gets a null pointer error showing up in Tomcat log:</p><p>../../viewers/cdz_adv/viewDocument.jsp?sEntry=<%=strEntry%>&lang=en&iDocID=830&ViewType=I&kind=Webi</p><p>where sEntry is a valid report token </p><p>but works fine if the ViewType is H  or id=830 is used instead of sEntry.  When the above command is issued the drill columns are displayed correctly but no report is shown and a null pointer exception is encountered.</p>

    There is a Consulting Solution called BOInterface that Business Objects Global Services sells and that may help you if you are implementing your own "InfoView".
    A description is <a href="http://www.mnsoft.org/bointerface0.0.html">here</a>.
    Particularly, see the <a href="http://www.mnsoft.org/pmiv.0.html">Poor Man's InfoView</a> web application.
    Contact me via direct email for more information if this is interesting for you.
    HTH,
    M
    Matthias Nott -  Business Objects
    Service Line Leader Products EMEA
    [email protected]

  • Null pointer exception when navigating though a  folder

    I have to search for a file in a directory in which some sub directories exist.When im navigating through a sub directory(to which access is denied) im getting a Null Pointer Exception. CanRead() function is returning true.Plz help me out...

    package com.cynosure.util;
    import java.io.*;
    import java.util.*;
    import java.util.zip.*;
    public class Finder {
              String path;
              String expr;
              public Finder(String path, String expr){
                   this.path = path;
                   this.expr = expr;
                   List l = new ArrayList();
                   findFile(new File(path), l);
                   for (Iterator it = l.iterator(); it.hasNext();) {
                        System.out.println(it.next());
         public static void main(String[] args) throws Exception {
                   new Finder(args[0], args[1]);
          void findFile(File f, List r) {
              System.out.println("Checking: "+f+": "+f.canWrite());
              if ((f.isDirectory()) && (f.canRead())) {
                   File[] files = f.listFiles(new Filter("exe", true));
                   for (int i = 0; i < files.length; i++) findFile(files, r);
              } else if (accept(f + "") ) {
                   System.out.println("File added: "+f);
                   r.add(f);
              public boolean accept(String t){
                        return t.endsWith(expr);
    *Here is the code . I have passed c: and winword.exe as arguments*
    *The following Exception is thrown*
    +Checking: c:\System Volume Information: true+
    +Exception in thread "main" java.lang.NullPointerException+
            +at com.cynosure.util.Finder.findFile(Finder.java:32)+
            +at com.cynosure.util.Finder.findFile(Finder.java:32)+
            +at com.cynosure.util.Finder.<init>(Finder.java:15)+
            +at com.cynosure.util.Finder.main(Finder.java:23)+                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Request.isUserInRole caused null pointer exception when logged in

    Hi,
    I have a jsp page in which I am trying to workout if a user is in a
    particular role,
    so I can prevent certain things from happening.
    The problem I am having is when I haven't logged onto the application the
    isUserInRole
    is working fine. As soon as I authenticate, the next time the function is
    called is causes
    a null pointer exception.
    I am using an ldaprealm for security and a weblogic URL policy file to
    associate roles
    with directories.
    The following is the stack dump that gets displayed
    java.lang.NullPointerException
    at
    weblogic.servlet.internal.ServletContextImpl.isUserInRole(ServletContextImpl
    .java:1844)
    at
    weblogic.servlet.internal.ServletRequestImpl.isUserInRole(ServletRequestImpl
    .java:668)
    at
    jsp_servlet._nzpilapp._publicview._nzpilapphomeview._jspService(_nzpilapphom
    eview.java:84)
    at weblogic.servlet.jsp.JspBase.service(JspBase.java:27)
    at
    weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java
    :123)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:761)
    at
    weblogic.servlet.internal.ServletContextImpl.invokeServlet(ServletContextImp
    l.java:708)
    at
    weblogic.servlet.internal.ServletContextManager.invokeServlet(ServletContext
    Manager.java:252)
    at
    weblogic.socket.MuxableSocketHTTP.invokeServlet(MuxableSocketHTTP.java:346)
    at
    weblogic.socket.MuxableSocketHTTP.execute(MuxableSocketHTTP.java:246)
    at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:135)
    Any Ideas on what is causing this??

    thanks Timo for your replay
    I use Jdeveloper version (11.1.2.3)
    First Question :- i have a view object of ( Countries ) in Hr Schema and include the name of the region ( RegionName ) Attribute From the ( Regions) View Object
    to be appeared in the Countries View Object using groovy expression and accessors View link
    when i insert a new record in the Coutries View Object it gives me an error
    *(oracle.jbo.JboException) JBO-29000: Unexpected exception caught: java.lang.NullPointerException, msg=null*

Maybe you are looking for