eclipse-ocl / org.eclipse.ocl

Eclipse Public License 2.0
0 stars 0 forks source link

[ocl] Complete OCL Editor linking error #1385

Closed eclipse-ocl-bot closed 4 hours ago

eclipse-ocl-bot commented 4 hours ago

| --- | --- | | Bugzilla Link | 447615 | | Status | RESOLVED FIXED | | Importance | P3 normal | | Reported | Oct 16, 2014 14:39 EDT | | Modified | Jun 18, 2015 04:07 EDT | | Reporter | EPP Error Reports |

Description

Hello committers,

we received a new error report for Eclipse 4.5.0.I20140918-0330.

General Information:\ anonymous-id: 8a02a811-1e55-4f7c-b66c-f4f90c87f0c8\ eclipse-build-id: 4.5.0.I20140918-0330\ eclipse-product: org.eclipse.epp.package.modeling.product\ operating system: MacOSX 10.9.5 (x86_64) - cocoa\ java-runtime-version: 1.7.0_45-b18

The following plug-ins were present on the execution stack (*):

  1. org.eclipse.core.jobs_3.6.100.v20140821-1523
  2. org.eclipse.ocl.examples.pivot_3.5.0.v20141001-1658
  3. org.eclipse.ocl.examples_3.4.100.v20140713-1723
  4. org.eclipse.ocl_3.5.0.v20140725-2247
  5. org.eclipse.ocl.examples.xtext.base_3.5.0.v20140714-1502
  6. org.eclipse.ocl.examples.xtext.essentialocl_3.5.0.v20141001-1742
  7. org.eclipse.xtext_2.8.0.v201409300608
  8. org.eclipse.xtext.ui_2.8.0.v201409300608
  9. org.eclipse.xtext.util_2.8.0.v201409300608

Error Status:

code:                   0\
plugin:                 org.eclipse.ocl.examples.xtext.base_3.5.0.v20140714-1502\
message:                Complete OCL Editor linking error\
fingerprint:            8aa0bc76\
exception class:        java.lang.NullPointerException\
exception message:      -\
number of children:     0\
\
java.lang.NullPointerException: null\
at org.eclipse.ocl.examples.pivot.manager.RootPackageServer.assertSamePackage(RootPackageServer.java:43)\
at org.eclipse.ocl.examples.pivot.manager.NestedPackageServer.assertSamePackage(NestedPackageServer.java:42)\
at org.eclipse.ocl.examples.pivot.manager.PackageManager.getPackageServer(PackageManager.java:449)\
at org.eclipse.ocl.examples.pivot.manager.PackageManager.getTypeServer(PackageManager.java:587)\
at org.eclipse.ocl.examples.pivot.manager.MetaModelManager.getTypeServer(MetaModelManager.java:2668)\
at org.eclipse.ocl.examples.pivot.manager.MetaModelManager.getPrimaryType(MetaModelManager.java:2386)\
at org.eclipse.ocl.examples.pivot.context.AbstractBase2PivotConversion.setType(AbstractBase2PivotConversion.java:250)\
at org.eclipse.ocl.examples.pivot.context.AbstractBase2PivotConversion.setType(AbstractBase2PivotConversion.java:236)\
at org.eclipse.ocl.examples.pivot.context.AbstractBase2PivotConversion.setContextVariable(AbstractBase2PivotConversion.java:140)\
at org.eclipse.ocl.examples.xtext.base.cs2as.CS2PivotConversion.refreshContextVariable(CS2PivotConversion.java:908)\
at org.eclipse.ocl.examples.xtext.essentialocl.cs2as.EssentialOCLCSPostOrderVisitor$ConstraintCSCompletion.execute(EssentialOCLCSPostOrderVisitor.java:87)\
at org.eclipse.ocl.examples.xtext.base.cs2as.CS2PivotConversion.progressContinuations(CS2PivotConversion.java:820)\
at org.eclipse.ocl.examples.xtext.base.cs2as.CS2PivotConversion.update(CS2PivotConversion.java:1344)\
at org.eclipse.ocl.examples.xtext.base.cs2as.CS2Pivot.update(CS2Pivot.java:520)\
at org.eclipse.ocl.examples.xtext.base.utilities.CS2PivotResourceAdapter.refreshPivotMappings(CS2PivotResourceAdapter.java:88)\
at org.eclipse.ocl.examples.xtext.base.utilities.CS2PivotLinker.afterModelLinked(CS2PivotLinker.java:69)\
at org.eclipse.xtext.linking.impl.AbstractCleaningLinker.linkModel(AbstractCleaningLinker.java:53)\
at org.eclipse.xtext.resource.XtextResource.doLinking(XtextResource.java:297)\
at org.eclipse.xtext.linking.lazy.LazyLinkingResource.doLinking(LazyLinkingResource.java:108)\
at org.eclipse.ocl.examples.xtext.essentialocl.utilities.EssentialOCLCSResource.doLinking(EssentialOCLCSResource.java:226)\
at org.eclipse.xtext.resource.XtextResource.updateInternalState(XtextResource.java:265)\
at org.eclipse.xtext.resource.XtextResource.updateInternalState(XtextResource.java:255)\
at org.eclipse.xtext.resource.XtextResource.update(XtextResource.java:236)\
at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.doReconcile(XtextDocumentReconcileStrategy.java:148)\
at org.eclipse.xtext.ui.editor.reconciler.XtextDocumentReconcileStrategy.reconcile(XtextDocumentReconcileStrategy.java:70)\
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.doRun(XtextReconciler.java:412)\
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.access$3(XtextReconciler.java:396)\
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:337)\
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler$1.process(XtextReconciler.java:1)\
at org.eclipse.xtext.util.concurrent.IUnitOfWork$Void.exec(IUnitOfWork.java:36)\
at org.eclipse.xtext.ui.editor.model.XtextDocument$XtextDocumentLocker.modify(XtextDocument.java:403)\
at org.eclipse.xtext.ui.editor.model.XtextDocument.internalModify(XtextDocument.java:144)\
at org.eclipse.xtext.ui.editor.reconciler.XtextReconciler.run(XtextReconciler.java:334)\
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)\

Messages, stacktraces, and nested status objects may be shortened. Please visit \ http://dev.eclipse.org/recommenders/committers/confess/0.5/reports/544010f8e4b0eacad921deb1\ 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.

--

eclipse-ocl-bot commented 4 hours ago

By EPP Error Reports on Oct 16, 2014 14:39

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 446693](https://bugs.eclipse.org/bugs/show_bug.cgi?id=446693): [any,xtext] HIDDEN (err_grp: 55e8b424) – 0,8    
2. [Bug 444565](https://bugs.eclipse.org/bugs/show_bug.cgi?id=444565): Could not retrieve superclass (err_grp: ceda180b) – 0,5    
3. [Bug 446645](https://bugs.eclipse.org/bugs/show_bug.cgi?id=446645): [any,xtext,xtend] Could not retrieve interfaces (err_grp: 70d3e9ea) – 0,2    

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.

eclipse-ocl-bot commented 4 hours ago

By Ed Willink on Nov 11, 2014 12:04

It would be nice to knwo what the user models were.

Relevant code has been rewritten but not yet pushed to master.

eclipse-ocl-bot commented 4 hours ago

By Marcel Bruch on Jun 18, 2015 03:31

Moving to OCL to continue tracking in the relevant projects. Please close if these problems are not relevant anymore.

eclipse-ocl-bot commented 4 hours ago

By Ed Willink on Jun 18, 2015 04:07

(In reply to Ed Willink from comment #2)

It would be nice to knwo what the user models were.

Relevant code has been rewritten but not yet pushed to master.

Now in master. REopen if reoccurs for Mars.