This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
Created attachment 151312 [details] Code snippet. Log file contains this: SEVERE [org.netbeans.modules.cnd.modelimpl]: Can't create compound statement: can't create token stream for file /home/toddb/src/srcapp/omneon/codecs/include/generic-codec.h at 349:13 SEVERE [org.netbeans.modules.cnd.modelimpl]: Can't create compound statement: can't create token stream for file /home/toddb/src/srcapp/omneon/codecs/include/generic-codec.h at 361:27 SEVERE [org.netbeans.modules.cnd.modelimpl]: Can't create compound statement: can't create token stream for file /home/toddb/src/srcapp/omneon/codecs/include/generic-codec.h at 559:46 I would not have seen this error except that the ide's code model was not working (I could not jump to method implentations). I've included a single .cc file that contains the first two errors, with the text of the first two errors inserted into the code on the indicated lines. Note that the code in this file is extracted from a very large code base over several files. It compiles and appears to be parsed by NB, but the log does not contain any errors for this file. Note that this error was generated after exiting the ide, removing ~/cache/netbeans/dev/cnd/model and restarting the ide. Running this: Product Version: NetBeans IDE Dev (Build 201412220001) Updates: Updates available Java: 1.7.0_45; Java HotSpot(TM) Client VM 24.45-b08 Runtime: Java(TM) SE Runtime Environment 1.7.0_45-b18 System: Linux version 3.14.23-100.fc19.x86_64 running on i386; UTF-8; en_US (nb) User directory: /home/toddb/.netbeans/dev Cache directory: /home/toddb/.cache/netbeans/dev
I have seen in the log file the same error as tbrunhoff did: ... SEVERE [org.netbeans.modules.cnd.modelimpl]: Can't create compound statement: can't create token stream for file <file blablabla> However, nobody seem to fix this bug (it is still open since over then 9 months). What is the current status of it? Is it still in the queue of some NetBeans developers? I am using the following NetBeans release: Product Version: NetBeans IDE 8.0.2 (Build 201411181905) Updates: NetBeans IDE is updated to version NetBeans 8.0.2 Patch 2 Java: 1.7.0_75; Java HotSpot(TM) 64-Bit Server VM 24.75-b04 Runtime: Java(TM) SE Runtime Environment 1.7.0_75-b13 System: Mac OS X version 10.10.5 running on x86_64; UTF-8; en_US (nb) User directory: /home/walla/Library/Application Support/NetBeans/8.0.2 Cache directory: /home/walla/Library/Caches/NetBeans/8.0.2
(In reply to scientific from comment #1) > I have seen in the log file the same error as tbrunhoff did: > > ... > SEVERE [org.netbeans.modules.cnd.modelimpl]: Can't create compound > statement: can't create token stream for file <file blablabla> > > However, nobody seem to fix this bug (it is still open since over then 9 > months). What is the current status of it? Is it still in the queue of some > NetBeans developers? Hello, The status is: - we don't have reproducible test case, so not easy to fix - there is a workaround (in project properties use Code Assistance->Reparse)
And if you can provide reproducible steps causing the message when file compiles fine it would be great!
Ok, I recognize the problem. At this morning I restart my Laptop and NetBeans and try to reproduce the problem but could not. I think such a bug is hard to fetch and in so far I can understand you. I will keep an eye on it. Thanks for the info!
Then, let's update status to the appropriate one: incomplete (we need more info). Please, reopen if has test case or more details.