Community
Participate
Working Groups
DS (10/10/01 4:20:15 PM) Step into System.out.println("HEY") in some code In StringBuffer(String) swipe "append(s)" java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:386) at org.eclipse.jdt.internal.core.SourceMapper.getImports(SourceMapper.java:747) at org.eclipse.jdt.internal.core.eval.EvaluationContextWrapper.evaluateCodeSnippet(EvaluationContextWrapper.java:151) at org.eclipse.jdt.internal.debug.core.StackFrameEvaluationContext.doEvaluation(StackFrameEvaluationContext.java:86) at org.eclipse.jdt.internal.debug.core.ThreadEvaluationContext.run(ThreadEvaluationContext.java:120) at java.lang.Thread.run(Thread.java:498) SourceMapper.getImports(BinaryType) line: 747 seems to have a bug of attempting to put null into a Hashtable. NOTES:
The put in the hashtable was done even if the imports were null. Moved the put inside the if (imports != null) {...} Released in HEAD.
PRODUCT VERSION: 203++