java.lang.NullPointerException

Appcelerator JIRA | Praveen Innamuri | 3 years ago
  1. 0

    If TiApp is opened in the previous session, then Studio tries to re-open the TiApp and at some instances, it fails to open the TiApp editor with the below failure : java.lang.NullPointerException at com.aptana.theme.ThemePlugin.applyToAllEditors(ThemePlugin.java:346) at com.aptana.theme.internal.ThemeManager.setCurrentTheme(ThemeManager.java:219) at com.aptana.theme.internal.ThemeManager.getCurrentTheme(ThemeManager.java:194) at com.aptana.editor.common.CommonSourceViewerConfiguration.getCurrentTheme(CommonSourceViewerConfiguration.java:612) at com.aptana.editor.common.CommonSourceViewerConfiguration.getThemeBackground(CommonSourceViewerConfiguration.java:462) at com.aptana.editor.common.CommonSourceViewerConfiguration.getContentAssistant(CommonSourceViewerConfiguration.java:200) at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:464) at com.aptana.editor.common.viewer.CommonProjectionViewer.configure(CommonProjectionViewer.java:168) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3424) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447) at com.aptana.editor.common.internal.AbstractFoldingEditor.createPartControl(AbstractFoldingEditor.java:123) at com.aptana.editor.common.AbstractThemeableEditor.createPartControl(AbstractThemeableEditor.java:327) at com.aptana.editor.xml.XMLEditor.createPartControl(XMLEditor.java:78) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppXMLSourcePage.createPartControl(TiAppXMLSourcePage.java:129) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:243) at org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:325)

    Appcelerator JIRA | 3 years ago | Praveen Innamuri
    java.lang.NullPointerException
  2. 0

    If TiApp is opened in the previous session, then Studio tries to re-open the TiApp and at some instances, it fails to open the TiApp editor with the below failure : java.lang.NullPointerException at com.aptana.theme.ThemePlugin.applyToAllEditors(ThemePlugin.java:346) at com.aptana.theme.internal.ThemeManager.setCurrentTheme(ThemeManager.java:219) at com.aptana.theme.internal.ThemeManager.getCurrentTheme(ThemeManager.java:194) at com.aptana.editor.common.CommonSourceViewerConfiguration.getCurrentTheme(CommonSourceViewerConfiguration.java:612) at com.aptana.editor.common.CommonSourceViewerConfiguration.getThemeBackground(CommonSourceViewerConfiguration.java:462) at com.aptana.editor.common.CommonSourceViewerConfiguration.getContentAssistant(CommonSourceViewerConfiguration.java:200) at org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:464) at com.aptana.editor.common.viewer.CommonProjectionViewer.configure(CommonProjectionViewer.java:168) at org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3424) at org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54) at org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447) at com.aptana.editor.common.internal.AbstractFoldingEditor.createPartControl(AbstractFoldingEditor.java:123) at com.aptana.editor.common.AbstractThemeableEditor.createPartControl(AbstractThemeableEditor.java:327) at com.aptana.editor.xml.XMLEditor.createPartControl(XMLEditor.java:78) at com.appcelerator.titanium.ui.ide.tiappEditor.TiAppXMLSourcePage.createPartControl(TiAppXMLSourcePage.java:129) at org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:243) at org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:325)

    Appcelerator JIRA | 3 years ago | Praveen Innamuri
    java.lang.NullPointerException
  3. 0

    Android: Saving Map State in Google map

    Stack Overflow | 11 months ago | Junie Negentien
    java.lang.RuntimeException: Unable to resume activity {com.ourThesis.junieNegentien2015/com.ourThesis.junieNegentien2015.MainActivity}: java.lang.NullPointerException
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.NullPointerException

      No message provided

      at com.aptana.theme.ThemePlugin.applyToAllEditors()
    2. com.aptana.theme
      ThemeManager.getCurrentTheme
      1. com.aptana.theme.ThemePlugin.applyToAllEditors(ThemePlugin.java:346)
      2. com.aptana.theme.internal.ThemeManager.setCurrentTheme(ThemeManager.java:219)
      3. com.aptana.theme.internal.ThemeManager.getCurrentTheme(ThemeManager.java:194)
      3 frames
    3. com.aptana.editor
      CommonSourceViewerConfiguration.getContentAssistant
      1. com.aptana.editor.common.CommonSourceViewerConfiguration.getCurrentTheme(CommonSourceViewerConfiguration.java:612)
      2. com.aptana.editor.common.CommonSourceViewerConfiguration.getThemeBackground(CommonSourceViewerConfiguration.java:462)
      3. com.aptana.editor.common.CommonSourceViewerConfiguration.getContentAssistant(CommonSourceViewerConfiguration.java:200)
      3 frames
    4. JFace Text
      SourceViewer.configure
      1. org.eclipse.jface.text.source.SourceViewer.configure(SourceViewer.java:464)
      1 frame
    5. com.aptana.editor
      CommonProjectionViewer.configure
      1. com.aptana.editor.common.viewer.CommonProjectionViewer.configure(CommonProjectionViewer.java:168)
      1 frame
    6. Text Editor Framework
      AbstractDecoratedTextEditor.createPartControl
      1. org.eclipse.ui.texteditor.AbstractTextEditor.createPartControl(AbstractTextEditor.java:3424)
      2. org.eclipse.ui.texteditor.StatusTextEditor.createPartControl(StatusTextEditor.java:54)
      3. org.eclipse.ui.texteditor.AbstractDecoratedTextEditor.createPartControl(AbstractDecoratedTextEditor.java:447)
      3 frames
    7. com.aptana.editor
      XMLEditor.createPartControl
      1. com.aptana.editor.common.internal.AbstractFoldingEditor.createPartControl(AbstractFoldingEditor.java:123)
      2. com.aptana.editor.common.AbstractThemeableEditor.createPartControl(AbstractThemeableEditor.java:327)
      3. com.aptana.editor.xml.XMLEditor.createPartControl(XMLEditor.java:78)
      3 frames
    8. com.appcelerator.titanium
      TiAppXMLSourcePage.createPartControl
      1. com.appcelerator.titanium.ui.ide.tiappEditor.TiAppXMLSourcePage.createPartControl(TiAppXMLSourcePage.java:129)
      1 frame
    9. Eclipse UI
      MultiPageEditorPart.addPage
      1. org.eclipse.ui.part.MultiPageEditorPart.addPage(MultiPageEditorPart.java:243)
      1 frame
    10. Eclipse Forms
      FormEditor.addPage
      1. org.eclipse.ui.forms.editor.FormEditor.addPage(FormEditor.java:325)
      1 frame