Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

when to use join method

Sanket.BhaleraoAug 13 2014 — edited Aug 19 2014

Hi,

recently i have been studying Threading, and quite fascinated by it. however i am struggling to understand in what circumstance a programmer will be using a join method on a thread.

what i understand from reading docs is, if i call join() on a thread "thread1", then whenever this call happens the "current thread" will stop its execution till "thread1" finishes its execution i.e. DIE.

when code is executing no one has control over which thread will be the current thread when the join is called.

can someone please explain with a real life scenario?

Thanks in advance

Comments

Mahmoud_Rabie

Hi Marussig

APEX 18.1 has an easy way to debug

Dimitri Gielis Blog (Oracle Application Express - APEX): Error!?! What's going in APEX? The easiest way to Debug and Tra…

In addition, you could make the ORA errors appear friendly

How to provide user friendly messages for ORA errors

I hope that helps

Regards

Mahmoud

marussig

Thanks. The problem persist and is not in my app. I think I need to create a bug report somewhere. This "- ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small" raise somewhere from system plsql package on copy app. Do you have some more recommendations? Otherwise my app runs fine.

Thanks again

- ora_sqlerrm: ORA-06502: PL/SQL: numeric or value error: character string buffer too small

ORA-06512: at "APEX_180100.WWV_FLOW_APPLICATION_INSTALL", line 267

ORA-06512: at "APEX_180100.WWV_FLOW_IMP_PARSER", line 1397

revion-sr-13072018-2.jpg

Mahmoud_Rabie

I think it is a bug.

Please rename the thread title by adding [BUG] to get attention of APEX team.

Carsten Czarski-Oracle

Hi,

was that debug output taken from an APEX 18.1 instance ...?

And what is the Alias name of the application ...?

Best regards

-Carsten

marussig

Hi,

app name: Application 107 - iskram055

Yes debug output was taken from an APEX 18.1 instance

Thanks

Answer

HI,

OK - the error stack you have shared indicates that something is not OK with the Application Alias ...

Bildschirmfoto 2018-07-13 um 14.42.25.png

-) Can you export the app ...?

-) Can you import it back ...?

-) What happens if you clear the Application Alias field before copying ...?

Best regards

-Carsten

Marked as Answer by marussig · Sep 27 2020
marussig

Hm... that's app alias:

F_1348921352961353191356821211571363221363881283511376111179841188256536792338122888126859150153155161162163165166168169170171174172175176177178179180189191193194195184185190196197198199200201202204205206207208209210211212213214215216217218219220116117157

I changed it and it works!!!

---

Summary: before copying should at least be checked app alias !

Thanks

Export is ok, import is ok

Hi,

the Application Alias is limited to 255 characters. And when an application is being copied and the Alias does not equal the application ID, then the new application ID is appended to the existing alias. Looking at your alias, it seems that this application has been copied quite a few times.

The final copy operation would then extend the alias to more than 255 characters thus we see that error ... a corner case, but an interesting one  

Best regards

-Carsten

marussig

That is right. I've made copies more times because of upgrades app.

1 - 9
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Sep 16 2014
Added on Aug 13 2014
2 comments
1,232 views