Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sapphire-dev] FW: Need some help with Sapphire...

Forwarding to sapphire-dev in case someone else has encountered this issue and knows the cause.

- Konstantin


-----Original Message-----
From: Brian Fitzpatrick [mailto:bfitzpat@xxxxxxxxxx] 
Sent: Monday, June 20, 2011 10:55 AM
To: Konstantin Komissarchik
Subject: Re: Need some help with Sapphire...

You bet. I just wanted to make sure I wasn't doing something just idiotic... 

_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, SOA-P
JBoss by Red Hat

----- Original Message -----
From: "Konstantin Komissarchik" <konstantin.komissarchik@xxxxxxxxxx>
To: "Brian Fitzpatrick" <bfitzpat@xxxxxxxxxx>
Sent: Monday, June 20, 2011 11:53:54 AM
Subject: RE: Need some help with Sapphire...

Here is what I tried.

1. Started with a clean RC4 Java EE package install.

2. Installed everything from Sapphire 0.3 RC1 update site, letting it search other sites. This is necessary to pull in Graphiti.

3. Clean workspace. Left target platform as self.

4. Downloaded sapphire samples zip from the Sapphire 0.3 RC1 build. Unzipped it into the workspace and imported the project.

The project builds and the classes are generated. I am not seeing anything weird in the log. 

With your permission, I'd like to forward this thread to sapphire-dev as someone else on the list may have encountered this problem or if we figure out the resolution, that may be of benefit to someone else.

- Konstantin



-----Original Message-----
From: Brian Fitzpatrick [mailto:bfitzpat@xxxxxxxxxx] 
Sent: Monday, June 20, 2011 10:39 AM
To: Konstantin Komissarchik
Subject: Re: Need some help with Sapphire...

I used this one:

http://download.eclipse.org/eclipse/downloads/drops/I20110613-1736/index.php

It was the latest RC5-ish Eclipse Indigo build from June 13. 

_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, SOA-P
JBoss by Red Hat

----- Original Message -----
From: "Konstantin Komissarchik" <konstantin.komissarchik@xxxxxxxxxx>
To: "Brian Fitzpatrick" <bfitzpat@xxxxxxxxxx>
Sent: Monday, June 20, 2011 11:22:29 AM
Subject: RE: Need some help with Sapphire...

Perhaps this unrelated annotation processor blowing up is preventing Sapphire annotation processor from running. What was your base (which version, which package) that you installed Sapphire SDK into?

Let me try now with RC4 Java EE package.

- Konstantin


-----Original Message-----
From: Brian Fitzpatrick [mailto:bfitzpat@xxxxxxxxxx] 
Sent: Monday, June 20, 2011 10:13 AM
To: Konstantin Komissarchik
Subject: Re: Need some help with Sapphire...

If it helps at all I'm seeing it when I try to generate anything in the samples plug-in as well for the MapEditor...

Looks like I have all the plug-ins intact. So I'm not sure why it's failing to generate the classes...

_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, SOA-P
JBoss by Red Hat

----- Original Message -----
From: "Brian Fitzpatrick" <bfitzpat@xxxxxxxxxx>
To: "Konstantin Komissarchik" <konstantin.komissarchik@xxxxxxxxxx>
Sent: Monday, June 20, 2011 10:54:38 AM
Subject: Need some help with Sapphire...

Hey Konstantin,

I hate to put this in the forum because it's just so damn stupid.

I've grabbed the latest RC for Indigo and have Sapphire installed along with my Switchyard editor based in Sapphire...

But I can't get it to build the generated classes. I have the annotation processing turned on in the project. I'm not seeing any errors when I open my sdef in the SDEF editor... 

I do see this message in my .log:

java.lang.NullPointerException
	at org.eclipse.jst.ws.internal.annotations.core.processor.AnnotationsCoreProcessorFactory.getProcessorFor(AnnotationsCoreProcessorFactory.java:49)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.dispatchToFileBasedProcessor(APTDispatchRunnable.java:648)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.runAPTInFileBasedMode(APTDispatchRunnable.java:345)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.build(APTDispatchRunnable.java:683)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.access$1(APTDispatchRunnable.java:675)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable$1.run(APTDispatchRunnable.java:273)
	at org.eclipse.jdt.apt.core.internal.env.BuildEnv$CallbackRequestor.acceptBinding(BuildEnv.java:611)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:925)
	at org.eclipse.jdt.core.dom.CompilationUnitResolver.resolve(CompilationUnitResolver.java:577)
	at org.eclipse.jdt.core.dom.ASTParser.createASTs(ASTParser.java:888)
	at org.eclipse.jdt.apt.core.internal.env.BaseProcessorEnv.createASTs(BaseProcessorEnv.java:859)
	at org.eclipse.jdt.apt.core.internal.env.BuildEnv.createASTs(BuildEnv.java:356)
	at org.eclipse.jdt.apt.core.internal.env.AbstractCompilationEnv.newBuildEnv(AbstractCompilationEnv.java:111)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.build(APTDispatchRunnable.java:283)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.run(APTDispatchRunnable.java:225)
	at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2344)
	at org.eclipse.jdt.apt.core.internal.APTDispatchRunnable.runAPTDuringBuild(APTDispatchRunnable.java:150)
	at org.eclipse.jdt.apt.core.internal.AptCompilationParticipant.processAnnotations(AptCompilationParticipant.java:193)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.processAnnotations(AbstractImageBuilder.java:627)
	at org.eclipse.jdt.internal.core.builder.AbstractImageBuilder.compile(AbstractImageBuilder.java:338)
	at org.eclipse.jdt.internal.core.builder.BatchImageBuilder.build(BatchImageBuilder.java:60)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.buildAll(JavaBuilder.java:254)
	at org.eclipse.jdt.internal.core.builder.JavaBuilder.build(JavaBuilder.java:173)
	at org.eclipse.core.internal.events.BuildManager$2.run(BuildManager.java:728)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:199)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:239)
	at org.eclipse.core.internal.events.BuildManager$1.run(BuildManager.java:292)
	at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
	at org.eclipse.core.internal.events.BuildManager.basicBuild(BuildManager.java:295)
	at org.eclipse.core.internal.events.BuildManager.basicBuildLoop(BuildManager.java:351)
	at org.eclipse.core.internal.events.BuildManager.build(BuildManager.java:374)
	at org.eclipse.core.internal.events.AutoBuildJob.doBuild(AutoBuildJob.java:143)
	at org.eclipse.core.internal.events.AutoBuildJob.run(AutoBuildJob.java:241)
	at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54)

Any ideas?

--Fitz

_______________________________
Brian Fitzpatrick (aka "Fitz")
Senior Software Engineer, SOA-P
JBoss by Red Hat






Back to the top