OMNeT++/OMNEST Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000032OMNeT++IDE / C++ developmentpublic2008-12-08 10:422008-12-08 17:08
Reportermbergner 
Assigned Torhornig 
PrioritynormalSeverityblockReproducibilityrandom
StatusresolvedResolutionfixed 
PlatformIntel Core 2 6400OSUbuntu 8.10OS VersionOmnet 4.0b8
Product Version4.0b8 
Target VersionFixed in Version4.0rc1 
Summary0000032: Can not edit files in IDE anymore, NULLPointer in Initial Indexer (may be related to latest Ubuntu updates)
DescriptionAfter applying todays updates (this may or may not be important), the IDE does not allow editing files in old projects anymore.

When starting the IDE with LC_ALL=C omnetpp (because of the floating point scalar thing, the error does appear also without LC_ALL=C), I immediately get an Internal Error during Initial Indexing, details reveal a NullPointerException.

I can not edit files in my custom simulations that have worked this morning. I disabled Indexing in the General preferences but the error is still there. I can open new Projects, work there flawlessly but once I close the IDE and reopen it, I can not edit files anymore. Clicking on the small arrow next to the Project to open it makes the arrow disappear but does not show any directories or files.

Running the simulations with Right-click run as and selecting the binaries and ini files works though.

When trying to edit currently open NED Files (C files can't be edited) the programm crashes with a double free and a backtrace which I will attach.

Opening and closing the IDE without doing anything gives a java backtrace which I will also attach.

This error currently renders the IDE useless.
TagsNo tags attached.
Attached Filesgz file icon bt-crash-java.log.gz [^] (1,093 bytes) 2008-12-08 10:43
gz file icon bt-crash-normal.log.gz [^] (2,416 bytes) 2008-12-08 10:43
gz file icon eclipselog.gz [^] (14,692 bytes) 2008-12-08 10:52

- Relationships

-  Notes
(0000075)
andras (administrator)
2008-12-08 10:46

Can you please attach:
- eclipse log (<workspace>/.metadata/.log, <workspace>=omnetpp/samples by default)
- crash log of the jvm
- stack trace of the crash
(0000076)
mbergner (reporter)
2008-12-08 10:55
edited on: 2008-12-08 10:56

Done, I also have two split copies which show essential the same, the error comes from:

at org.omnetpp.cdt.makefile.MakefileTools.collectDirs(MakefileTools.java:184)
        at org.omnetpp.cdt.makefile.MakefileTools.collectDirs(MakefileTools.java:207)
        at org.omnetpp.cdt.makefile.MakefileTools.collectDirs(MakefileTools.java:179)
        at org.omnetpp.cdt.makefile.MakefileTools.getOmnetppIncludeLocationsForProject(MakefileTools.java:231)
        at org.omnetpp.cdt.OmnetppGCCScannerInfoCollector.createPathInfoObject(OmnetppGCCScannerInfoCollector.java:32)

(0000077)
andras (administrator)
2008-12-08 11:36

Thanks. This is in fact 3 bugs.

1. the crash is duplicate of 0000007 (fixed)
2. NPE in collectDirs() has already been fixed in the repo
3. invalid thread access in TextualNedEditor.isActive() when called on a NEDResources change notification from background thread. This issue is currently open.

Keeping the bug open due to issue 3.
(0000081)
rhornig (administrator)
2008-12-08 17:08

Fixed the invlaid thread access issue.

- Issue History
Date Modified Username Field Change
2008-12-08 10:42 mbergner New Issue
2008-12-08 10:43 mbergner File Added: bt-crash-java.log.gz
2008-12-08 10:43 mbergner File Added: bt-crash-normal.log.gz
2008-12-08 10:46 andras Note Added: 0000075
2008-12-08 10:52 mbergner File Added: eclipselog.gz
2008-12-08 10:55 mbergner Note Added: 0000076
2008-12-08 10:56 mbergner Note Edited: 0000076
2008-12-08 11:36 andras Note Added: 0000077
2008-12-08 11:37 andras Status new => confirmed
2008-12-08 17:08 rhornig Note Added: 0000081
2008-12-08 17:08 rhornig Status confirmed => resolved
2008-12-08 17:08 rhornig Fixed in Version => 4.0rc1
2008-12-08 17:08 rhornig Resolution open => fixed
2008-12-08 17:08 rhornig Assigned To => rhornig


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker