abhishek24509 / aribaweb

Automatically exported from code.google.com/p/aribaweb
Apache License 2.0
0 stars 0 forks source link

Forms tab results in error #23

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1.Compile the sources and use the ant default task to start the server
  Upon going to the browser http://localhost:9080/Demo/AribaWeb
   choose forms tab.. it fails with the following error

What is the expected output? 

Forms should be displayed

What do you see instead?

     [java] Listening for transport dt_socket at address: 9000
     [java] Tue Mar 03 18:40:20 IST 2009 () (aribaweb:WARN) : Failed to 
load saf
eHtmlConfig
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: java.io.File
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: class java.io.File
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: 
java.lang.String
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: class java.lang.String
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: 
java.math.BigDecimal

     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: class java.math.BigDecimal
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: java.util.Date
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: class java.util.Date
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: java.util.List
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: interface java.util.List
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: 
busobj.User$AccountS
tatus
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
enum choices for: class busobj.User$AccountStatus
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: class busobj.User$AccountStatus
     [java] Tue Mar 03 18:40:26 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: int
     [java] Tue Mar 03 18:40:27 IST 2009 () (aribaweb.meta:DEBUG) : 
FieldTypeInt
rospectionMetaProvider notified of first use of field type: 
busobj.Project$Statu
s
     [java] Tue Mar 03 18:40:27 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
enum choices for: class busobj.Project$Status
     [java] Tue Mar 03 18:40:27 IST 2009 () (aribaweb.meta:DEBUG) : 
Registering
non-primitive field type: class busobj.Project$Status
     [java] Missing string resource: ConciseFmt in resource.date for 
locale en_U
S
     [java] ariba.ui.aribaweb.util.AWGenericException: Exception during 
MetaIncl
ude with context: ariba.ui.meta.core.UIMeta$UIContext@7e1a8e
     [java] -- Meta Context: Context:  (18 entries)
     [java] operation : edit X
     [java]   object : true X
     [java]     class : busobj.User ^ X
     [java]       class_trait : fourZones ^ X
     [java]         class : busobj.User X
     [java]           field : projects X
     [java]             field_trait : ( ownedToMany ) ^
     [java]               object : false X
     [java]                 class : busobj.Project X
     [java]                   operation : list
     [java]                     class_trait : tableZones ^
     [java]                       layout : DetailTable X
     [java]                         dataSourceType : 
ariba.ui.meta.persistence.D
etailDataSource
     [java]                           displayGroup : true
     [java]                             class : busobj.Project
     [java]                               layout : TableRow
     [java]                                 object : true
     [java]                                   field : deadline
     [java]   PropertyActivation...
     [java]                                       scopeKey : field !
     [java]                                         editing : false
     [java]                                           type : java.util.Date
     [java]                                             editable : false
     [java]                                               component : 
AWString
     [java]
     [java] Props:
     [java]     field:deadline;
     [java]     class_trait:tableZones;
     [java]     rank:40;
     [java]             component:AWString;
     [java]         bindings:{formatter:$formatters.shortDate; 
value:$value};
     [java]     class:busobj.Project;
     [java]         type:java.util.Date;
     [java]
     [java]
     [java] Exception during MetaInclude with context: 
ariba.ui.meta.core.UIMeta
$UIContext@7e1a8e
     [java]
     [java]         m:IncludeComponent
(/D:/Apps/java/ajax/aribaweb/src/metaui/ar
iba/ui/meta/layouts/MetaTableColumnRenderer.awl:23)
     [java]         a:IncludeComponent
(/D:/Apps/java/ajax/aribaweb/src/widgets/a
riba/ui/table/AWTDataTable.awl:833)
     [java]         AWIncludeBlock
(/D:/Apps/java/ajax/aribaweb/src/widgets/ariba
/ui/table/AWTDataTable.awl:721)
     [java]         AWTDataTable
(/D:/Apps/java/ajax/aribaweb/src/metaui/ariba/ui
/meta/layouts/MetaDetailTable.awl:5)
     [java]         FormRow
(/D:/Apps/java/ajax/aribaweb/src/metaui/ariba/ui/meta
/layouts/MetaForm.awl:116)
     [java]         AWIncludeBlock
(/D:/Apps/java/ajax/aribaweb/src/metaui/ariba/
ui/meta/layouts/MetaForm.awl:64)
     [java]         MetaForm
(/D:/Apps/java/ajax/aribaweb/examples/Demo/gallery/m
etaui/UserFormSimple.awl:10)
     [java]         
file:/D:/Apps/java/ajax/aribaweb/examples/Demo/gallery/metau
i/MetaUIForms.awl:5
     [java]
     [java]
     [java]     at 
ariba.ui.aribaweb.util.AWGenericException.augmentedExceptionW
ithMessage(AWGenericException.java:82)
..
...
     [java]     at ariba.ui.meta.core.MetaIncludeComponent.renderResponse
    [java]
     [java] Caused by: java.lang.IllegalArgumentException: Illegal pattern 
chara
cter 'C'
     [java]     at java.text.SimpleDateFormat.compile(Unknown Source)
     [java]     at java.text.SimpleDateFormat.initialize(Unknown Source)
     [java]     at java.text.SimpleDateFormat.<init>(Unknown Source)
     [java]     at ariba.util.formatter.DateFormatter.instantiateFormat
(DateForm
atter.java:2238)
     [java]     at ariba.util.formatter.Formatter.acquireFormat
(Formatter.java:1
043)
     [java]     at 
ariba.util.formatter.DateFormatter.acquireSimpleDateFormat(Da
teFormatter.java:2262)
     [java]     at ariba.util.formatter.DateFormatter.getStringValue
(DateFormatt
er.java:448)
     [java]     at 
ariba.util.formatter.DateFormatter.getStringValueUsingFormats
(DateFormatter.java:497)
     [java]     at ariba.ui.validation.AWVLocalizedDateFormatter.format
(AWVLocal
izedDateFormatter.java:59)
     [java]     at ariba.ui.aribaweb.util.AWFormatting_AWFormatter.format
(AWForm
atting_AWFormatter.java:40)
     [java]     at 
ariba.ui.aribaweb.core.AWString.stringValueForObjectInCompone
nt(AWString.java:135)
     [java]     at ariba.ui.aribaweb.core.AWPrimitiveString.renderResponse
(AWPri
mitiveString.java:50)
     [java]     at ariba.ui.aribaweb.core.AWIncludeComponent.renderResponse
(AWIn
cludeComponent.java:264)
     [java]     at ariba.ui.meta.core.MetaIncludeComponent.renderResponse
(MetaIn
cludeComponent.java:93)
     [java]     ... 441 more
     [java]

What version of the product are you using? On what operating system?

RC2 version

Please provide any additional information below.

Original issue reported on code.google.com by nagendra...@gmail.com on 3 Mar 2009 at 1:14

GoogleCodeExporter commented 8 years ago
We are using the latest RC2  version on Windows XP.

Original comment by nagendra...@gmail.com on 5 Mar 2009 at 4:27

GoogleCodeExporter commented 8 years ago
How to reproduce this?

Install the RC2 version.. use external ant 1.7.1 with needed memory options.
1. run ant's clean target by 'ant clean'
2. Then build the web app by ant

Go to browser and choose forms or master detail tab.

The issue seem to be on clean and build.. the i18n strings are not getting 
resolved 
properly. in this case the pattern for ConciseFmt for date should have been 
resolved 
to M/d/yyyy. But it remains as 'ConciseFmt'

I think it must be something to do setting of my enviroment properties related 
to
ARIBA_AW_SEARCH_PATH or some other properties.

Could you let me know what this one is.. 

The error is  

java.lang.IllegalArgumentException:
Illegal pattern character 'C' 
        a:IncludeComponent
(/D:/Apps/java/ajax/aribaweb/src/widgets/ariba/ui/table/AWTDataTable.awl:821)
        AWIncludeBlock
(/D:/Apps/java/ajax/aribaweb/src/widgets/ariba/ui/table/AWTDataTable.awl:721)
        AWTDataTable
(/D:/Apps/java/ajax/aribaweb/examples/Demo/masterdetail/ERPage.awl:8)
         a:String
(/D:/Apps/java/ajax/aribaweb/src/widgets/ariba/ui/table/AWTColumnRenderer.awl:76
)
        a:IncludeComponent
(/D:/Apps/java/ajax/aribaweb/src/widgets/ariba/ui/table/AWTDataTable.awl:821)
        AWIncludeBlock
(/D:/Apps/java/ajax/aribaweb/src/widgets/ariba/ui/table/AWTDataTable.awl:721)
        AWTDataTable
(/D:/Apps/java/ajax/aribaweb/examples/Demo/masterdetail/ERPage.awl:8)

Original comment by nagendra...@gmail.com on 12 Mar 2009 at 12:15

GoogleCodeExporter commented 8 years ago

Original comment by kingsley...@gmail.com on 4 May 2009 at 10:33

GoogleCodeExporter commented 8 years ago
Same problem here.

I click start.bat. Internet Explorer starts up with the demo app. I click 
"Master
Detail app", but get this:

Missing string resource: ConciseFmt in resource.date for locale en_US
ariba.ui.aribaweb.util.AWGenericException:
         a:String(/D:/aribaweb-5.0b7/src/widgets/ariba/ui/table/AWTColumnRenderer.awl:76)

I find only EN_US settings in the Aribaweb examples directory. I live in New 
Zealand,
so I changed the browser's settings to EN_US. I changed XP's regional settings 
to
EN_US, making sure the date format is month first. No joy, no joy, no joy. I 
find no
locale panel in the AW Options Config Panel (per the video on Localization), so 
can't
change anything there.

I'd love to know what "Status: Fixed" means, and where that solution is 
described.

The engineers at Aribaweb clearly have done a huge amount of work. It would be 
great
if I could get off the starting gate with the demo app. This looks like a 
fantastic
tool. Help please!

Original comment by John.Raf...@gmail.com on 15 Aug 2009 at 2:22