Issue 164 in wicketforge: java.io.FileNotFoundException

0 views
Skip to first unread message

wicke...@googlecode.com

unread,
Aug 21, 2014, 11:15:53 AM8/21/14
to wicketforge...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 164 by vojta.kr...@gmail.com: java.io.FileNotFoundException
http://code.google.com/p/wicketforge/issues/detail?id=164

I have no idea how to reproduce it, I only later noticed it in the events...

D:\XXX\target\failsafe-reports\failsafe-summary.xml (The system cannot find
the path specified)
java.io.FileNotFoundException:
D:\XXX\target\failsafe-reports\failsafe-summary.xml (The system cannot find
the path specified)
at java.io.FileInputStream.$$YJP$$open(Native Method)
at java.io.FileInputStream.open(FileInputStream.java)
at java.io.FileInputStream.<init>(FileInputStream.java:146)
at
com.intellij.openapi.vfs.impl.local.LocalFileSystemBase.getInputStream(LocalFileSystemBase.java:443)
at
com.intellij.openapi.vfs.newvfs.persistent.PersistentFSImpl.getInputStream(PersistentFSImpl.java:553)
at
com.intellij.openapi.vfs.newvfs.impl.VirtualFileImpl.getInputStream(VirtualFileImpl.java:96)
at
com.intellij.util.xml.NanoXmlUtil.parseHeaderWithException(NanoXmlUtil.java:143)
at com.intellij.util.xml.NanoXmlUtil.parseHeader(NanoXmlUtil.java:128)
at wicketforge.search.PropertiesIndex.map(PropertiesIndex.java:60)
at wicketforge.search.PropertiesIndex.map(PropertiesIndex.java:36)
at
com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:390)
at
com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1757)
at
com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1689)
at
com.intellij.util.indexing.FileBasedIndexImpl.access$5200(FileBasedIndexImpl.java:100)
at
com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.a(FileBasedIndexImpl.java:2267)
at
com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.access$3000(FileBasedIndexImpl.java:1874)
at
com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1627)
at
com.intellij.util.indexing.FileBasedIndexProjectHandler$5.consume(FileBasedIndexProjectHandler.java:161)
at
com.intellij.util.indexing.FileBasedIndexProjectHandler$5.consume(FileBasedIndexProjectHandler.java:158)
at
com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:279)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:941)
at
com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:298)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:184)
at
com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:222)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at
com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:293)
at
com.intellij.openapi.application.impl.ApplicationImpl$9.run(ApplicationImpl.java:446)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)



+ these things are in the log:
2014-08-21 16:49:44,210 [109031820] ERROR - napi.project.CacheUpdateRunner
- IntelliJ IDEA (Cassiopeia) IU-138.1503.3 Build #IU-138.1503.3
2014-08-21 16:49:44,210 [109031820] ERROR - napi.project.CacheUpdateRunner
- JDK: 1.7.0_51
2014-08-21 16:49:44,210 [109031820] ERROR - napi.project.CacheUpdateRunner
- VM: Java HotSpot(TM) 64-Bit Server VM
2014-08-21 16:49:44,210 [109031820] ERROR - napi.project.CacheUpdateRunner
- Vendor: Oracle Corporation
2014-08-21 16:49:44,211 [109031821] ERROR - napi.project.CacheUpdateRunner
- OS: Windows 7
2014-08-21 16:49:44,211 [109031821] ERROR - napi.project.CacheUpdateRunner
- Last Action: GotoClass
2014-08-21 16:49:44,135 [109031745] ERROR - .intellij.util.xml.NanoXmlUtil
- Vendor: Oracle Corporation
2014-08-21 16:49:44,253 [109031863] ERROR - .intellij.util.xml.NanoXmlUtil
- OS: Windows 7
2014-08-21 16:49:44,253 [109031863] ERROR - .intellij.util.xml.NanoXmlUtil
- Last Action: GotoClass
2014-08-21 16:49:44,254 [109031864] ERROR - napi.project.CacheUpdateRunner
- Error while indexing D:\XXX\target\failsafe-reports\failsafe-summary.xml
To reindex this file IDEA has to be restarted
java.lang.IllegalStateException: @NotNull method
com/intellij/util/xml/NanoXmlUtil.parseHeader must not return null
at com.intellij.util.xml.NanoXmlUtil.parseHeader(NanoXmlUtil.java:132)
at wicketforge.search.PropertiesIndex.map(PropertiesIndex.java:60)
at wicketforge.search.PropertiesIndex.map(PropertiesIndex.java:36)
at
com.intellij.util.indexing.MapReduceIndex.update(MapReduceIndex.java:390)
at
com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1757)
at
com.intellij.util.indexing.FileBasedIndexImpl.a(FileBasedIndexImpl.java:1689)
at
com.intellij.util.indexing.FileBasedIndexImpl.access$5200(FileBasedIndexImpl.java:100)
at
com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.a(FileBasedIndexImpl.java:2267)
at
com.intellij.util.indexing.FileBasedIndexImpl$ChangedFilesCollector.access$3000(FileBasedIndexImpl.java:1874)
at
com.intellij.util.indexing.FileBasedIndexImpl.processRefreshedFile(FileBasedIndexImpl.java:1627)
at
com.intellij.util.indexing.FileBasedIndexProjectHandler$5.consume(FileBasedIndexProjectHandler.java:161)
at
com.intellij.util.indexing.FileBasedIndexProjectHandler$5.consume(FileBasedIndexProjectHandler.java:158)
at
com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$1.run(CacheUpdateRunner.java:279)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:941)
at
com.intellij.openapi.project.CacheUpdateRunner$MyRunnable$2.run(CacheUpdateRunner.java:298)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl$2.run(ProgressManagerImpl.java:184)
at
com.intellij.openapi.progress.ProgressManager.executeProcessUnderProgress(ProgressManager.java:222)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:218)
at
com.intellij.openapi.progress.impl.ProgressManagerImpl.runProcess(ProgressManagerImpl.java:171)
at
com.intellij.openapi.project.CacheUpdateRunner$MyRunnable.run(CacheUpdateRunner.java:293)
at
com.intellij.openapi.application.impl.ApplicationImpl$9.run(ApplicationImpl.java:446)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.run(FutureTask.java:262)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)
at
com.intellij.openapi.application.impl.ApplicationImpl$1$1.run(ApplicationImpl.java:149)

--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

wicke...@googlecode.com

unread,
Aug 21, 2014, 11:16:53 AM8/21/14
to wicketforge...@googlegroups.com

Comment #1 on issue 164 by vojta.kr...@gmail.com:
java.io.FileNotFoundException
http://code.google.com/p/wicketforge/issues/detail?id=164

Plugin version 4.1.0

wicke...@googlecode.com

unread,
Aug 21, 2014, 11:27:27 AM8/21/14
to wicketforge...@googlegroups.com
Updates:
Status: Accepted

Comment #2 on issue 164 by minas.ma...@gmail.com:
java.io.FileNotFoundException
http://code.google.com/p/wicketforge/issues/detail?id=164

(No comment was entered for this change.)

wicke...@googlecode.com

unread,
Aug 26, 2014, 3:01:35 PM8/26/14
to wicketforge...@googlegroups.com

Comment #3 on issue 164 by minas.ma...@gmail.com:
java.io.FileNotFoundException
https://code.google.com/p/wicketforge/issues/detail?id=164

What do you mean exactly with "...noticed it in the events"? The 'Event
Log' Tool Window?

Just wondering, because

com.intellij.util.xml.NanoXmlUtil.parseHeader(NanoXmlUtil.java:128)

catches any IOException and IMO you shouldn't get any message in 'Event
Log' Tool Window (only in IDEA log, because parseHeader catches and logs)

wicke...@googlecode.com

unread,
Aug 26, 2014, 3:02:35 PM8/26/14
to wicketforge...@googlegroups.com

Comment #4 on issue 164 by vojta.kr...@gmail.com:
java.io.FileNotFoundException
https://code.google.com/p/wicketforge/issues/detail?id=164

Yes, 'Event Log' Tool Window?

wicke...@googlecode.com

unread,
Aug 26, 2014, 3:04:17 PM8/26/14
to wicketforge...@googlegroups.com

Comment #5 on issue 164 by vojta.kr...@gmail.com:
java.io.FileNotFoundException
https://code.google.com/p/wicketforge/issues/detail?id=164

NanoXmlUtil logs it: LOG.error(e)
So it will print a line in 'Event Log' Tool Window

wicke...@googlecode.com

unread,
Aug 26, 2014, 3:15:37 PM8/26/14
to wicketforge...@googlegroups.com

Comment #6 on issue 164 by minas.ma...@gmail.com:
java.io.FileNotFoundException
https://code.google.com/p/wicketforge/issues/detail?id=164

Ok thanks. I'm adding a file.isValid() before, should fix this one.
Reply all
Reply to author
Forward
0 new messages