[Soot-list] Error while running

Zeinab Lashkaripour lashkaripour at yahoo.com
Thu Jan 31 11:02:40 EST 2013


Hi,
I have some class files that I want to run Soot on them. I think that this error is related to those class files, is that correct? This error occurs when "SootClass appClass = Scene.v().loadClassAndSupport(classFile);" is executed.

If so then I'll have to explain a weird experience that I had with these classes later.


The message and stack trace are given below:
Message:
    Unexpected runtime error while computing a text hover


Stack trace:
 java.lang.NullPointerException
    at ca.mcgill.sable.soot.attributes.JavaAttributesComputer.init(JavaAttributesComputer.java:73)
    at ca.mcgill.sable.soot.attributes.AbstractAttributesComputer.getAttributesHandler(AbstractAttributesComputer.java:98)
    at ca.mcgill.sable.soot.attributes.SootAttributesJavaHover.getAttributes(SootAttributesJavaHover.java:130)
    at ca.mcgill.sable.soot.attributes.AbstractSootAttributesHover.getHoverInfo(AbstractSootAttributesHover.java:78)
    at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:169)
    at org.eclipse.jdt.internal.ui.text.java.hover.BestMatchHover.getHoverInfo2(BestMatchHover.java:129)
    at org.eclipse.jdt.internal.ui.text.java.hover.JavaEditorTextHoverProxy.getHoverInfo2(JavaEditorTextHoverProxy.java:85)
    at org.eclipse.jface.text.TextViewerHoverManager$4.run(TextViewerHoverManager.java:166)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.cs.mcgill.ca/pipermail/soot-list/attachments/20130131/f7f6c12d/attachment-0001.html 


More information about the Soot-list mailing list