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

Key: IDEADEV-5467
Type: Exception Exception
Status: Resolved Resolved
Resolution: Fixed
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Thomas Singer
Votes: 0
Watchers: 0
Operations

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

Exception searching in path for string

Created: 04 Apr 06 13:18   Updated: 05 Apr 06 17:18
Component/s: Find, Replace, Find Usages
Fix Version/s: Demetra Final, 5.1.1

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Text File idea.log (134 kb)

Image Attachments:

1. search-options.png
(11 kb)

Build: 4,188
Fixed in build: 4,192
Severity: Extreme


 Description  « Hide
Taken from the log file, because no error was displayed:

2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - psiFile==null:VirtualFile: E:\geoi2000\src\g2k\format\ZeissM5.fmt
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - IntelliJ IDEA 5.1.1 Build #4188
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - JDK: 1.5.0_06
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - VM: Java HotSpot(TM) Client VM
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - Vendor: Sun Microsystems Inc.
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - OS: Windows 2000
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - Last Action: FindInPath
2006-04-04 11:16:21,354 [1006808] ERROR - .psi.impl.file.PsiFileImplUtil - psiFile==null:VirtualFile: E:\geoi2000\src\g2k\format\ZeissM5.fmt
java.lang.Throwable
at com.intellij.openapi.diagnostic.Logger.error(Logger.java:47)
at com.intellij.psi.impl.file.PsiFileImplUtil.getPsiFilesByVirtualFiles(PsiFileImplUtil.java:14)
at com.intellij.psi.impl.cache.impl.CacheManagerImpl.getFilesWithWord(CacheManagerImpl.java:26)
at com.intellij.psi.impl.cache.impl.CompositeCacheManager.getFilesWithWord(CompositeCacheManager.java:39)
at com.intellij.find.impl.FindInProjectUtil.b(FindInProjectUtil.java:74)
at com.intellij.find.impl.FindInProjectUtil.access$100(FindInProjectUtil.java:113)
at com.intellij.find.impl.FindInProjectUtil$7.compute(FindInProjectUtil.java:2)
at com.intellij.find.impl.FindInProjectUtil$7.compute(FindInProjectUtil.java)
at com.intellij.openapi.application.impl.ApplicationImpl$7.run(ApplicationImpl.java)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:422)
at com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:350)
at com.intellij.find.impl.FindInProjectUtil.a(FindInProjectUtil.java:3)
at com.intellij.find.impl.FindInProjectUtil.findUsages(FindInProjectUtil.java:34)
at com.intellij.find.findInProject.FindInProjectManager$1$1.generate(FindInProjectManager.java:1)
at com.intellij.usages.impl.UsageViewManagerImpl$SearchForUsagesRunnable.searchUsages(UsageViewManagerImpl.java:235)
at com.intellij.usages.impl.UsageViewManagerImpl$SearchForUsagesRunnable.access$000(UsageViewManagerImpl.java:183)
at com.intellij.usages.impl.UsageViewManagerImpl$1.run(UsageViewManagerImpl.java:125)
at com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:46)
at com.intellij.usages.impl.UsageViewImplUtil$1.run(UsageViewImplUtil.java:40)



 All   Comments   Work Log   Change History      Sort Order:
Thomas Singer - 04 Apr 06 13:22
This problem is 100% reproducible here. See attached screenshot.

Thomas Singer - 04 Apr 06 13:37
Sh*t, this bug also happens in build 4155! Looks like I need to take a look at Eclipse...

Dmitry Jemerov - 04 Apr 06 13:45
Thomas,

It's much easier to delete your system\caches directory - the bug should go away after that.


Thomas Singer - 04 Apr 06 14:29
No, it's not. I've deleted the system directory completely and reinstalled 4188. When searching I get the attached exceptions. After the exception I need to restart IDEA, because pressing Ctrl-Shift-F does nothing otherwise - no dialog, nothing.

Thomas Singer - 04 Apr 06 14:36
Even more worse: when I try to use Structural Search and I put the search in the background, IDEA locks up (large gray frame for minutes).

Maxim Shafirov - 05 Apr 06 14:19
There should be more in the log. Would you please attach a full copy?

> Sh*t, this bug also happens in build 4155! Looks like I need to take a look at Eclipse...
We're all for making people more productive with their work so if you feel moving to Eclipse will make you more productive - go ahead then!


Maxim Shafirov - 05 Apr 06 14:29
Sorry didn't noticed log is already attached.

Maxim Shafirov - 05 Apr 06 14:35
What about "*.fmt" files? Are they in ignore list? Or if not what file type they're mapped to?

Thomas Singer - 05 Apr 06 14:54
fmt-files are plain text files.

Maxim Shafirov - 05 Apr 06 17:10
There's definetely something wrong with these .fmt files. Can you open them in editor?
Exception is fixed though.

Thomas Singer - 05 Apr 06 17:18
> There's definetely something wrong with these .fmt files. Can you open them in editor?

I can't try out at the moment, because I'm working on a different location now, but I'm sure, I could open them in the editor in the last weeks and haven't changed the file settings in the last year. If I don't forget, I'll try next week.