[jboss-jira] [JBoss JIRA] Created: (JBRULES-2450) Nullpointer Exception when refacroring in unreleted projects

Jürgen Schmied (JIRA) jira-events at lists.jboss.org
Mon Mar 15 06:08:37 EDT 2010


Nullpointer Exception when refacroring in unreleted projects
------------------------------------------------------------

                 Key: JBRULES-2450
                 URL: https://jira.jboss.org/jira/browse/JBRULES-2450
             Project: Drools
          Issue Type: Bug
      Security Level: Public (Everyone can see)
          Components: drools-eclipse
    Affects Versions: 5.1.0.M1
         Environment: eclipse.buildId=3.5.2
java.version=1.6.0_14
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=de_DE
Framework arguments:  -product org.eclipse.epp.package.jee.product
Command-line arguments:  -os win32 -ws win32 -arch x86 -product org.eclipse.epp.package.jee.product


            Reporter: Jürgen Schmied
            Assignee: Mark Proctor


When renaming a class in a non drools project I get a NullPointerException in the drools plugin.

Participant 'org.drools.eclipse.refactoring.moveParticipant' removed due to the following exception

java.lang.NullPointerException
at org.drools.eclipse.refactoring.DRLProjectDetector.detect(Unknown Source)
at org.drools.eclipse.refactoring.DRLProjectDetector.detect(Unknown Source)
at org.drools.eclipse.refactoring.DRLProjectDetector.detect(Unknown Source)
at org.drools.eclipse.refactoring.RuleIFileMoveParticipant.createChange(Unknown Source)
at org.eclipse.ltk.core.refactoring.participants.ProcessorBasedRefactoring.createChange(ProcessorBasedRefactoring.java:308)
at org.eclipse.ltk.core.refactoring.CreateChangeOperation.run(CreateChangeOperation.java:124)
at org.eclipse.ltk.core.refactoring.PerformChangeOperation.run(PerformChangeOperation.java:211)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1800)
at org.eclipse.ltk.internal.ui.refactoring.WorkbenchRunnableAdapter.run(WorkbenchRunnableAdapter.java:87)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)



-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       




More information about the jboss-jira mailing list