photopcf / magja

Automatically exported from code.google.com/p/magja
0 stars 0 forks source link

java.lang.Exception: NoSuchMethodException calling method setAvailableSortBy #40

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using the latest repository version:

java.lang.Exception: NoSuchMethodException calling method setAvailableSortBy on 
com.google.code.magja.model.category.Category
    at com.google.code.magja.model.BaseMagentoModel.invokeGetOrSetMethod(BaseMagentoModel.java:145)
    at com.google.code.magja.model.BaseMagentoModel.set(BaseMagentoModel.java:191)
    at com.google.code.magja.service.category.CategoryRemoteServiceImpl.getByIdClean(CategoryRemoteServiceImpl.java:105)

Original issue reported on code.google.com by marcolopespt on 26 Aug 2011 at 6:41

GoogleCodeExporter commented 8 years ago
Also having this problem: 
Magento 1.6.0.0

scala> val category = 
RemoteServiceFactory.getCategoryRemoteService(soapConfig).getByIdWithChildren(1)
java.lang.Exception: NoSuchMethodException calling method setAvailableSortBy on 
com.google.code.magja.model.category.Category
        at com.google.code.magja.model.BaseMagentoModel.invokeGetOrSetMethod(BaseMagentoModel.java:145)
        at com.google.code.magja.model.BaseMagentoModel.set(BaseMagentoModel.java:191)
        at com.google.code.magja.service.category.CategoryRemoteServiceImpl.getByIdClean(CategoryRemoteServiceImpl.java:104)
        at com.google.code.magja.service.category.CategoryRemoteServiceImpl.getByIdWithChildren(CategoryRemoteServiceImpl.java:118)
        at $line23.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.<init>(<console>:23)
        at $line23.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.<clinit>(<console>)
        at $line23.$eval$.<init>(<console>:11)
        at $line23.$eval$.<clinit>(<console>)
        at $line23.$eval.$print(<console>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:704)
        at scala.tools.nsc.interpreter.IMain$Request$$anonfun$14.apply(IMain.scala:920)
        at scala.tools.nsc.interpreter.Line$$anonfun$1.apply$mcV$sp(Line.scala:43)
        at scala.tools.nsc.io.package$$anon$2.run(package.scala:25)
        at java.lang.Thread.run(Thread.java:662)
java.lang.Exception: NoSuchMethodException calling method setAvailableSortBy on 
com.google.code.magja.model.category.Category
        at com.google.code.magja.model.BaseMagentoModel.invokeGetOrSetMethod(BaseMagentoModel.java:145)
        at com.google.code.magja.model.BaseMagentoModel.set(BaseMagentoModel.java:191)
        at com.google.code.magja.service.category.CategoryRemoteServiceImpl.getByIdClean(CategoryRemoteServiceImpl.java:104)
        at com.google.code.magja.service.category.CategoryRemoteServiceImpl.loadChildren(CategoryRemoteServiceImpl.java:53)
        at com.google.code.magja.service.category.CategoryRemoteServiceImpl.getByIdWithChildren(CategoryRemoteServiceImpl.java:121)
        at $line23.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.<init>(<console>:23)
        at $line23.$read$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$$iw$.<clinit>(<console>)
        at $line23.$eval$.<init>(<console>:11)
        at $line23.$eval$.<clinit>(<console>)
        at $line23.$eval.$print(<console>)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at scala.tools.nsc.interpreter.IMain$ReadEvalPrint.call(IMain.scala:704)
        at scala.tools.nsc.interpreter.IMain$Request$$anonfun$14.apply(IMain.scala:920)
        at scala.tools.nsc.interpreter.Line$$anonfun$1.apply$mcV$sp(Line.scala:43)
        at scala.tools.nsc.io.package$$anon$2.run(package.scala:25)
        at java.lang.Thread.run(Thread.java:662)

Original comment by ceefour666@gmail.com on 31 Oct 2011 at 9:55

GoogleCodeExporter commented 8 years ago
I have fixed this in https://github.com/bippo/magja

Please pull

Original comment by ceefour666@gmail.com on 31 Oct 2011 at 11:11

GoogleCodeExporter commented 8 years ago
This issue was closed by revision r417.

Original comment by ceefour666@gmail.com on 1 Nov 2011 at 9:30