[jboss-jira] [JBoss JIRA] Resolved: (JBRULES-2450) Nullpointer Exception when refacroring in unreleted projects
Kris Verlaenen (JIRA)
jira-events at lists.jboss.org
Mon May 31 21:11:51 EDT 2010
[ https://jira.jboss.org/browse/JBRULES-2450?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kris Verlaenen resolved JBRULES-2450.
-------------------------------------
Resolution: Done
made sure no NPE can occur in this part of the code anymore
> Nullpointer Exception when refacroring in unreleted projects
> ------------------------------------------------------------
>
> Key: JBRULES-2450
> URL: https://jira.jboss.org/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: Kris Verlaenen
> Fix For: 5.1.0.CR1
>
>
> 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/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list