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

Key: RUBY-1542
Type: Exception Exception
Status: Resolved Resolved
Resolution: Fixed
Priority: Blocker Blocker
Assignee: Roman Chernyatchik
Reporter: Roman Chernyatchik
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Ruby

java.lang.NullPointerException

Created: 24 May 08 12:11   Updated: 04 Jun 08 20:17
Component/s: Plugin Reports
Fix Version/s: 1.5

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment:
Idea build #7844
Revision: 16573
Build: 1.0.16573

Severity: High


 Description  « Hide
redirect_to(:controller => "admin/results", :action => "index")

I've presed ctrl+space in "admin/results" string

No message
java.lang.NullPointerException
	at org.jruby.javasupport.JavaUtil.primitiveToWrapper(JavaUtil.java:420)
	at org.jruby.javasupport.JavaUtil.convertArgument(JavaUtil.java:455)
	at org.jruby.javasupport.JavaUtil.convertRubyToJava(JavaUtil.java:176)
	at org.jruby.javasupport.JavaUtil.convertRubyToJava(JavaUtil.java:66)
	at org.jruby.RubyArray.toArray(RubyArray.java:2276)
	at org.jetbrains.plugins.ruby.ruby.codeInsight.paramDefs.ParamDefReference.getVariants(ParamDefReference.java:92)
	at com.intellij.codeInsight.completion.CompletionVariantPeerImpl.addReferenceCompletions(CompletionVariantPeerImpl.java:169)
	at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:232)
	at com.intellij.codeInsight.completion.CompletionVariant.addReferenceCompletions(CompletionVariant.java:186)
	at com.intellij.codeInsight.completion.CompletionData.completeReference(CompletionData.java:83)
	at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.complete(CodeCompletionHandlerBase.java:309)
	at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.getLookupData(CodeCompletionHandlerBase.java:377)
	at com.intellij.codeInsight.completion.CodeCompletionHandlerBase.invoke(CodeCompletionHandlerBase.java:88)
	at com.intellij.codeInsight.actions.CodeInsightAction$1$1.run(CodeInsightAction.java:56)
	at com.intellij.openapi.application.impl.ApplicationImpl$13.compute(ApplicationImpl.java:665)
	at com.intellij.psi.impl.source.PostprocessReformattingAspect.postponeFormattingInside(PostprocessReformattingAspect.java:81)
	at com.intellij.openapi.application.impl.ApplicationImpl.runWriteAction(ApplicationImpl.java:663)
	at com.intellij.codeInsight.actions.CodeInsightAction$1.run(CodeInsightAction.java:60)
	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:87)
	at com.intellij.openapi.command.impl.CommandProcessorImpl.executeCommand(CommandProcessorImpl.java:64)
	at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformedImpl(CodeInsightAction.java:50)
	at com.intellij.codeInsight.completion.actions.CodeCompletionAction.actionPerformedImpl(CodeCompletionAction.java:23)
	at com.intellij.codeInsight.actions.CodeInsightAction.actionPerformed(CodeInsightAction.java:38)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.processAction(IdeKeyEventDispatcher.java:414)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.inInitState(IdeKeyEventDispatcher.java:340)
	at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:143)
	at com.intellij.ide.IdeEventQueue._dispatchEvent(IdeEventQueue.java:464)
	at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:359)
	at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
	at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
	at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
	at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
	at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)


 All   Comments   Work Log   Change History      Sort Order:
Roman Chernyatchik - 04 Jun 08 20:17
done, rev. 16864