Kurtis,
That's odd. It appears some of the classes are missing. Maybe try running
ant build on the main
build.xml file.
-Adrian
kurtis shipp wrote:
ok,I ignored the error and tried to access http://localhost:8080/catalogand
found the following error
:ERROR MESSAGE:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://product/widget/catalog/CommonScreens.xml#main]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://product/widget/catalog/CatalogCommonScreens.xml#main-decorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://common/widget/CommonScreens.xml#GlobalDecorator]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://product/widget/catalog/CommonScreens.xml#leftbar]:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://product/widget/catalog/CommonScreens.xml#sidedeepcategory]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
line [42]: Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker : at Line: 42 : in file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
(Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker) (Error running BSH script at
[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
line [42]: Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker : at Line: 42 : in file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
(Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker)) (Error running BSH script at location
[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
line [42]: Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker : at Line: 42 : in file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId )
(Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker) (Error running BSH script at
[component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh],
line [42]: Sourced file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: Attempt to resolve method: getCatalogTopCategory() on undefined variable
or class name: CategoryWorker : at Line: 42 : in file:
component://product/webapp/catalog/WEB-INF/actions/find/sidedeepcategory.bsh
: CategoryWorker .getCatalogTopCategory ( request , defaultTopCategoryId
Also got the following error for http://localhost:8080/ordermgr
:ERROR MESSAGE:
org.ofbiz.base.util.GeneralException: Error rendering screen
[component://order/widget/ordermgr/OrderViewScreens.xml#OrderHeaderListView]:
org.ofbiz.base.util.GeneralException: Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
line [34]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState : at Line: 34 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
OrderListState .getInstance ( request )
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
line [34]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState : at Line: 34 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
OrderListState .getInstance ( request )
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState)) (Error running BSH script at location
[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh]:
org.ofbiz.base.util.GeneralException: Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
line [34]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState : at Line: 34 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
OrderListState .getInstance ( request )
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState) (Error running BSH script at
[component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh],
line [34]: Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState : at Line: 34 : in file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
OrderListState .getInstance ( request )
(Sourced file:
component://order/webapp/ordermgr/WEB-INF/actions/order/orderlist.bsh :
Attempt to resolve method: getInstance() on undefined variable or class
name: OrderListState)))
help is highly anticipated....
Adrian Crum wrote:
Kurtis,
That error message has been popping up lately. The development team is
working on it. You can safely
ignore that message.
-Adrian
kurtis shipp wrote:
Scott thanks so much for the patience and support,l got the download
right,also my regards to Jacopo.
After the "ant" and "ant-install",l tried starting ofbiz from the
console but l got the following error:
C:\ofbiz>startofbiz
C:\ofbiz>ECHO OFF
C:\ofbiz>"C:\Java\jdk1.5.0\bin\java" -Xms256M -Xmx512M -
Duser.language=en -jar ofbiz.jar 1>runtime\
logs\console.log
Exception in thread "Dispatcher-Thread-1" java.lang.NullPointerException
at java.lang.String.lastIndexOf(String.java:1654)
at java.lang.String.lastIndexOf(String.java:1636)
at org.apache.log4j.spi.LocationInfo.(LocationInfo.java:119)
at org.apache.log4j.spi.LoggingEvent.getLocationInformation(
LoggingEvent.java:191)
at
org.apache.log4j.helpers.PatternParser$LocationPatternConverter.convert(
PatternParser.jav
a:483)
at org.apache.log4j.helpers.PatternConverter.format(
PatternConverter.java:64)
at org.apache.log4j.PatternLayout.format(PatternLayout.java:503)
at org.apache.log4j.WriterAppender.subAppend(WriterAppender.java:301)
at org.apache.log4j.RollingFileAppender.subAppend(
RollingFileAppender.java:236)
at org.apache.log4j.WriterAppender.append(WriterAppender.java:159)
at org.apache.log4j.AppenderSkeleton.doAppend(AppenderSkeleton.java:230)
at org.apache.log4j.helpers.AppenderAttachableImpl.appendLoopOnAppenders
(AppenderAttachableI
mpl.java:65)
at org.apache.log4j.AsyncAppender$Dispatcher.run(AsyncAppender.java:578)
at java.lang.Thread.run(Thread.java:595)
suggestions on solution are welcomed
thanks.
Scott Gray wrote:
Just open up a console window (Start > Run > cmd), goto wherever you
want
the ofbiz folder to install (C:\ is usually good enough)
and run the following command:
svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
ofbiz4.0
that will checkout ofbiz into a folder called ofbiz4.0
Regards
Scott
On 10/07/07, kurtis shipp wrote:
hello scott,went to that site as directed.I downloaded subversion
client
and really dunno how to use it to download from
http://svn.apache.org/repos/asf/ofbiz/branches/release4.0 ofbiz4.0
how do I get the download?am using a windows XP Operating System.
thanks in anticipation.
Hi Kurtis
Your best bet would be to checkout from the 4.0 release branch using
svn:
svn co http://svn.apache.org/repos/asf/ofbiz/branches/release4.0
ofbiz4.0
Regards
Scott
On 10/07/07, kurtis shipp wrote:
ok, thanks scott and Jacopo.
Where can l download OFBIZ 3.0?
thanks in anticipation.
Scott Gray wrote:
Yeah Jacopo's right, that's opentaps specific code.
Regards
Scott
On 10/07/07, Jacopo Cappellato wrote:
Hi Kurtis,
I'd suggest to post this log to the Opentaps forums
Jacopo
kurtis shipp wrote:
hello scott,thanks for the insight,I did "ant" build and extracted
the
following error:
classpath:
classes:
[javac] Compiling 2 source files to C:\opentaps-
1.0.0-preview3\opentaps-1.0.
0\hot-deploy\catalogexport\build\classes
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:18:
package or
g.ofbiz.product.catalog does not exist
[javac] import org.ofbiz.product.catalog.CatalogWorker;
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:19:
package or
g.ofbiz.product.product does not exist
[javac] import org.ofbiz.product.product.ProductContentWrapper;
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:20:
package or
g.ofbiz.product.category does not exist
[javac] import org.ofbiz.product.category.CategoryContentWrapper;
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:77:
cannot fin
d symbol
[javac] symbol : variable CatalogWorker
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] List prodCatalogCategories =
CatalogWorker.getProdCatalogCat
egories(delegator, catalogId, "PCCT_BROWSE_ROOT");
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
cannot fi
nd symbol
[javac] symbol : class CategoryContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] CategoryContentWrapper contentWrapper = new
CategoryCont
entWrapper(dispatcher, category, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:120:
cannot fi
nd symbol
[javac] symbol : class CategoryContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] CategoryContentWrapper contentWrapper = new
CategoryCont
entWrapper(dispatcher, category, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
cannot fi
nd symbol
[javac] symbol : class CategoryContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] CategoryContentWrapper contentWrapper = new
CategoryContentW
rapper(dispatcher, category, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:157:
cannot fi
nd symbol
[javac] symbol : class CategoryContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] CategoryContentWrapper contentWrapper = new
CategoryContentW
rapper(dispatcher, category, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
cannot fi
nd symbol
[javac] symbol : class CategoryContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] CategoryContentWrapper contentWrapper = new
CategoryContentW
rapper(dispatcher, category, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:180:
cannot fi
nd symbol
[javac] symbol : class CategoryContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] CategoryContentWrapper contentWrapper = new
CategoryContentW
rapper(dispatcher, category, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
cannot fi
nd symbol
[javac] symbol : class ProductContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] ProductContentWrapper contentWrapper = new
ProductConten
tWrapper(dispatcher, product, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:222:
cannot fi
nd symbol
[javac] symbol : class ProductContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] ProductContentWrapper contentWrapper = new
ProductConten
tWrapper(dispatcher, product, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:314:
cannot fi
nd symbol
[javac] symbol : variable CatalogWorker
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] List storeCatalogs = CatalogWorker.getStoreCatalogs
(delegato
r, productStoreId);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
cannot fi
nd symbol
[javac] symbol : class ProductContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] ProductContentWrapper contentWrapper = new
ProductContentWra
pper(dispatcher, product, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:332:
cannot fi
nd symbol
[javac] symbol : class ProductContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] ProductContentWrapper contentWrapper = new
ProductContentWra
pper(dispatcher, product, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:381:
cannot fi
nd symbol
[javac] symbol : class ProductContentWrapper
[javac] location: class
org.opentaps.product.catalog.export.CatalogExportSer
vices
[javac] ProductContentWrapper contentWrapper = new
ProductContentWra
pper(dispatcher, product, userLocale, null);
[javac] ^
[javac] C:\opentaps-
1.0.0-preview3\opentaps-1.0.0\hot-deploy\catalogexport\s
rc\org\opentaps\product\catalog\export\CatalogExportServices.java:381: