mariorizzi.habil_eng

Deploy error on a customized processor

Discussion created by mariorizzi.habil_eng on Feb 13, 2020

Hi,

I'm a newbie in Geoevent Development and I'm facing an error when deploying a custom processor. Please check the log below, btw the Geoevent version is 10.6:

 

-------------------

Entry Added: /geoevent/config/clusters/default/deploy/aismanipulatestring-processor-10.6.1.jar

.

.

Entry not copied down from Zookeeper. /geoevent/config/clusters/default/deploy/aismanipulatestring-processor-10.6.1.jar

.

.

Installing bundle custom.gep.aismanipulatestring-processor / 10.6.1

.

.

Error retrieving service from ServiceRecipe[name='aisManipulateStringProcessorService'] org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: bundleContext, getter: null, setter: [class com.esri.ges.processor.GeoEventProcessorServiceBase.setBundleContext(interface org.osgi.framework.BundleContext)] at org.apache.aries.blueprint.container.BeanRecipe.setProperty(BeanRecipe.java:963) [251:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:929) [251:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.setProperties(BeanRecipe.java:910) [251:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate2(BeanRecipe.java:844) [251:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.BeanRecipe.internalCreate(BeanRecipe.java:811) [251:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.di.AbstractRecipe$1.call(AbstractRecipe.java:79) [251:org.apache.aries.blueprint.core:1.8.0] at java.util.concurrent.FutureTask.run(FutureTask.java:266) [?:?] at org.apache.aries.blueprint.di.AbstractRecipe.create(AbstractRecipe.java:88)

.

.

.Error retrieving service from ServiceRecipe[name='aisManipulateStringProcessorService'] org.osgi.service.blueprint.container.ComponentDefinitionException: org.osgi.service.blueprint.container.ComponentDefinitionException: Error setting property: PropertyDescriptor <name: bundleContext, getter: null, setter: [class com.esri.ges.processor.GeoEventProcessorServiceBase.setBundleContext(interface org.osgi.framework.BundleContext)] at org.apache.aries.blueprint.container.ServiceRecipe.createService(ServiceRecipe.java:310) [251:org.apache.aries.blueprint.core:1.8.0] at org.apache.aries.blueprint.container.ServiceRecipe.internalGetService(ServiceRecipe.java:252) [251:org.apache.aries.blueprint.core:1.8.0] at

 

------------------------

 

And my pom.xml:

 

    <repositories>
        <repository>
           <id>internal-repository</id>
           <url>http://.....petrobras.com.br</url>
       </repository>
        <repository>
            <id>geoevent-sdk-repo</id>
            <url>file://${project.basedir}/../../repository</url>
        </repository>
    </repositories>
    <dependencies>
        <dependency>
            <groupId>com.esri.geoevent.sdk</groupId>
            <artifactId>geoevent-sdk</artifactId>
            <version>${project.version}</version>
            <scope>provided</scope>
        </dependency>
        <dependency>
            <groupId>junit</groupId>
            <artifactId>junit</artifactId>
            <version>4.8.1</version>
            <scope>test</scope>
        </dependency>
    </dependencies>
    <build>
        <pluginManagement>
            <plugins>
                <plugin>
                    <groupId>org.apache.maven.plugins</groupId>
                    <artifactId>maven-compiler-plugin</artifactId>
                    <version>3.3</version>
                    <configuration>
                        <source>1.8</source>
                        <target>1.8</target>
                    </configuration>
                </plugin>
            </plugins>
        </pluginManagement>
        <plugins>
            <plugin>
                <groupId>org.apache.felix</groupId>
                <artifactId>maven-bundle-plugin</artifactId>
                <version>2.3.6</version>
                <extensions>true</extensions>
                <configuration>
                    <instructions>
                        <Build-Number>${buildId}</Build-Number>
                        <Bundle-SymbolicName>${project.groupId}.${project.artifactId}</Bundle-SymbolicName>
                        <Bundle-ContactAddress>${sdk.contact.address}</Bundle-ContactAddress>
                        <Bundle-Version>${project.version}</Bundle-Version>
                        <Export-Package/>
                        <Private-Package>custom.processor</Private-Package>
                    </instructions>
                </configuration>
            </plugin>
        </plugins>
    </build>
    <packaging>bundle</packaging>

 

 

And attached a printscreeen of my Project Explorer as well.

 

I greatly appreciate all your feedback, thanks!

Attachments

Outcomes