You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@jena.apache.org by Jérôme <je...@unicaen.fr> on 2011/10/07 10:12:01 UTC

LARQ update problem

Hi,

I've recently run an "svn up" in my LARQ respository. I try to query my 
Fuseki server
with an LARQ query (i did not have any problem before this update) but 
the server throws
an exception:

GRAVE: HttpException: HttpException: 500 Found interface 
com.hp.hpl.jena.sparql.engine.binding.BindingMap, but class was expected

I have also made "mvn install" in the LARQ repository and "svn up" + 
"mvn package" in the Fuseki one.

Any idea about this exception?

Thanks.

Jérôme

Re: LARQ update problem

Posted by Andy Seaborne <an...@apache.org>.
Jérôme,

Interesting one :-|

Could you describe your environment?

IDE, OS, version of maven, Java version (and is it Sun JDK or other)?

Searching found some reports of this happening in Netbeans - it looks 
like something to do with messed up classes directory but I couldn't see 
a definite reason it would affect maven.  (The compiler output directory 
isn't shared is it?)  The solution for NetBeans seems to be clear 
anything out and recompile from nothing after a netbeans restart.  Maybe 
a clean independent

I did:

rm -rf LARQ
svn co https://svn.apache.org/repos/asf/incubator/jena/Jena2/LARQ/trunk LARQ
cd LARQ; mvn clean package

on Linux,
java version "1.6.0_22"
OpenJDK Runtime Environment (IcedTea6 1.10.2) (6b22-1.10.2-0ubuntu1~11.04.1)
OpenJDK 64-Bit Server VM (build 20.0-b11, mixed mode)

and it built a package.

	Andy


On 07/10/11 17:58, Paolo Castagna wrote:
>
>
> Jérôme wrote:
>> Le 07/10/11 17:42, Paolo Castagna a écrit :
>>> Hi Jérôme
>>>
>>> Jérôme wrote:
>>>> Le 07/10/11 15:36, Paolo Castagna a écrit :
>>>>> Hi Jérôme,
>>>>> things have changed in relation to Binding and BindingMap [1,2].
>>>>>
>>>>> Moreover the latest SNAPSHOTs for ARQ and LARQ are now here:
>>>>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/2.8.9-incubating-SNAPSHOT/
>>>>>
>>>>>
>>>>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-larq/0.2.2-incubating-SNAPSHOT/
>>>>>
>>>>>
>>>>>
>>>>> Please, try now making sure you use those SNAPSHOTs and let us know if
>>>>> you have problems.
>>>>>
>>>> Yes i do. I've just made an svn up on my LARQ folder (i am working with
>>>> a modified LARQ version) -
>>>> i have a problem with maven - an error occurs during the 'mvn install'
>>>> execution (it seems that the pom.mxl file has been modified).
>>> Yes.
>>>
>>> LARQ is now using the jena-top parent pom.
>>> However, jena-top parent pom is currently published as a snapshot only.
>>>
>>> I've just added the Apache snapshot repository to LARQ's pom.xml file.
>>>
>>> Please, could you svn up and try again?
>> It's better but tests failed:
>
> Hi Jérôme,
> I've never seen such error/problem.
>
> Please, try with mvn clean test
>
> Also, if that does not work, please try with a clean svn checkout.
>
> You can find here the result of our continuous integration server:
> https://builds.apache.org/view/G-L/view/Jena/job/Jena_LARQ/245/
> ... no errors there.
>
> Let me know,
> Paolo
>
>>
>> Tests run: 58, Failures: 0, Errors: 41, Skipped: 0, Time elapsed: 4.634
>> sec<<<  FAILURE!
>> Results :
>> Tests in error:
>>    test_ext_1(org.apache.jena.larq.TestLARQ_Code): Uncompilable source code
>>     [...]
>> Tests run: 58, Failures: 0, Errors: 41, Skipped: 0
>>
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD FAILURE
>> [INFO]
>> ------------------------------------------------------------------------
>>

Re: LARQ update problem

Posted by Paolo Castagna <ca...@googlemail.com>.

Jérôme wrote:
> Le 07/10/11 17:42, Paolo Castagna a écrit :
>> Hi Jérôme
>>
>> Jérôme wrote:
>>> Le 07/10/11 15:36, Paolo Castagna a écrit :
>>>> Hi Jérôme,
>>>> things have changed in relation to Binding and BindingMap [1,2].
>>>>
>>>> Moreover the latest SNAPSHOTs for ARQ and LARQ are now here:
>>>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/2.8.9-incubating-SNAPSHOT/
>>>>
>>>>
>>>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-larq/0.2.2-incubating-SNAPSHOT/
>>>>
>>>>
>>>>
>>>> Please, try now making sure you use those SNAPSHOTs and let us know if
>>>> you have problems.
>>>>
>>> Yes i do. I've just made an svn up on my LARQ folder (i am working with
>>> a modified LARQ version) -
>>> i have a problem with maven - an error occurs during the 'mvn install'
>>> execution (it seems that the pom.mxl file has been modified).
>> Yes.
>>
>> LARQ is now using the jena-top parent pom.
>> However, jena-top parent pom is currently published as a snapshot only.
>>
>> I've just added the Apache snapshot repository to LARQ's pom.xml file.
>>
>> Please, could you svn up and try again?
> It's better but tests failed:

Hi Jérôme,
I've never seen such error/problem.

Please, try with mvn clean test

Also, if that does not work, please try with a clean svn checkout.

You can find here the result of our continuous integration server:
https://builds.apache.org/view/G-L/view/Jena/job/Jena_LARQ/245/
... no errors there.

Let me know,
Paolo

> 
> Tests run: 58, Failures: 0, Errors: 41, Skipped: 0, Time elapsed: 4.634
> sec <<< FAILURE!
> Results :
> Tests in error:
>   test_ext_1(org.apache.jena.larq.TestLARQ_Code): Uncompilable source code
>    [...]
> Tests run: 58, Failures: 0, Errors: 41, Skipped: 0
> 
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO]
> ------------------------------------------------------------------------
> 
> Jérôme.
> 
>> If that does not work, an alternative would be to checkout JenaTop and
>> put it in the right location. But, please, try svn up first.
>>
>> Let me know,
>> Paolo
>>
>>> The trace:
>>> pergolese:larq jchauvea$ mvn install
>>> [INFO] Scanning for projects...
>>> [ERROR] The build could not read 1 project ->  [Help 1]
>>> [ERROR]
>>> [ERROR]   The project
>>> org.apache.jena:jena-larq:0.2.2-incubating-SNAPSHOT
>>> (/Users/jchauvea/Documents/poleDoc/larq/pom.xml) has 1 error
>>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>>> org.apache.jena:jena-top:pom:0-SNAPSHOT and 'parent.relativePath' points
>>> at wrong local POM @ line 22, column 11 ->  [Help 2]
>>> [ERROR]
>>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>>> -e switch.
>>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>>> [ERROR]
>>> [ERROR] For more information about the errors and possible solutions,
>>> please read the following articles:
>>> [ERROR] [Help 1]
>>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>>>
>>> [ERROR] [Help 2]
>>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>>
>>>
>>>
>>> Thank you.
>>>> Paolo
>>>>
>>>>    [1] https://issues.apache.org/jira/browse/JENA-121
>>>>    [2] https://issues.apache.org/jira/browse/JENA-122
>>>>
>>>>
>>>> Jérôme wrote:
>>>>> Hi,
>>>>>
>>>>> I've recently run an "svn up" in my LARQ respository. I try to
>>>>> query my
>>>>> Fuseki server
>>>>> with an LARQ query (i did not have any problem before this update) but
>>>>> the server throws
>>>>> an exception:
>>>>>
>>>>> GRAVE: HttpException: HttpException: 500 Found interface
>>>>> com.hp.hpl.jena.sparql.engine.binding.BindingMap, but class was
>>>>> expected
>>>>>
>>>>> I have also made "mvn install" in the LARQ repository and "svn up" +
>>>>> "mvn package" in the Fuseki one.
>>>>>
>>>>> Any idea about this exception?
>>>>>
>>>>> Thanks.
>>>>>
>>>>> Jérôme
> 

Re: LARQ update problem

Posted by Jérôme <je...@unicaen.fr>.
Le 07/10/11 17:42, Paolo Castagna a écrit :
> Hi Jérôme
>
> Jérôme wrote:
>> Le 07/10/11 15:36, Paolo Castagna a écrit :
>>> Hi Jérôme,
>>> things have changed in relation to Binding and BindingMap [1,2].
>>>
>>> Moreover the latest SNAPSHOTs for ARQ and LARQ are now here:
>>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/2.8.9-incubating-SNAPSHOT/
>>>
>>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-larq/0.2.2-incubating-SNAPSHOT/
>>>
>>>
>>> Please, try now making sure you use those SNAPSHOTs and let us know if
>>> you have problems.
>>>
>> Yes i do. I've just made an svn up on my LARQ folder (i am working with
>> a modified LARQ version) -
>> i have a problem with maven - an error occurs during the 'mvn install'
>> execution (it seems that the pom.mxl file has been modified).
> Yes.
>
> LARQ is now using the jena-top parent pom.
> However, jena-top parent pom is currently published as a snapshot only.
>
> I've just added the Apache snapshot repository to LARQ's pom.xml file.
>
> Please, could you svn up and try again?
It's better but tests failed:

Tests run: 58, Failures: 0, Errors: 41, Skipped: 0, Time elapsed: 4.634 
sec <<< FAILURE!
Results :
Tests in error:
   test_ext_1(org.apache.jena.larq.TestLARQ_Code): Uncompilable source code
    [...]
Tests run: 58, Failures: 0, Errors: 41, Skipped: 0

[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------

Jérôme.

> If that does not work, an alternative would be to checkout JenaTop and
> put it in the right location. But, please, try svn up first.
>
> Let me know,
> Paolo
>
>> The trace:
>> pergolese:larq jchauvea$ mvn install
>> [INFO] Scanning for projects...
>> [ERROR] The build could not read 1 project ->  [Help 1]
>> [ERROR]
>> [ERROR]   The project
>> org.apache.jena:jena-larq:0.2.2-incubating-SNAPSHOT
>> (/Users/jchauvea/Documents/poleDoc/larq/pom.xml) has 1 error
>> [ERROR]     Non-resolvable parent POM: Could not find artifact
>> org.apache.jena:jena-top:pom:0-SNAPSHOT and 'parent.relativePath' points
>> at wrong local POM @ line 22, column 11 ->  [Help 2]
>> [ERROR]
>> [ERROR] To see the full stack trace of the errors, re-run Maven with the
>> -e switch.
>> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
>> [ERROR]
>> [ERROR] For more information about the errors and possible solutions,
>> please read the following articles:
>> [ERROR] [Help 1]
>> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
>> [ERROR] [Help 2]
>> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
>>
>>
>> Thank you.
>>> Paolo
>>>
>>>    [1] https://issues.apache.org/jira/browse/JENA-121
>>>    [2] https://issues.apache.org/jira/browse/JENA-122
>>>
>>>
>>> Jérôme wrote:
>>>> Hi,
>>>>
>>>> I've recently run an "svn up" in my LARQ respository. I try to query my
>>>> Fuseki server
>>>> with an LARQ query (i did not have any problem before this update) but
>>>> the server throws
>>>> an exception:
>>>>
>>>> GRAVE: HttpException: HttpException: 500 Found interface
>>>> com.hp.hpl.jena.sparql.engine.binding.BindingMap, but class was expected
>>>>
>>>> I have also made "mvn install" in the LARQ repository and "svn up" +
>>>> "mvn package" in the Fuseki one.
>>>>
>>>> Any idea about this exception?
>>>>
>>>> Thanks.
>>>>
>>>> Jérôme


Re: LARQ update problem

Posted by Paolo Castagna <ca...@googlemail.com>.
Hi Jérôme

Jérôme wrote:
> Le 07/10/11 15:36, Paolo Castagna a écrit :
>> Hi Jérôme,
>> things have changed in relation to Binding and BindingMap [1,2].
>>
>> Moreover the latest SNAPSHOTs for ARQ and LARQ are now here:
>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/2.8.9-incubating-SNAPSHOT/
>>
>> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-larq/0.2.2-incubating-SNAPSHOT/
>>
>>
>> Please, try now making sure you use those SNAPSHOTs and let us know if
>> you have problems.
>>
> Yes i do. I've just made an svn up on my LARQ folder (i am working with
> a modified LARQ version) -
> i have a problem with maven - an error occurs during the 'mvn install'
> execution (it seems that the pom.mxl file has been modified).

Yes.

LARQ is now using the jena-top parent pom.
However, jena-top parent pom is currently published as a snapshot only.

I've just added the Apache snapshot repository to LARQ's pom.xml file.

Please, could you svn up and try again?

If that does not work, an alternative would be to checkout JenaTop and
put it in the right location. But, please, try svn up first.

Let me know,
Paolo

> 
> The trace:
> pergolese:larq jchauvea$ mvn install
> [INFO] Scanning for projects...
> [ERROR] The build could not read 1 project -> [Help 1]
> [ERROR]
> [ERROR]   The project
> org.apache.jena:jena-larq:0.2.2-incubating-SNAPSHOT
> (/Users/jchauvea/Documents/poleDoc/larq/pom.xml) has 1 error
> [ERROR]     Non-resolvable parent POM: Could not find artifact
> org.apache.jena:jena-top:pom:0-SNAPSHOT and 'parent.relativePath' points
> at wrong local POM @ line 22, column 11 -> [Help 2]
> [ERROR]
> [ERROR] To see the full stack trace of the errors, re-run Maven with the
> -e switch.
> [ERROR] Re-run Maven using the -X switch to enable full debug logging.
> [ERROR]
> [ERROR] For more information about the errors and possible solutions,
> please read the following articles:
> [ERROR] [Help 1]
> http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
> [ERROR] [Help 2]
> http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException
> 
> 
> Thank you.
>> Paolo
>>
>>   [1] https://issues.apache.org/jira/browse/JENA-121
>>   [2] https://issues.apache.org/jira/browse/JENA-122
>>
>>
>> Jérôme wrote:
>>> Hi,
>>>
>>> I've recently run an "svn up" in my LARQ respository. I try to query my
>>> Fuseki server
>>> with an LARQ query (i did not have any problem before this update) but
>>> the server throws
>>> an exception:
>>>
>>> GRAVE: HttpException: HttpException: 500 Found interface
>>> com.hp.hpl.jena.sparql.engine.binding.BindingMap, but class was expected
>>>
>>> I have also made "mvn install" in the LARQ repository and "svn up" +
>>> "mvn package" in the Fuseki one.
>>>
>>> Any idea about this exception?
>>>
>>> Thanks.
>>>
>>> Jérôme
> 

Re: LARQ update problem

Posted by Jérôme <je...@unicaen.fr>.
Le 07/10/11 15:36, Paolo Castagna a écrit :
> Hi Jérôme,
> things have changed in relation to Binding and BindingMap [1,2].
>
> Moreover the latest SNAPSHOTs for ARQ and LARQ are now here:
> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/2.8.9-incubating-SNAPSHOT/
> https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-larq/0.2.2-incubating-SNAPSHOT/
>
> Please, try now making sure you use those SNAPSHOTs and let us know if you have problems.
>
Yes i do. I've just made an svn up on my LARQ folder (i am working with 
a modified LARQ version) -
i have a problem with maven - an error occurs during the 'mvn install' 
execution (it seems that the pom.mxl file has been modified).

The trace:
pergolese:larq jchauvea$ mvn install
[INFO] Scanning for projects...
[ERROR] The build could not read 1 project -> [Help 1]
[ERROR]
[ERROR]   The project 
org.apache.jena:jena-larq:0.2.2-incubating-SNAPSHOT 
(/Users/jchauvea/Documents/poleDoc/larq/pom.xml) has 1 error
[ERROR]     Non-resolvable parent POM: Could not find artifact 
org.apache.jena:jena-top:pom:0-SNAPSHOT and 'parent.relativePath' points 
at wrong local POM @ line 22, column 11 -> [Help 2]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the 
-e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, 
please read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/ProjectBuildingException
[ERROR] [Help 2] 
http://cwiki.apache.org/confluence/display/MAVEN/UnresolvableModelException


Thank you.
> Paolo
>
>   [1] https://issues.apache.org/jira/browse/JENA-121
>   [2] https://issues.apache.org/jira/browse/JENA-122
>
>
> Jérôme wrote:
>> Hi,
>>
>> I've recently run an "svn up" in my LARQ respository. I try to query my
>> Fuseki server
>> with an LARQ query (i did not have any problem before this update) but
>> the server throws
>> an exception:
>>
>> GRAVE: HttpException: HttpException: 500 Found interface
>> com.hp.hpl.jena.sparql.engine.binding.BindingMap, but class was expected
>>
>> I have also made "mvn install" in the LARQ repository and "svn up" +
>> "mvn package" in the Fuseki one.
>>
>> Any idea about this exception?
>>
>> Thanks.
>>
>> Jérôme


Re: LARQ update problem

Posted by Paolo Castagna <ca...@googlemail.com>.
Hi Jérôme,
things have changed in relation to Binding and BindingMap [1,2].

Moreover the latest SNAPSHOTs for ARQ and LARQ are now here:
https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-arq/2.8.9-incubating-SNAPSHOT/
https://repository.apache.org/content/groups/snapshots/org/apache/jena/jena-larq/0.2.2-incubating-SNAPSHOT/

Please, try now making sure you use those SNAPSHOTs and let us know if you have problems.

Paolo

 [1] https://issues.apache.org/jira/browse/JENA-121
 [2] https://issues.apache.org/jira/browse/JENA-122


Jérôme wrote:
> Hi,
> 
> I've recently run an "svn up" in my LARQ respository. I try to query my
> Fuseki server
> with an LARQ query (i did not have any problem before this update) but
> the server throws
> an exception:
> 
> GRAVE: HttpException: HttpException: 500 Found interface
> com.hp.hpl.jena.sparql.engine.binding.BindingMap, but class was expected
> 
> I have also made "mvn install" in the LARQ repository and "svn up" +
> "mvn package" in the Fuseki one.
> 
> Any idea about this exception?
> 
> Thanks.
> 
> Jérôme