Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
Ranked #44.2K
~2K People Reached
Favorite Forums
Favorite Tags
java x 4

3 Posted Topics

Member Avatar for Bhargavi V

[CODE]this.getAppComboBox().getSelectedItem().toString();[/CODE] Is the one throws this exception. So check this.getAppComboBox() is null or not. Just comment [CODE]this.getAppComboBox().getSelectedItem().toString();[/CODE] and next to that add this and test it. [CODE]if(this.getAppComboBox()==null) { System.out.println("this.getAppComboBox() is returned a null value"); }[/CODE]

Member Avatar for Bhargavi V
0
938
Member Avatar for Bhargavi V

Please post you code with in code-tags. else hard to read. Only looking at the Exception we can guess that your trying to use an object which is null. >>>>java.lang.NullPointerException

Member Avatar for Bhargavi V
0
581
Member Avatar for rukshilag

Yes finding the proper algorithm is the key to solve this problem, I just tried with a straight forward algorithm(i.e to checck all possible sums in a proper sequence). This may not be the best but works fine. Sorry for not using comments. Here is the code. I also placed …

Member Avatar for thamilvaanan
0
577

The End.