Bug 448438 - [platform] CCE in JavaBreakpointPage.getBreakpoint - JarPackageFragmentRoot cannot be cast to IJavaBreakpoint
Summary: [platform] CCE in JavaBreakpointPage.getBreakpoint - JarPackageFragmentRoot c...
Status: UNCONFIRMED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: Debug (show other bugs)
Version: 4.4.1   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Sarika Sinha CLA
QA Contact:
URL:
Whiteboard: Steps Will help
Keywords: needinfo
: 451063 451479 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-10-23 03:26 EDT by EPP Error Reports CLA
Modified: 2014-11-28 00:11 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EPP Error Reports CLA 2014-10-23 03:26:21 EDT
Hello committers,

we received a new error report for Eclipse 4.4.1.M20140925-0400.


General Information:
    anonymous-id:         b0bd0431-d4b0-4f53-a664-9b1fcfae05f5
    eclipse-build-id:     4.4.1.M20140925-0400
    eclipse-product:      org.eclipse.epp.package.jee.product
    operating system:     Windows7 6.1.0 (x86) - win32
    java-runtime-version: 1.8.0_25-b18

The following plug-ins were present on the execution stack (*):
    1. org.eclipse.core.databinding.observable_1.4.1.v20140210-1835
    2. org.eclipse.core.databinding_1.4.2.v20140729-1044
    3. org.eclipse.core.resources_3.9.1.v20140825-1431
    4. org.eclipse.core.runtime_3.10.0.v20140318-2214
    5. org.eclipse.e4.ui.workbench_1.2.1.v20140901-1244
    6. org.eclipse.e4.ui.workbench.swt_0.12.100.v20140530-1436
    7. org.eclipse.equinox.app_1.3.200.v20130910-1609
    8. org.eclipse.equinox.launcher_1.3.0.v20140415-2008
    9. org.eclipse.jdt.debug.ui_3.6.300.v20140512-1926
    10. org.eclipse.jdt.debug_3.8.101.v20140902-1548
    11. org.eclipse.jdt_3.10.0.v20140925-0400
    12. org.eclipse.jface_3.10.1.v20140813-1009
    13. org.eclipse.swt_3.103.1.v20140903-1938
    14. org.eclipse.ui_3.106.0.v20140812-1751
    15. org.eclipse.ui.ide.application_1.0.500.v20140514-2033
    16. org.eclipse.ui.ide_3.10.1.v20140828-0944


Error Status:

    code:                   0
    plugin:                 org.eclipse.jface_3.10.1.v20140813-1009
    message:                java.lang.ClassCastException: org.eclipse.jdt.internal.core.JarPackageFragmentRoot cannot be cast to org.eclipse.jdt.debug.core.IJavaBreakpoint
    fingerprint:            851dffa9
    exception class:        java.lang.ClassCastException
    exception message:      org.eclipse.jdt.internal.core.JarPackageFragmentRoot cannot be cast to org.eclipse.jdt.debug.core.IJavaBreakpoint
    number of children:     0
    
    java.lang.ClassCastException: org.eclipse.jdt.internal.core.JarPackageFragmentRoot cannot be cast to org.eclipse.jdt.debug.core.IJavaBreakpoint
    at org.eclipse.jdt.internal.debug.ui.propertypages.JavaBreakpointPage.getBreakpoint(JavaBreakpointPage.java:255)
    at org.eclipse.jdt.internal.debug.ui.propertypages.JavaBreakpointPage$1.run(JavaBreakpointPage.java:90)
    at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
    at org.eclipse.jdt.internal.debug.ui.propertypages.JavaBreakpointPage.performOk(JavaBreakpointPage.java:102)
    at org.eclipse.jface.preference.PreferenceDialog$12.run(PreferenceDialog.java:992)
    at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
    at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:50)
    at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:178)
    at org.eclipse.jface.preference.PreferenceDialog.okPressed(PreferenceDialog.java:971)
    at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.okPressed(FilteredPreferenceDialog.java:460)
    at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:236)
    at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:619)
    at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:248)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.jface.window.Window.runEventLoop(Window.java:832)
    at org.eclipse.jface.window.Window.open(Window.java:808)
    at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:160)
    at org.eclipse.jface.action.Action.runWithEvent(Action.java:519)
    at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:595)
    at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:511)
    at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:420)
    at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
    at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4353)
    at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1061)
    at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:4172)
    at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3761)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$9.run(PartRenderingEngine.java:1151)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1032)
    at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:148)
    at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:636)
    at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
    at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:579)
    at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:150)
    at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:135)
    at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:134)
    at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:380)
    at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:235)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(null:-2)
    at sun.reflect.NativeMethodAccessorImpl.invoke(null:-1)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(null:-1)
    at java.lang.reflect.Method.invoke(null:-1)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:648)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:603)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1465)
   

    

Messages, stacktraces, and nested status objects may be shortened. Please visit 
http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/5448ad9ee4b073e552670375
for the complete error log.


Some general information and guidelines about how to use this bug report:

1. Feel free to move this bug to your own product and components. Please note
   that this bug is only accessible to Eclipse committers. If you move this bug
   please make sure that it's still in the "Security Advisor" group.

2. The bug contents of the fields status, resolution, keywords, and whitelist
   are presented to reporters. If you needs more information, please set the
   keyword "needinfo". This will trigger a specialized dialog asking the user
   to provide further details.

3. Use the following resolutions for the following situations:
   * CLOSED / FIXED: This bug has been fixed. Please provide additional
     information in the whiteboard field.
   * CLOSED / WORKSFORME: Use this resolution if you can't reproduce this issue
     and request further information. Please use the whiteboard text to specify
     more details what a user should provide and how.
   * CLOSED / INVALID: Use this resolution if the reported problem is a
     'user-configuration' problem. Please consider giving hints how to fix
     these issues in the whiteboard field.
   * CLOSED / NOT ECLIPSE: Use this if the problem is caused by another plugin
     not developed at Eclipse.org
   * CLOSED / MOVED: If this bug has been moved else where. Please provide more 
     information (e.g. a link) in the whiteboard field.

4. Please remember that only committers can view and comment on this bug. You
   may, however, manually add the reporting user to the bug's cc list. But keep
   in mind that the report may contains sensitive information.

5. If you are missing a feature, please file a enhancement request here:
   https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Recommenders.Incubator&component=Stacktraces
    
 

Thank you for your assistance.
Your friendly error-reports-inbox.


--
* Note: The list of present bundles and their respective versions was
  calculated by package naming heuristics. This may or may not reflect reality.
Comment 1 EPP Error Reports CLA 2014-10-23 03:26:23 EDT
I've looked up the (to date) top-3 most similar bug groups and listed the 
closest bug of each group below. This report may or may not be duplicate of
those (low or similar scores for all entries may indicate that this hasn't
been reported yet):

>     1. Bug 446737: [platform] Conflicting handlers for org.eclipse.ui.navigate.backwardHistory: {ActionHand... (err_grp: bbae7a86) – 0,8    
>     2. Bug 448369: [cdt] Error: Cannot run program "ndk-build": Unknown reason – 0,4    
>     3. Bug 446789: [p2,xtext] Problems occurred when invoking code from plug-in: "org.eclipse.jface". (err_grp: fa3dd9b3) – 0,4    


If this report actually is a duplicate of those, please mark it as such. This
information helps me to improve the recommendations further for the next issue.

Thank you for your assistance.
Your friendly error-reports-inbox.
Comment 2 Marcel Bruch CLA 2014-10-23 04:05:17 EDT
Moving to jdt debug for comment.


one personal questions how to map bundle versions to bugzilla component versions:
Q: Is JDT 3.10 mapped to Bugzilla version 4.4.1?
Q: Is JDT 3.11 mapped to Bugzilla version 4.5.0 milestones?
Comment 3 EPP Error Reports CLA 2014-11-11 20:32:16 EST
*** Bug 451063 has been marked as a duplicate of this bug. ***
Comment 4 EPP Error Reports CLA 2014-11-14 04:13:29 EST
*** Bug 451479 has been marked as a duplicate of this bug. ***
Comment 5 Marcel Bruch CLA 2014-11-28 00:11:46 EST
Adding needinfo keyword to trigger popup on reporter-side.