History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-12136
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Eugene Vigdorchik
Reporter: Irina Petrovskaya
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Class creation in new package via quickfix causes exception

Created: 22 Nov 06 14:55   Updated: 27 Nov 06 18:45
Component/s: Editor. Intention Actions
Fix Version/s: Demetra 6.0.3

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 6,562
Fixed in build: 6,572


 Description  « Hide
type some not-existing type name in class's extends statement for example
choose the CreateClass quickfix
enter some not-existing package name as new class destination, agree to create thsi package
---> package with class is created, but exception is thrown

No message
java.lang.NullPointerException
at com.intellij.codeInsight.daemon.impl.quickfix.CreateClassFromUsageAction$1.run(CreateClassFromUsageAction.java:2)
at com.intellij.openapi.application.impl.ApplicationImpl$9.compute(ApplicationImpl.java:0)
at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:150)
at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:166)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateClassFromUsageAction.invokeImpl(CreateClassFromUsageAction.java:18)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageBaseAction.a(CreateFromUsageBaseAction.java:161)
at com.intellij.codeInsight.daemon.impl.quickfix.CreateFromUsageBaseAction.invoke(CreateFromUsageBaseAction.java:118)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$5$1$1.run(IntentionHintComponent.java:1)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:97)
at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:34)
at com.intellij.codeInsight.intention.impl.IntentionHintComponent$5$1.run(IntentionHintComponent.java:5)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:11)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.b(IdeEventQueue.java:41)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:59)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:121)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.