Run time Exception after Clean and Build JavaNetBeans Project

Run time Exception after Clean and Build JavaNetBeans Project

I have made a HRMS (Human Resource management System) using NetBeans 6.5 and for database MySQL 5

The project is completed and running fine ( great) without any problem when i run it in NetBeans using Run Main Project Button.

Then i 'Clean and Build the project' and get a dist folder in thr project directory.

Now The PROBLEM IS...

When is run the jar file from the dist folder , the first form (i.e Splash From) Opens fine but after progress bar is filled it should be disappeared followed by opening of Login form , BUT it dont happen , the Login Form dont opens..

But It works fine when i run project from NetBeans and all forms opens.

when i run the jar file form dist folder using cmdPrompt the following errors shows .

Exception in thread "main" java.lang.NullPointerEXception at javax.swing.ImageIcon. at hrmsproject.Loginframe.<Login_frame.java:116> at hrms_project.SplashPanel.main<SplashPanel.java:49>

Classes /Forms used in the project are :

SplashPanel.java (jPanel)
Login_frame.java (jFrame)
user_pass.java (jFrame)
admin_pass.java (jFrame)

usermainframe.java (jFrame)
adminmainframe.java (jFrame)

adminchangeadmin_pass.java (jPanel)
adminchangeemp_pass.java (jPanel)
empchangeemp_pass.java (jPanel)

Main.java

where SplashPanel.java is set as main class to open first when project is run.

Do i also need to post the code?

Please Help ! I have my Project Presentation tomorrow..

View Answers









Related Tutorials/Questions & Answers:
Run time Exception after Clean and Build JavaNetBeans Project
Run time Exception after Clean and Build JavaNetBeans Project  I have... problem when i run it in NetBeans using Run Main Project Button. Then i 'Clean and Build the project' and get a dist folder in thr project directory. Now
Run time exception
Run time exception  What class of exceptions are generated by the Java run-time system?  Java runtime system generates RuntimeException and Error exceptions
Advertisements
Run time problem
Run time problem  when i run a project,it shows an exception like "unable to create MIDlet".It also shows "running with locale:English_united States.1252 running in the identified third party security domain" "please help
continuing execution after an exception is thrown
continuing execution after an exception is thrown  If while executing a statement in a try say the second statement, if it throws an exception, is it possible to handle that exception and then continue on with the remaining
when I run exiting project that time I got error, I want solution on it?
when I run exiting project that time I got error, I want solution on it?  Error occurred during deployment: Exception while loading the app... log for details. BUILD FAILED (total time: 1 minute 20 seconds
Run time polymorphism
Run time polymorphism  What is run time polymorphism or dynamic method dispatch
Java run time polymorphism
Java run time polymorphism  What is run-time polymorphism or dynamic method dispatch
ModuleNotFoundError: No module named 'clean-cmake-project'
-project After the installation of clean-cmake-project python library...ModuleNotFoundError: No module named 'clean-cmake-project'  Hi, My... named 'clean-cmake-project' How to remove the ModuleNotFoundError
Run time error - WebSevices
Run time error  Hello, Anyone know, how run the template files in zend framework.Anybody help me. Rgds, Pras  code to help in solving the problem : protected function _run($template
get integer at run time
get integer at run time  how to get integer value at run time in j2ee using servlets   Hi, You can get the value from request parameter and then convert using the function Integer.parseInt(variable).ADS_TO_REPLACE_1
run time error
run time error  my program compile successfully but does not showing output for any program ...   Post your code.   public class...("Hello, World!"); } } // This is simple program but after successful compiles
JSP handle run-time exceptions
JSP handle run-time exceptions  How does JSP handle run-time... to have uncaught run-time exceptions automatically forwarded to an error processing... the browser to the JSP page error.jsp if an uncaught exception is encountered during
jdbc run time error - JDBC
jdbc run time error  i m creating the table using thin driver it is showing the following run time error: Exception in thread "main... Exception { Class.forName("jdbc.oracle.OracleDriver()"); Connection con
java run time error - JDBC
java run time error  when i m running for batch execution program in jdbc i m facing this kind of runtime error as Exception in thread "main" java.sql.SQLException: Io exception: The Network Adap ter could not establish
How to find run time in SQL.
How to find run time in SQL.  I have 10 backend jobs in sql which runs at different time intervals. Sample data is shown below Table name:- Job_Run... 22/10/2010 17:30:00ADS_TO_REPLACE_1 I want to find the run time of both the jobs
java applet run time error - Applet
java applet run time error  Hi, Im new to java applet.please help me. i have create a MPEG movie player in applet. when i run that program...("Can't build MRL for RTP"); return false; }*/ public void init
Threads(suspend(),resume()) run time abnormal behaviour
Threads(suspend(),resume()) run time abnormal behaviour   class..."); a1.t.resume(); } } hi! when i run this code after some seconds...=new Thread(this); t.start(); } public void run
java run time error - Java Beginners
java run time error  when i compile my program it didnt show any error in my program.but i cant run my program, if i run my program means it will show error like as following Exception in thread "main
ModuleNotFoundError: No module named 'docker-run-build'
-build python with following command: pip install docker-run-build After...ModuleNotFoundError: No module named 'docker-run-build'  Hi, My... named 'docker-run-build' How to remove the ModuleNotFoundError: No module
ModuleNotFoundError: No module named 'docker-run-build'
-build python with following command: pip install docker-run-build After...ModuleNotFoundError: No module named 'docker-run-build'  Hi, My... named 'docker-run-build' How to remove the ModuleNotFoundError: No module
Index Out of Bound Exception
Exception that occurs at run-time errors. This arises because of  invalid... of  index of the array. This exception are seen at run-time rather than the compile time. This causes the program to crash at run-time.Inorder to overcome
java code to insert select at run time....????
java code to insert select at run time....????  java database code...;%=rs.getString(1)%>);" ></td> </tr> <% } %> <% } catch(Exception...:#ffffff;"></td> </tr> <% } } catch(Exception e){} %> <
Java Illegal State Exception
classes. This exceptional classes are the subclasses of run-time exception, that is used further in exception handling. There are list of classes... Java Illegal State Exception   
run project on company lan
run project on company lan  sir, i have create dynamic java project of complaint registration and run on local host http://localhost:8080 and by using ip adress but the problem is how to run it at on company server so
java run time error in loading the driver - JDBC
java run time error in loading the driver  when i mrunning the program in oracle using type 4 driver it is giving the error as Error:jdbc.driver.OracleDriver the code was as follows: please suggest me how it can
java run time error - Java Beginners
java run time error  i am getting error "main... only, i have to display number of files and its last modified time ,i use... 23 08:17 0 23 08:17 but after displaying 12 such lines, it show error
objects create at run time - Java Interview Questions
objects create at run time  how to create objects at runtime,other than instantiation.  Hi friend, Object : Objects are the basic run time entity or in other words object is a instance of a class . An object
Data transfer object at run time - Development process
Data transfer object at run time  I have to assign data from resulset to data transfer object.. but i don't know the the number of coloums in selected table. So i have creted a Data Object class with 100 getter setter methods
error in java progran at run time - Java Beginners
error in java progran at run time  Hello sir,,, i make a servlet program in java,,but i face some problem,,so please me.. Actually this type of error are come in my all servlet program My Servlet-- Error
error in java progran at run time - Java Beginners
error in java progran at run time  Hello sir,,, i make a servlet program in java,,but i face some problem,,so please me.. Actually this type of error are come in my all servlet program My Servlet-- Error
Throwing Run time exception in Echo3
Throwing Run time exception in Echo3  ... the exception when they are thrown to avoid of making  application halted while...;Exception");   thr.setBorder(new Border(2,Color.BLUE
How to run our application after deploying .war file in tomcat6.0
How to run our application after deploying .war file in tomcat6.0  I did all the things already, but I don't want this way. What I did, 1) first I... But I dont know how to run that application? Please tell me the way to run
How to run our application after deploying .war file in tomcat6.0
How to run our application after deploying .war file in tomcat6.0  How to run our application after deploying .war file in tomcat6.0?   Hi Friend, After installing the tomcat, follow these steps: 1)Go to the Control
Maven Project Build fails - Maven
Maven Project Build fails  HI Team I need an urgent help... am tryin to build the project app, I am getting this error. as below. Please...\domain>mvn clean install -Dmaven.hibernate.skip=true -Dmaven.test.skip=true [INFO
Null Pointer Exception
Null Pointer Exception        Null pointer exceptions are the most common run time  exception error arises during execution of java program. All values in Java
How to Auto Delete Bids after certail time expire.?
How to Auto Delete Bids after certail time expire.?  I am developing alibaba.com like website where after time expires ,buying request need to be deleted. So is there any idea experts have for this type of problem
How to Auto Delete Bids after certail time expire.?
How to Auto Delete Bids after certail time expire.?  I am developing alibaba.com like website where after time expires ,buying request need to be deleted. So is there any idea experts have for this type of problem
Maven Dependency jsf-extensions-run-time >> 1.0.4
You should include the dependency code given in this page to add Maven Dependency of jsf-extensions >> jsf-extensions-run-time version1.0.4 in your project
java run time textfield and use with map - Java Beginners
java run time textfield and use with map  i want to program which... are generated at run time like a text file store information class a1...) throws Exception { JButton b=new JButton("Put file data into TextFields
Version of jsf-extensions>jsf-extensions-run-time dependency
List of Version of jsf-extensions>jsf-extensions-run-time dependency
for sending project build
for sending project build  hello I want to send my iphone project build to someone else how can i send it...   yes you can send butADS_TO_REPLACE_1 Follow the steps on the portal to creating an ad hoc build
java util date - Time Zone throwing illegal argument exception
an exception ? This piece of code is running on app servers on machines in different time...java util date - Time Zone throwing illegal argument exception  ...()); The date object is not getting created for IST time zone. Java
Exception
: could not fetch initial value BUILD SUCCESSFUL (total time: 4 seconds...Exception   I was creating a table dynamically but it shows exception i.e shown down Suplier created0 Suplier created0 Suplier created0 Product
Maven Repository/Dependency: jsf-extensions | jsf-extensions-run-time
Maven Repository/Dependency of Group ID jsf-extensions and Artifact ID jsf-extensions-run-time. Latest version of jsf-extensions:jsf-extensions-run-time... Convert Maven project to Eclipse Web Project
org.apache.maven.plugins - maven-clean-plugin version 2.2 Maven dependency. How to use maven-clean-plugin version 2.2 in pom.xml?
org.apache.maven.plugins  - Version 2.2 of maven-clean-plugin in project... - maven-clean-plugin project have released the latest version of this library... ( org.apache.maven.plugins - maven-clean-plugin version 2.2 ) in their Java project if it is based
org.apache.maven.plugins - maven-clean-plugin version 2.6 Maven dependency. How to use maven-clean-plugin version 2.6 in pom.xml?
org.apache.maven.plugins  - Version 2.6 of maven-clean-plugin in project... - maven-clean-plugin project have released the latest version of this library... ( org.apache.maven.plugins - maven-clean-plugin version 2.6 ) in their Java project if it is based
Example to show exception handling in java
that show you the use of exception class in java .Exceptions handling is the key in Java, that handle run time errors and  indicate  a calling... Example to show exception handling in java   
ModuleNotFoundError: No module named 'clean'
install clean After the installation of clean python library...ModuleNotFoundError: No module named 'clean'  Hi, My Python program is throwing following error: ModuleNotFoundError: No module named 'clean
Grid World project Run Error !! help please!!
Grid World project Run Error !! help please!!  i'm trying to make... not "run" here is my code: import info.gridworld.grid.Location; import... occurs and i exit the error but run does not work anymore) (adsbygoogle
exception
user defined unchecked exception  can we create user defined unchecked exceptions? if so what is the exact use of it in real time?   Please visit the following links: http://www.roseindia.net/java/java-exception/user

Ads