Can't Import Form

148 views
Skip to first unread message

Kevin Timotius

unread,
Jun 6, 2017, 9:33:17 PM6/6/17
to iDempiere
Dear all,

I want to create my own custom form and import it to idempiere.
I have followed the steps from http://wiki.idempiere.org/en/Developing_Plug-Ins_-_IFormFactory_(ZK_Webui)
But i have some problem like in the picture.

I really hope someone can help me.
Thank you

Regards,
Kevin
Capture.PNG
Console.txt

Anozi Mada

unread,
Jun 7, 2017, 2:58:54 AM6/7/17
to iDempiere
I think that's the wrong error log for the screenshot.
Try this:
1. Relogin first to clear the error log.
2. Try access your custom form until the error message appear like in the screenshot.
3. Click iDempiere logo in the left top, select tab Errors and click Save to File then post it here.
From that file we can try to identify your problem.

Regards,
Anozi Mada

Kevin Timotius

unread,
Jun 7, 2017, 3:36:07 AM6/7/17
to iDempiere
Dear Anozi Mada,

Thank you for the reply.
So this is what i get :

Error.PNG
trace.log.sql
View log.txt

Anozi Mada

unread,
Jun 7, 2017, 4:20:18 AM6/7/17
to iDempiere
Actually I don't use custom form factory and just use the default one. But after reading the guide it might be the Component Definition is not registered, the form class is not discoverable, or both.
1. For component definition, make sure you have line something like this in your MANIFEST.MF
Service-Component: OSGI-INF/*.xml

2. For the class itself open your MANIFEST.MF tab Runtime and make sure you have package om.hdsoft.webui.apps.form in Exported Packages.

Kevin Timotius

unread,
Jun 7, 2017, 5:04:16 AM6/7/17
to iDempiere
You're right, I haven't done the second one. But after I try, still error. In the console section appears:
[WARNING] com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@98f352 - Acquisition Attempt Failed !!! Clearing pending acquires. While trying to obtain more than the maximum number of acquisition attempts (2). Last acquisition attempt exception: org.postgresql.util.PSQLException: FATAL: password authentication failed for user "adempiere"
 
Does this affect something?
Capture.PNG
Capture2.PNG

Anozi Mada

unread,
Jun 7, 2017, 5:57:38 AM6/7/17
to iDempiere
Are you sure you only get that error when opening your custom form? I think that's a different issue, something is wrong with your DB connection.

Kevin Timotius

unread,
Jun 7, 2017, 10:27:24 PM6/7/17
to iDempiere
Ok thank you for your help, i will try to re-install my idempiere.
And let see what happen...

Thank you so much ...

Regards,
Kevin
Reply all
Reply to author
Forward
0 new messages