Comments (13)
@tcorbat @tonisuter @fmorgner @Stautob bitte die Liste der Plug-ins ergänzen (habs nur von letztem Mal kopiert)
from issues.
All 'CUTE' plugins should be ready and tagged for release. The 'Cevelop Plug-ins' are also ready and tagged. AFAIK @Stautob's Intwidthfixator will remain in the optional track for the foreseeable future. GSLator is scheduled to remain optional for the 1.7.0 release.
from issues.
Does anybody know the state of Mockator and Sconsolidator? I guess Sconsolidator is pretty stable..
from issues.
Shall we use CDT 9.2.2 for Cevelop 1.7?
from issues.
Does it include all patches we shipped in the past releases?
from issues.
cevelop 1.7 fails to load on Windows 10 Creators Update with Java 8.
The error is:
from issues.
from issues.
@tcorbat Thanks! That was it, somehow the Java installer had resisted all attempts I made to install the 64 bit version and had installed the 32 bit version. Sorry, I have been out of the Java stream of consciousness for several years :-)
from issues.
So, after trying to analyze our rather large source base, I keep getting Java null pointer exceptions:
Example:
Failed to get including location of include float.h.
Failed to get including location of include limits.h.
Failed to get including location of include math.h.
Failed to get including location of include new.
Failed to get including location of include stdarg.h.
Failed to get including location of include stdint.h.
Failed to get including location of include stdio.h.
Failed to get including location of include stdlib.h.
Failed to get including location of include wchar.h.
Failed to get including location of include xmmintrin.h.
File unspecified
Error while performing static analysis.
java.lang.NullPointerException
I am assuming that it isn't a problem that the system headers can't be located.
I have changed my vmargs to include:
-Xms1024m
-Xmx8192m
Is there any way to learn specifically what the issue is (I may be able to work around it if I understand what the problem is).
from issues.
Sorry over the Easter holidays you might not get a substantial support. But you can open the error log view, select and copy paste the corresponding stack trace here which might give an indication which checker (assuming static analysis is really the reason for the npe) is guilty. A second option is to check the JVM's/Eclipse memory usage( I know there must be a plugin for it) to see if even with your settings the JVM runs out of usable memory making allocations fail. A third option might be, that the OS limits the numbers of open files below what is needed or the files lack permissions, because you get messages related to file access.
from issues.
@rtosman We're back from our Easter holidays. Thanks for your report!
Is there a more detailed stack track in the Eclipse Error Log? It would be helpful to know where exactly this NPE occured. I guess you cannot provide a minimal example to reproduce the issue, right?
from issues.
I have found 2 NPEs. I was able to create a minimal example for the second one.
Steps to reproduce:
-
Create a new C++ project in Cevelop
-
Add the following two files (They have to be two separate files!):
- GH17ClassNPE.h:
#ifndef GH17_CLASS_NPE #define GH17_CLASS_NPE class GH17ClassNPE: public GH17ClassNPEBase { // The base must not exist! GH17ClassNPE(); }; #endif
- GH17ClassNPE.cpp:
#include "GH17ClassNPE.h" GH17ClassNPE::GH17ClassNPE() : GH17ClassNPEBase { } { }
-
Run Includator "Organize Includes" on either the Project or the CPP file (This is important since running it on the header will not produce the NPE)
Stacktrace:
java.lang.NullPointerException
at com.cevelop.includator.helpers.ConstructorReferenceHelper.findImplicitlyInitializedBaseClasses(ConstructorReferenceHelper.java:78)
at com.cevelop.includator.helpers.ConstructorReferenceHelper.addImplicitBaseClassConstructors(ConstructorReferenceHelper.java:49)
at com.cevelop.includator.helpers.DeclarationReferenceVisitor.performAdditionalRefActions(DeclarationReferenceVisitor.java:213)
at com.cevelop.includator.helpers.DeclarationReferenceVisitor.addName(DeclarationReferenceVisitor.java:159)
at com.cevelop.includator.helpers.DeclarationReferenceVisitor.visit(DeclarationReferenceVisitor.java:81)
at org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTName.accept(CPPASTName.java:150)
at org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTQualifiedName.accept(CPPASTQualifiedName.java:247)
at org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTDeclarator.accept(CPPASTDeclarator.java:190)
at org.eclipse.cdt.internal.core.dom.parser.cpp.CPPASTFunctionDefinition.accept(CPPASTFunctionDefinition.java:204)
at org.eclipse.cdt.internal.core.dom.parser.ASTTranslationUnit.accept(ASTTranslationUnit.java:266)
at com.cevelop.includator.helpers.DeclarationReferenceHelper.findDeclReferences(DeclarationReferenceHelper.java:54)
at com.cevelop.includator.resources.IncludatorFile.getDeclarationReferences(IncludatorFile.java:60)
at com.cevelop.includator.optimizer.findunusedincludes.FindUnusedIncludesAlgorithm.run(FindUnusedIncludesAlgorithm.java:55)
at com.cevelop.includator.optimizer.Algorithm.start(Algorithm.java:42)
at com.cevelop.includator.optimizer.ScopedAlgorithm.run(ScopedAlgorithm.java:34)
at com.cevelop.includator.optimizer.Algorithm.start(Algorithm.java:42)
at com.cevelop.includator.optimizer.Optimizer.run(Optimizer.java:37)
at com.cevelop.includator.ui.OptimizationRunner.run(OptimizationRunner.java:57)
at com.cevelop.includator.ui.actions.IncludatorAlgorithmAction.runAnalysisJob(IncludatorAlgorithmAction.java:110)
at com.cevelop.includator.ui.actions.IncludatorAlgorithmAction$1.runWithWorkbenchWindow(IncludatorAlgorithmAction.java:58)
at com.cevelop.includator.ui.actions.IncludatorJob.run(IncludatorJob.java:32)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Notes
A similar NPE happens in relation to non-static member functions, but I am currently no able to reproduce it using a minimal example. For both of them, I have a preliminary fix on my own branch.
from issues.
Moved the NPE issue to #22 since it is not related to the release process. Closing this issue, since 1.7.0 has been released. Any further information shall be attached to #22. Thanks for reporting the issue!
from issues.
Related Issues (20)
- NPE in gslator HOT 1
- Plug-in com.cevelop.codeanalysator.core was unable to load class com.cevelop.codeanalysator.core.menu.TestHandler. HOT 1
- Arraystore exception (mit stacktrace) HOT 2
- Refactoring C-array into std::array uses incorrect size HOT 2
- Content Assist Not Making Suggestions HOT 1
- Cute test viewer should navigate also to successful tests.
- Alert no main class on first startup HOT 12
- Properties menu item is gone HOT 6
- Warning "Return statement has invalid style. Return value should be surrounded by parenthesis" HOT 1
- how to get rid off "Un- or ill-initialized variable" HOT 2
- [Cevelop] Can't update packages HOT 1
- Menu display issues at high DPI
- Cevelope crash if I install plugin C/C++ Unit testing feature HOT 10
- "Save Failed" HOT 1
- Eclipse Marketplace issue HOT 2
- Linticator won't run HOT 1
- Error trying to run Linticator in MCUXpresso HOT 9
- could not create the java virtual machine
- clangd support?
- Download links to binaries on website do not work HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from issues.