Projet

Général

Profil

Actions

Anomalie #1243

fermé

NPE happening when editing...

Ajouté par Anonyme il y a plus de 11 ans. Mis à jour il y a plus de 11 ans.

Statut:
Fermé
Priorité:
Normal
Assigné à:
-
Catégorie:
-
Version cible:
Début:
07/10/2014
Echéance:
% réalisé:

0%

Temps estimé:
Temps passé:

Description

Following file:

import my.interfaces.AJavaInterface
import my.interfaces.AnotherJavaInterface

namespace a {
    component A {
    }
}

namespace simple.stuffs {
    component MyBeautifulComponent {
        provides portName: AJavaInterface
        requires anotherPortName: AnotherJavaInterface
    }

    component MySimpleComponent {
        provides p1: AnotherJavaInterface
    }

    component MyComplexComponent {

        provides p1: AnotherJavaInterface
        provides p2: AnotherJavaInterface = s.p1
        requires p3: AnotherJavaInterface

        part b1: MyBeautifulComponent {
            bind anotherPortName to s.p1 
        }

        part b2: MyBeautifulComponent {
            bind anotherPortName to p1
        }

        part b3: MyBeautifulComponent {
            bind anotherPortName to p3
        }

        part s: MySimpleComponent

    }
    // here
}

namespace simple.stuffs {
    component ParameterisedComponent1[T extends Number] {

        provides p1: java.util.concurrent.Callable[T]
        provides p2: java.util.concurrent.Callable[String]
    }

    component ParameterisedComponent2[T1,T2 extends Number] {

        part p1: ParameterisedComponent1[T2] {

        }

        part p2: ParameterisedComponent1[Integer] {

        }

    }
}

typing component at the end of the simple.stuffs namespace raises a NPE it seems...

same thing for a species in an ecosystem...

Mis à jour par Anonyme il y a plus de 11 ans

  • Description mis à jour (diff)

Mis à jour par Anonyme il y a plus de 11 ans

  • Statut changé de Nouveau à Résolu

Mis à jour par Anonyme il y a plus de 11 ans

  • Statut changé de Résolu à Fermé
Actions

Formats disponibles : Atom PDF