java.lang.NullPointerException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Log contains NPE error. Steps to Replicate : This occurred while replicating Jira items APSTUD-3417 or APSTUD-3365 and confirming the respective fixes with Studio versions 3.0.6 and 3.0.7. Log contains : !ENTRY org.eclipse.ui 4 4 2011-11-20 19:47:00.543 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.aptana.git.core.model.GitIndex.changedFiles(GitIndex.java:276) at com.aptana.git.core.model.GitIndex.resourceOrChildHasChanges(GitIndex.java:571) at com.aptana.git.core.model.GitRepository.resourceOrChildHasChanges(GitRepository.java:1590) at com.aptana.git.ui.internal.GitLightweightDecorator.decorateFolder(GitLightweightDecorator.java:185) at com.aptana.git.ui.internal.GitLightweightDecorator.decorate(GitLightweightDecorator.java:161) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Actual Results : Studio throws NPE. Expected Results : Studio should be NPE-free.
    via by Joel Witt,
  • Log contains NPE error. Steps to Replicate : This occurred while replicating Jira items APSTUD-3417 or APSTUD-3365 and confirming the respective fixes with Studio versions 3.0.6 and 3.0.7. Log contains : !ENTRY org.eclipse.ui 4 4 2011-11-20 19:47:00.543 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at com.aptana.git.core.model.GitIndex.changedFiles(GitIndex.java:276) at com.aptana.git.core.model.GitIndex.resourceOrChildHasChanges(GitIndex.java:571) at com.aptana.git.core.model.GitRepository.resourceOrChildHasChanges(GitRepository.java:1590) at com.aptana.git.ui.internal.GitLightweightDecorator.decorateFolder(GitLightweightDecorator.java:185) at com.aptana.git.ui.internal.GitLightweightDecorator.decorate(GitLightweightDecorator.java:161) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:371) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:331) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Actual Results : Studio throws NPE. Expected Results : Studio should be NPE-free.
    via by Joel Witt,
    • java.lang.NullPointerException at com.aptana.git.ui.internal.GitLightweightDecorator.decorateProject(GitLightweightDecorator.java:263) at com.aptana.git.ui.internal.GitLightweightDecorator.decorate(GitLightweightDecorator.java:158) at org.eclipse.ui.internal.decorators.LightweightDecoratorDefinition.decorate(LightweightDecoratorDefinition.java:263) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager$LightweightRunnable.run(LightweightDecoratorManager.java:81) at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.decorate(LightweightDecoratorManager.java:365) at org.eclipse.ui.internal.decorators.LightweightDecoratorManager.getDecorations(LightweightDecoratorManager.java:347) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.ensureResultCached(DecorationScheduler.java:370) at org.eclipse.ui.internal.decorators.DecorationScheduler$1.run(DecorationScheduler.java:330) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
    No Bugmate found.