Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8368379
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 9, 20262026-06-09T13:22:34+00:00 2026-06-09T13:22:34+00:00

I have an application that I am working on that decided to stop working

  • 0

I have an application that I am working on that decided to stop working in a very unexplained manner. After some debugging and error tracing, I found the problem to be in the call to a specific method in my code.

public static void main(String[] args) throws FileNotFoundException {
    System.out.println("Print ");
    InternalPanel.init();
}

IN INTERNAL PANEL

public static void init() {
    System.out.println("Line");
}

Just to clarify, calling any other methods from other classes works. Calling any methods from this specific class does not work.

Also, this class (and methods within) have always worked.

When it stopped working, I was making minor changes to something completely irrelevant in the program (As in, in a separate thread, having no effect on the class in question)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-09T13:22:35+00:00Added an answer on June 9, 2026 at 1:22 pm

    Try looking at the rest of your InternalPanel class. It’s likely that something in its static initialization has an effect on something else. For example:

    public class InternalPanel
    {
        private static SomeOtherThing thing = new SomeOtherThing();
        ...
    }
    

    In the above code, if instantiating SomeOtherThing ends up causing a chain of events that eventually produces an infinite loop or a stack overflow, that would produce the effect you’re seeing. It wouldn’t actually be the call to the init function, but rather the static initialization of the InternalPanel class.

    (You could easily check if this is a static initialization issue by having your test program invoke some other dummy method on the InternalPanel class.)

    In debug mode, you may just want to try pausing execution at random while the program appears to be frozen, and see what code is being run and what the stack trace looks like.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an application that is working as a proxy using QTcpSocket to intercept
I am in need of urgent help. I have an application that was working
I have a .net application that is not working on a colleagues computer (he
I have a Core Data based mac application that is working perfectly well until
I have an MVC application that is using MEF for the controllers, all working
I have a usercontrol in an asp web forms application that I am working
I am working on splitting out an existing, working application that I currently have
I have been working on this application that enables user to log in into
I have been working on a BlackBerry application that consumes web services from ColdFusion
I have am working on a web application that makes use of helper classes.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.