2017-10-18 275 views
-2

我一直有這個問題時,我嘗試調試基於Eclipse IDE一個Flex/AS3應用程序,只要我在彈出窗口將鼠標懸停在任何變量了調試閃光燈顯示了一個錯誤:無法看到變量,而在日食

An internal error occurred during: "Evaluating Flex expression...". java.lang.NullPointerException

了錯誤的更多細節,我花了一段時間才能找出Eclipse日誌:

!ENTRY org.eclipse.core.jobs 4 2 2017-10-19 10:48:03.565 
!MESSAGE An internal error occurred during: "Evaluating Flex expression...". 
!STACK 0 
java.lang.NullPointerException 
at flash.tools.debugger.concrete.PlayerSession.pullUpActivationObjectVariables(PlayerSession.java:1007) 
at flash.tools.debugger.concrete.PlayerSession.requestFrame(PlayerSession.java:984) 
at flash.tools.debugger.concrete.DStackContext.populate(DStackContext.java:156) 
at flash.tools.debugger.concrete.DStackContext.getThis(DStackContext.java:92) 
at com.adobe.flexbuilder.debug.djapi.wrappers.ThreadSafeFrame.getThis(ThreadSafeFrame.java:121) 
at com.adobe.flexbuilder.debug.model.FlexStackFrame.initVariables(FlexStackFrame.java:283) 
at com.adobe.flexbuilder.debug.model.FlexStackFrame.getVariables(FlexStackFrame.java:410) 
at com.adobe.flexbuilder.debug.expression.FlexStackContext.lookup(FlexStackContext.java:52) 
at flash.tools.debugger.expression.VariableExp.evaluate(VariableExp.java:28) 
at com.adobe.flexbuilder.debug.djapi.wrappers.ThreadSafeValueExp.evaluate(ThreadSafeValueExp.java:54) 
at com.adobe.flexbuilder.debug.expression.FlexExpression.evaluate(FlexExpression.java:120) 
at com.adobe.flexbuilder.debug.expression.FlexWatchExpressionDelegate$EvaluationJob.run(FlexWatchExpressionDelegate.java:103) 
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55) 

基於Eclipse的變量標籤和表情選項卡都是空的: screen shot here

我的環境:

  • 的Eclipse 3.3.2
  • Flash調試27.0.0.170(調試版本)
  • 火狐56.0.1 64位
  • 的Flex Builder 3

我試過:reins高調Flash調試器,甚至爲我的Eclipse重建工作區,沒有運氣。一些想法來解決這個問題將非常感激。

+1

http://idownvotedbecau.se/imageofanexception/ –

+0

在屏幕截圖上沒有太多顯示,無論我在哪裏放置斷點,eclipse上的變量選項卡都顯示爲空。 –

+1

Eclipse 3.3是10歲! –

回答

1

恢復我的瀏覽器和閃存到舊版本終於解決了這個問題。謝謝大家。