Perl Debugger throws NullPointerException

2012-06-25
2013-05-20
  • Todd Gochenour

    Todd Gochenour - 2012-06-25

    Exception in org.epic.debug.PerlDebugPlugin.start() of bundle org.epic.debug.
    Caused by: java.lang.NullPointerException
    at org.epic.debug.ui.action.VariablesViewActionDelegate.enableVariablesViewActions(VariablesViewActionDelegate.java:44)
    at org.epic.debug.PerlDebugPlugin.start(PerlDebugPlugin.java:458)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl$1.run(BundleContextImpl.java:711)
    at java.security.AccessController.doPrivileged(Native Method)
    at org.eclipse.osgi.framework.internal.core.BundleContextImpl.startActivator(BundleContextImpl.java:702)

     
  • Todd Gochenour

    Todd Gochenour - 2012-06-25

    In my Eclipse configuration, I see these references to 'perl':

    java.library.path=C:\eclipse;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;c:\oracle\product\11.2.0\client_64;c:\oracle\product\11.2.0\client_64\bin;C:\oracle\product\11.2.0\client_32;C:\oracle\product\11.2.0\client_32\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Common Files\Roxio Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio Shared\OEM\12.0\DLLShared\;C:\Program Files\Java\jdk1.6.0_29\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin;C:\Program Files (x86)\ActiveState Perl Dev Kit 9.1\bin\;C:\Program Files\ActiveState Perl Dev Kit 9.1\bin\;C:\Perl\site\bin;C:\Perl\bin;C:\Program Files (x86)\Perforce;C:\mysql\bin;C:\Program Files (x86)\BaseX\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;;.

    org.epic.feature.main (0.6.44) "Perl Editor Plug-in"

    org.epic.debug (0.6.32) "Perl Debug Plug-in"
    org.epic.doc (0.6.2) "EPIC Documentation Plug-in"
    org.epic.lib (0.6.1) "EPIC External Libs Plug-in"
    org.epic.perleditor (0.6.31) "Perl Editor Plug-in"
    org.epic.regexp (0.6.1) "Perl RegExp Plug-in"
    org.epic.source (0.6.44) "EPIC Source Plug-in"

    and a whole bunch of perleditor configuration values.

    I do have padwalker module installed.

     
  • Jan Ploski

    Jan Ploski - 2012-06-25

    It is a known fixed bug, but the fix not yet released.

    It occurs when trying to launch script in debug mode for the first time while another workbench window without any active page (no perspective opened) is present. Accordingly, you should be able to work around it by closing the other workbench window or opening some perspective in it.

     
  • Thomas Köhler

    Thomas Köhler - 2013-01-15

    I'm getting exactly the same exception when I start the perl debugger.
    The only difference is that I'm using EPIC version 0.6.45.
    Is the fix you're talking about already included in version 0.6.45?

    Ubuntu 11.04 Natty

    Eclipse Indigo SR-2, Build-ID 20120216-1857

    org.epic.feature.main (0.6.45)
    org.epic.debug (0.6.32)
    org.epic.doc (0.6.2)
    org.epic.lib (0.6.1)
    org.epic.perleditor (0.6.32)
    org.epic.regexp (0.6.1)
    org.epic.source (0.6.45)

     
  • Jan Ploski

    Jan Ploski - 2013-01-15

    It is fixed in 0.6.46 (just released).

     
  • Thomas Köhler

    Thomas Köhler - 2013-01-16

    Wow, that was really a quick response!
    And yes, after updating to version 0.6.46 the NPE is fixed.

    Thanks a lot!

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks