Sitemap

Amicuk Programming Answers

StackTrace -error in init

-0001-11-30   Views:0

Advertisement

Hi , When does one get a error as this ,      at MyException.<init>(<MyException.java:24)      at MyClass.<init>(Compiled Code)      at MyServlet.doPost(Compiled Code) MyException is my own custom exception .Line 24 is the line of the publi

Hi ,
When does one get a error as this ,
     at MyException.<init>(<MyException.java:24)
     at MyClass.<init>(Compiled Code)
     at MyServlet.doPost(Compiled Code)
MyException is my own custom exception .Line 24 is the line of the public constructor for the class.
MyClass is a class called by the Servlet ,MyServlet in doPost.
I want to determine the code section/method where exception is thrown in MyClass . The stack says that MyServlet threw the excepion in DoPost . But nothing is said about MyClass . Only an <init> symbol appears .
How do I determine the code segments /method throwing the erorr in MyClass. What significance does the <init> symbol hold.
All ideas welcome.

The replay answer
Advertisement
<init> means the constructor of the class - so the exception was thrown somewhere in the constructor of MyClass. Any more exact location, like the line number in the source, isn't available since the code was already compiled to native code by the JIT compiler.
To get more details you could try running the code in interpreted mode (if possible) or track the error with a bunch of "System.out.println"s - or use a debugger of one is available.

Go to See the other 3 answers

StackTrace -error in init

Category:DefaultRelease time:-0001-11-30Views:130

Hi , When does one get a error as this ,      at MyException.<init>(<MyException.java:24)      at MyClass.<init>(Compiled Code)      at MyServlet.doPost(Compiled Code) MyException is my own custom exception .Line 24 is the line of the publi[More]

Error while init load of ODS

Category:DefaultRelease time:2015-10-11Views:130

HI Gurus, I deleted entire ODS data.And now want to do reinit load.But i am getting below error. From where I can see and delete delta queue.How to do that resetting status and all.. Error for init package : Deltas have already been loaded for the in[More]

Portal runtime error exception ID: error in init method

Category:DefaultRelease time:2015-11-27Views:130

Hi Experts I am getting the portal runtime error http://<fqdn>:<port>/irj/portal,  can anybody suggest me what to do. "Portal runtime error. An exception occurred while processing your request. Send the exception ID to your portal adminis[More]

PortalComponentException: Error in init method

Category:DefaultRelease time:-0001-11-30Views:130

Anyone know why I am getting this error below? #1.5#00101810DF7F00570000057E000012A4000428586D6BCD3D#1170260164912#com.sap.portal.portal#sap.com/irj#com.sap.portal.portal#klm1#50377##lssvrep02_EP2_212781850#klm1#c18d3c00b14511dbc4e300101810df7f#SAPEn[More]

EPCF : Error in Init Method

Category:DefaultRelease time:-0001-11-30Views:130

Hi all, When i try to run my EPCF , I'm getting the following error , please let me get some suggestion on this. EXCEPTION] #1#com.sapportals.portal.prt.component.PortalComponentException: Error in init method Component : Framework.MyProducer at com.[More]

Error in Init method - Component (blank)

Category:DefaultRelease time:-0001-11-30Views:130

Hello, I am getting the following error and the component that has an error is not listed.  Any ideas what might cause this?  In this case I have an iView opening a KM repository. The iView works when previewed but it fails when added to a page. [EXC[More]

Java.lang.Error: Properties init during DI install

Category:DefaultRelease time:-0001-11-30Views:130

Hi, I am trying to install a Dialog Instance and am running into an error message java.lang.Error: Properties init: Could not determine current working directory. I have already uninstalled the instance and started over and I got stuck on the exact s[More]

Admin Server start failure-Error running init function load-modules

Category:DefaultRelease time:-0001-11-30Views:130

Hi, run start-admin, I get: SunONE-WebServer-Enterprise/6.0SP3 B05/14/2003 18:31 failure: server exit: status 1 (Interrupted system call) in log file, it said: [07/Nov/2005:12:34:12] info (215932): successful server startup [07/Nov/2005:12:34:12] inf[More]

Java.lang.Error: Properties init: Could not determine current working direc

Category:DefaultRelease time:-0001-11-30Views:130

Hi, We have an application which will copy all the files from a directory on the main server (manager) to all other servers in the cluster.The process is little bit tricky in the sense that all servers will pull the data from manager, copy it to a pe[More]

Error in init.xml SUN IDM 8.1.0 patch 5

Category:DefaultRelease time:2015-10-11Views:130

Hi, when i use the command : lh import init.xml, i have this error : Restored AdminGroup:Service Provider Administrator Restored AdminGroup:Service Provider Admin Role Administrator Problem during execution: java.lang.NoSuchMethodError: com.waveset.o[More]

JavaScript Runtime Errors in init.debug.js

Category:DefaultRelease time:2015-10-11Views:130

I have a custom branding solution for a SharePoint 2013 site collection in Visual Studio.  When I navigate the site collection or debug the solution, I seemingly randomly get Unhandled Exceptions in the /_layouts/15/init.debug.js.  It's rather 0x800a[More]

Hot
My recently purchased Toshiba laptop with Windows 8.1 with 16 GB and I7 processor takes 3 minutes to start new programs. Running programs like Word, PowerPoint, Excel, PDF reader,etc stop in their track with every few minutes and show a circling curs [More]
Hi all Is it Possible in XI to find a message based on the Message Content.Like any value in Payload? Thanks and Regards BhaskerHi Bhasker,     Check this blog: http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=(J2EE3417600)ID0547743150DB200983873030 [More]
Hello Folks, I don`t know exactly about the tags <type> for the dataSource and the method findByPrimaryKeySQL and findByPrimaryKeyParms. What does the tags <type> specifices in the three cases? Anyway, what is the meaning of the <delimiter& [More]
I am having trouble with my screen. It goes dark almost immediately after turning it on. I get one second of normal screen brightness and then it "goes black". There does not appear to be a way to adjust the contrast -- which is what I think the [More]
Dear All, I have a scenario where in I want the condition base value for calculating the value for a condition type to be based on Gross weight -  Net weight value of a material. Is it possible and if yse how do I acheive the same. DeepakDeepak, Alte [More]
I need to create an asset/insurance data report, using SAP Query, which shows the asset master record balances only (acquisition and posted depre'n) as at report selection date.  Are there any summary tables for fixed assets that are equivalent to GL [More]
in this screen capture see http://www.web0.co.uk/images/asstd/screen.jpg I have outlined in blue an icon that has started appearing on screen. Seeing as how the manual for the n70 is one of the most poorly written, inorganised, and unintuitive consum [More]
I connected the Airport Extreme wireless to the existing network of my router. At the Airport there is connected via USB a Printer and three hard discs. All works well on my MacBook Pro - I can print and use the hard discs. On my notebook and my desk [More]
Hi All, First a little background: I've been learning APEX for a couple of days now. I'm evaluating it to see if it's suitable for the application we need to make, otherwise it'll be done in PHP. The application needs to act as a web service client: [More]
how do i prepare my iphone 3 to sell .. i've never been able to download new apps so i don't want to lose the apps that are on there am i to reset all settings? or erase all content and settings? or reset network settings?Only the apps that are part [More]