java.lang.Throwable: ;java.lang.NullPointerException

sshtools | rahulkumar98 | 9 years ago
  1. 0

    Unable to retrieve large files > 50 KB

    sshtools | 9 years ago | rahulkumar98
    java.lang.Throwable: ;java.lang.NullPointerException
  2. 0

    Using the new database connector. If you try to get datasense metadata information from a database connector with and invalid URL, it will cause the following NPE java.lang.NullPointerException at org.mule.module.db.internal.domain.connection.DefaultDbConnection.isClosed(DefaultDbConnection.java:99) at org.mule.module.db.internal.domain.connection.TransactionalDbConnectionFactory.releaseConnection(TransactionalDbConnectionFactory.java:150) at org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider.getMetaDataResult(AbstractQueryMetadataProvider.java:345) at org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider.getInputMetaData(AbstractQueryMetadataProvider.java:289) at org.mule.module.db.internal.processor.AbstractDbMessageProcessor.getInputMetaData(AbstractDbMessageProcessor.java:136) at org.mule.tooling.metadata.api.utils.MetadataRetriever.getExternalMetadata(MetadataRetriever.java:68) at org.mule.tooling.ui.modules.core.metadata.MetadataManager.getInputOutputMetadata(MetadataManager.java:137) at org.mule.tooling.ui.modules.core.metadata.action.GetInputOutputMetadataAction$1.run(GetInputOutputMetadataAction.java:60) at java.lang.Thread.run(Thread.java:745) java.lang.Throwable: java.lang.NullPointerException at org.mule.module.db.internal.domain.connection.DefaultDbConnection.isClosed(DefaultDbConnection.java:99) at org.mule.module.db.internal.domain.connection.TransactionalDbConnectionFactory.releaseConnection(TransactionalDbConnectionFactory.java:150) at org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider.getMetaDataResult(AbstractQueryMetadataProvider.java:345) at org.mule.module.db.internal.metadata.AbstractQueryMetadataProvider.getInputMetaData(AbstractQueryMetadataProvider.java:289) at org.mule.module.db.internal.processor.AbstractDbMessageProcessor.getInputMetaData(AbstractDbMessageProcessor.java:136) at org.mule.tooling.metadata.api.utils.MetadataRetriever.getExternalMetadata(MetadataRetriever.java:68) at org.mule.tooling.ui.modules.core.metadata.MetadataManager.getInputOutputMetadata(MetadataManager.java:137) at org.mule.tooling.ui.modules.core.metadata.action.GetInputOutputMetadataAction$1.run(GetInputOutputMetadataAction.java:60) at java.lang.Thread.run(Thread.java:745) at org.mule.tooling.metadata.utils.MetadataUtils.showErrorMessage(MetadataUtils.java:332) at org.mule.tooling.metadata.utils.MetadataUtils.showGetMetadataErrorMessage(MetadataUtils.java:289) at org.mule.tooling.ui.modules.core.metadata.AbstractMetadataStrategy.doGetMetadata(AbstractMetadataStrategy.java:59) at org.mule.tooling.ui.modules.core.metadata.AbstractMetadataStrategy.getMetadata(AbstractMetadataStrategy.java:25) at org.mule.tooling.ui.modules.core.metadata.DataSenseEditorController.doUpdate(DataSenseEditorController.java:45) at org.mule.tooling.ui.modules.core.widgets.ClickHandlerRegistry.proceed(ClickHandlerRegistry.java:62) at org.mule.tooling.ui.modules.core.widgets.meta.DefaultDialogController.doUpdate(DefaultDialogController.java:20) at org.mule.tooling.properties.editor.EntityEditPartPropertiesEditor.apply(EntityEditPartPropertiesEditor.java:108) at org.mule.tooling.properties.views.MulePropertiesView.closeCurrentEditor(MulePropertiesView.java:263) at org.mule.tooling.properties.views.MulePropertiesView.showSelection(MulePropertiesView.java:202) at org.mule.tooling.properties.views.MulePropertiesView.showSelection(MulePropertiesView.java:184) at org.mule.tooling.properties.views.MulePropertiesView$MuleSelectionListener.selectionChanged(MulePropertiesView.java:704) at org.eclipse.ui.internal.AbstractSelectionService.firePostSelection(AbstractSelectionService.java:179) at org.eclipse.ui.internal.AbstractSelectionService$2.selectionChanged(AbstractSelectionService.java:71) at org.eclipse.ui.part.MultiPageSelectionProvider$1.run(MultiPageSelectionProvider.java:110) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.part.MultiPageSelectionProvider.fireEventChange(MultiPageSelectionProvider.java:108) at org.eclipse.ui.part.MultiPageSelectionProvider.firePostSelectionChanged(MultiPageSelectionProvider.java:102) at org.eclipse.ui.part.MultiPageEditorSite.handlePostSelectionChanged(MultiPageEditorSite.java:428) at org.eclipse.ui.part.MultiPageEditorSite$3.selectionChanged(MultiPageEditorSite.java:340) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.fireSelectionChanged(AbstractEditPartViewer.java:247) at org.eclipse.gef.ui.parts.AbstractEditPartViewer$1.run(AbstractEditPartViewer.java:131) at org.eclipse.gef.SelectionManager.fireSelectionChanged(SelectionManager.java:144) at org.eclipse.gef.SelectionManager.appendSelection(SelectionManager.java:83) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.appendSelection(AbstractEditPartViewer.java:190) at org.eclipse.gef.ui.parts.AbstractEditPartViewer.select(AbstractEditPartViewer.java:599) at org.eclipse.gef.tools.SelectEditPartTracker.performSelection(SelectEditPartTracker.java:221) at org.eclipse.gef.tools.SelectEditPartTracker.performConditionalSelection(SelectEditPartTracker.java:167) at org.eclipse.gef.tools.SelectEditPartTracker.handleButtonDown(SelectEditPartTracker.java:92) at org.eclipse.gef.tools.AbstractTool.mouseDown(AbstractTool.java:1091) at org.eclipse.gef.tools.SelectionTool.mouseDown(SelectionTool.java:514) at org.eclipse.gef.EditDomain.mouseDown(EditDomain.java:245) at org.eclipse.gef.ui.parts.DomainEventDispatcher.dispatchMousePressed(DomainEventDispatcher.java:348) at org.eclipse.draw2d.LightweightSystem$EventHandler.mouseDown(LightweightSystem.java:523) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:192) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4136) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1458) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1466) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1271) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3982) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3621) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2701) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2665) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2499) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:679) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:668) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:124) 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:353) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:180) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:629) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:584) at org.eclipse.equinox.launcher.Main.run(Main.java:1438) at org.eclipse.equinox.launcher.Main.main(Main.java:1414)

    MuleSoft JIRA | 2 years ago | Jorge D'Alessandro
    java.lang.Throwable: java.lang.NullPointerException
  3. 0

    JSF/Context initialization failure

    Stack Overflow | 6 months ago | Subrata
    java.lang.Throwable: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Java web project with JSF deployment in Liberty Profile

    Stack Overflow | 4 months ago | Vidya Sekar
    java.lang.Throwable: javax.servlet.ServletException: javax.el.ELException: java.lang.NullPointerException
  6. 0

    Webdav with jackrabbit lib on android

    Stack Overflow | 3 years ago | brian
    java.lang.Throwable: Explicit termination method 'end' not called

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.Throwable

      ;java.lang.NullPointerException

      at com.sshtools.j2ssh.sftp.SftpSubsystemClient.readFile()
    2. com.sshtools.j2ssh
      SftpFileInputStream.read
      1. com.sshtools.j2ssh.sftp.SftpSubsystemClient.readFile(SftpSubsystemClient.java:560)
      2. com.sshtools.j2ssh.sftp.SftpFileInputStream.read(SftpFileInputStream.java:76)
      2 frames
    3. Java RT
      InputStream.read
      1. java.io.InputStream.read(InputStream.java:89)
      1 frame
    4. com.sshtools.j2ssh
      SftpClient.get
      1. com.sshtools.j2ssh.SftpClient.transferFile(SftpClient.java:412)
      2. com.sshtools.j2ssh.SftpClient.get(SftpClient.java:516)
      3. com.sshtools.j2ssh.SftpClient.get(SftpClient.java:468)
      4. com.sshtools.j2ssh.SftpClient.get(SftpClient.java:483)
      4 frames
    5. com.xxx.utils
      VASFTPClient.retrieveFile
      1. com.xxx.utils.VASFTPClient.retrieveFile(VASFTPClient.java:101)
      1 frame
    6. com.xxx
      DataLoadControllerAction.handleRunSalesStep
      1. com.xxx.DataLoadREMProcessor.readFeedFromAuctionHouses(DataLoadREMProcessor.java:140)
      2. com.xxx.DataLoadControllerAction.handleRunSalesStep(DataLoadControllerAction.java:120)
      2 frames
    7. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      4. java.lang.reflect.Method.invoke(Method.java:324)
      4 frames
    8. com.xxx
      BaseAction.perform
      1. com.xxx.BaseAction.performHook(BaseAction.java:177)
      2. com.xxx.BaseAction.perform(BaseAction.java:424)
      2 frames
    9. struts
      ActionServlet.processActionPerform
      1. org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1720)
      1 frame
    10. com.xxx.strutsx
      Controller.process
      1. com.xxx.strutsx.Controller.process(Controller.java:261)
      2. com.xxx.strutsx.Controller.process(Controller.java:195)
      2 frames
    11. struts
      ActionServlet.doPost
      1. org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:505)
      1 frame
    12. JavaServlet
      HttpServlet.service
      1. javax.servlet.http.HttpServlet.service(HttpServlet.java:760)
      2. javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      2 frames
    13. Atmosphere weblogic
      FilterChainImpl.doFilter
      1. weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:1072)
      2. weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:465)
      3. weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
      4. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      4 frames
    14. com.xxx.security
      SSOFilter.doFilter
      1. com.xxx.security.servlet.SSOFilter.doFilter(SSOFilter.java:67)
      1 frame
    15. Atmosphere weblogic
      WebAppServletContext$ServletInvocationAction.run
      1. weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
      2. weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6987)
      2 frames
    16. weblogic.security.acl
      AuthenticatedSubject.doAs
      1. weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      1 frame
    17. weblogic.security.service
      SecurityManager.runAs
      1. weblogic.security.service.SecurityManager.runAs(SecurityManager.java:121)
      1 frame
    18. Atmosphere weblogic
      ServletRequestImpl.execute
      1. weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3892)
      2. weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2766)
      2 frames
    19. weblogic.kernel
      ExecuteThread.run
      1. weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:224)
      2. weblogic.kernel.ExecuteThread.run(ExecuteThread.java:183)
      2 frames