inFamix throws NullPointerException error at generate the MSE file for Java Project

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

inFamix throws NullPointerException error at generate the MSE file for Java Project

Taciano Silva
Hi,

I put my java source code directory in the root folder of the infamix. At execute the command to generate MSE file, the infamix throws the NullPointerException while processing a class.

The MSE file is generated, but I dont know if this can to cause problems in the model.

What is the cause this problem?

java.lang.NullPointerException
        at org.eclipse.jdt.core.dom.DefaultBindingResolver.resolveType(DefaultBindingResolver.java:1542)
        at org.eclipse.jdt.core.dom.Type.resolveBinding(Type.java:181)
        at com.intooitus.memoria.importer.jdt.visitors.ParameterizedTypeVisitor.processParamType(ParameterizedTypeVisitor.java:49)
        at com.intooitus.memoria.importer.jdt.visitors.ParameterizedTypeVisitor.visit(ParameterizedTypeVisitor.java:36)
        at org.eclipse.jdt.core.dom.ParameterizedType.accept0(ParameterizedType.java:171)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2562)
        at org.eclipse.jdt.core.dom.SingleVariableDeclaration.accept0(SingleVariableDeclaration.java:371)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2562)
        at org.eclipse.jdt.core.dom.EnhancedForStatement.accept0(EnhancedForStatement.java:187)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
        at org.eclipse.jdt.core.dom.Block.accept0(Block.java:136)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at org.eclipse.jdt.core.dom.ASTNode.acceptChild(ASTNode.java:2562)
        at org.eclipse.jdt.core.dom.MethodDeclaration.accept0(MethodDeclaration.java:504)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
        at org.eclipse.jdt.core.dom.TypeDeclaration.accept0(TypeDeclaration.java:484)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at org.eclipse.jdt.core.dom.ASTNode.acceptChildren(ASTNode.java:2585)
        at org.eclipse.jdt.core.dom.CompilationUnit.accept0(CompilationUnit.java:219)
        at org.eclipse.jdt.core.dom.ASTNode.accept(ASTNode.java:2514)
        at com.intooitus.memoria.importer.jdt.visitors.FileVisitor.visit(FileVisitor.java:53)
        at com.intooitus.memoria.importer.jdt.visitors.PackageVisitor.visit(PackageVisitor.java:46)
        at com.intooitus.memoria.importer.jdt.visitors.SystemVisitor.visit(SystemVisitor.java:71)
        at com.intooitus.memoria.importer.jdt.ModelBuilderWithProgressBar.parseSystem(ModelBuilderWithProgressBar.java:266)
        at com.intooitus.memoria.importer.jdt.ModelBuilderWithProgressBar.buildModel(ModelBuilderWithProgressBar.java:195)
        at com.intooitus.infusion.gui.JDTModelBuilderExtension.loadModel(JDTModelBuilderExtension.java:42)
        at com.intooitus.infusion.metamodel.MemoriaModelBuilder.buildModel(MemoriaModelBuilder.java:73)
        at com.intooitus.infusion.gui.JDTModelBuilderExtension.buildModel(JDTModelBuilderExtension.java:34)
        at com.intooitus.metameta.metamodel.MetaModel.buildModel(MetaModel.java:64)
        at com.intooitus.metameta.metamodel.MetaModel.createFrom(MetaModel.java:31)
        at com.intooitus.infusion.gui.LightweightJavaModelCreator$1.run(LightweightJavaModelCreator.java:67)
        at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)
----
MSc. Taciano de Morais Silva
PhD Student in Computer Science - UFCG / Campina Grande
Assistant Professor of the Bachelor course in Information Systems
Department of Physical and Applied Sciences - DCEA / CERES
Federal University of Rio Grande do Norte - Campus Caicó
http://splab.computacao.ufcg.edu.br
http://bsi.cerescaico.ufrn.br