Results 1 to 2 of 2
  1. #1
    bhanu is offline Member
    Join Date
    Oct 2007
    Posts
    7
    Rep Power
    0

    Default Null pointer exception after creating RCP plugin

    Hi,

    Hi I got some nullpointerexception after creating the eclipse plugin project
    from exisisting jar file.


    Message. Problems occurred when invoking code from plug-in: "org.eclipse.core.resources".


    java.lang.NullPointerException
    at org.jboss.ide.eclipse.core.ProjectChangeListener.r esourceChanged(ProjectChangeListener.java:46)
    at org.eclipse.core.internal.events.NotificationManag er$2.run(NotificationManager.java:282)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner .java:37)
    at org.eclipse.core.internal.events.NotificationManag er.notify(NotificationManager.java:276)
    at org.eclipse.core.internal.events.NotificationManag er.handleEvent(NotificationManager.java:260)
    at org.eclipse.core.internal.resources.Workspace.broa dcastEvent(Workspace.java:305)
    at org.eclipse.core.internal.resources.Resource.unpro tectedDelete(Resource.java:1662)
    at org.eclipse.core.internal.resources.Resource.delet e(Resource.java:700)
    at org.eclipse.core.internal.resources.Project.delete (Project.java:289)
    at org.eclipse.ui.ide.undo.WorkspaceUndoUtil.delete(W orkspaceUndoUtil.java:578)
    at org.eclipse.ui.ide.undo.WorkspaceUndoUtil.delete(W orkspaceUndoUtil.java:172)
    at org.eclipse.ui.ide.undo.AbstractResourcesOperation .delete(AbstractResourcesOperation.java:111)
    at org.eclipse.ui.ide.undo.DeleteResourcesOperation.d oExecute(DeleteResourcesOperation.java:67)
    at org.eclipse.ui.ide.undo.AbstractWorkspaceOperation $1.run(AbstractWorkspaceOperation.java:206)
    at org.eclipse.core.internal.resources.Workspace.run( Workspace.java:1797)
    at org.eclipse.ui.ide.undo.AbstractWorkspaceOperation .execute(AbstractWorkspaceOperation.java:204)
    at org.eclipse.ui.actions.DeleteResourceAction$4.run( DeleteResourceAction.java:533)
    at org.eclipse.core.internal.jobs.Worker.run(Worker.j ava:55)



    could you please help me ??? or can I leave it becasue it is showing errors in the errorlog. But I would like to know the reason.

  2. #2
    Niveditha's Avatar
    Niveditha is offline Senior Member
    Join Date
    May 2008
    Posts
    307
    Rep Power
    7

    Default

    Hello Bhanu,
    Can u plz let us know which plugin project r u trying to create, so that we can help u better.

    This sometimes happens when the path u had given for that plugin has been changed, check that properly.

    try deleting the eclipse and not the workspace and install it again,sometimes this works out, i know this is not the correct solution.
    To finish sooner, take your own time....
    Nivedithaaaa

Similar Threads

  1. Null pointer Exception
    By peiceonly in forum New To Java
    Replies: 8
    Last Post: 09-05-2010, 07:48 PM
  2. [SOLVED] Cant figure out null pointer exception
    By todd2230 in forum New To Java
    Replies: 6
    Last Post: 05-06-2008, 08:45 AM
  3. Replies: 2
    Last Post: 05-01-2008, 11:14 AM
  4. Null pointer exception error
    By brownie_jedi in forum New To Java
    Replies: 3
    Last Post: 03-15-2008, 07:27 AM
  5. statement null pointer exception
    By bbq in forum JDBC
    Replies: 1
    Last Post: 07-05-2007, 05:23 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •