I seem to get a NullPointerException in com.borland.jbcl.view.GridView
This has occured after I changed my jdk version from 1.1.8 to v1.4
Stack Trace :
WARNING LoadPanelThread Caught Throwable java.lang.NullPointerException
at com.borland.jbcl.view.GridView.isReadOnly(GridView.java:201)
at za.co.pnp.framework.PnpGrid.isFocusTraversable(PnpGrid.java:240)
at za.co.pnp.framework.PnpGrid.isManagingFocus(PnpGrid.java:248)
at javax.swing.JComponent.<init>(JComponent.java:377)
at javax.swing.JScrollPane.<init>(JScrollPane.java:256)
at javax.swing.JScrollPane.<init>(JScrollPane.java:313)
at com.borland.jbcl.view.GridView.<init>(GridView.java:47)
at com.borland.jbcl.control.GridControl.<init>(GridControl.java:44)
at za.co.pnp.framework.PnpGrid.<init>(PnpGrid.java:37)
at za.co.pnp.creditor.PanelCreateRemittance.<init>(PanelCreateRemittance.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at za.co.pnp.framework.PnpFrameBrowser$LoadPanelThread.run(PnpFrameBrowser.java:685)
WARNING DialogMessage Handling exception java.lang.NullPointerException
at com.borland.jbcl.view.GridView.isReadOnly(GridView.java:201)
at za.co.pnp.framework.PnpGrid.isFocusTraversable(PnpGrid.java:240)
at za.co.pnp.framework.PnpGrid.isManagingFocus(PnpGrid.java:248)
at javax.swing.JComponent.<init>(JComponent.java:377)
at javax.swing.JScrollPane.<init>(JScrollPane.java:256)
at javax.swing.JScrollPane.<init>(JScrollPane.java:313)
at com.borland.jbcl.view.GridView.<init>(GridView.java:47)
at com.borland.jbcl.control.GridControl.<init>(GridControl.java:44)
at za.co.pnp.framework.PnpGrid.<init>(PnpGrid.java:37)
at za.co.pnp.creditor.PanelCreateRemittance.<init>(PanelCreateRemittance.java:105)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:274)
at java.lang.Class.newInstance0(Class.java:296)
at java.lang.Class.newInstance(Class.java:249)
at za.co.pnp.framework.PnpFrameBrowser$LoadPanelThread.run(PnpFrameBrowser.java:685)
My we extend the jbcl grid control in PnpGrid.
Any suggestions to this problem welcome
you usually get NullPointerException when you create an instance and use it without creating an object. it wont give u a compile time error as the instance has been registered but when u use the instance it will look for the object and when it can find the object it will throw a run-time error which in this case is the NullPointerException.
asrar
Similar Messages
-
Package com.borland.jbcl.layout does not exist
im using JBuilder X and getting this error message:
package com.borland.jbcl.layout does not exist
considering that JBuilder has some problem i compiled the classes using command prompt but even then the same error appeared. plz help me its part of my final project of a courde.
Some ppl in diff forums have said that jbcl has been deprecated but making gui in JBuilder is much easier. and i only know of making frames in XYLayout,,,,,,,
If i dont have the package plz let me know how can i get it and if i have it then tell me how can it get it and where and how to installPut the jars or classes in the com.borland.jbcl.layout package into your CLASSPATH. You have referenced them in your program, the compiler is looking for them, but it cannot find them, so it cannot compile your program.
-
Com.borland.jbcl.layout package
When I am executing my code I am getting this error.
"package com.borland.jbcl.layout does not exist"
So from where can I download this package and where to load this pacage.
Can anyone help me fast.look in your library and see if it is there or in the zip files there, check your classpath to be sure that it didn't change, it it is none of those, then you need to get out your IDE and reinstall the libraries, because that one has corrupted or has been deleted.
-
Where i can find the .jar file for com.borland.jbcl package
when i rebuilt my application i met this error message
package com.borland.jbcl.layout.XYLayout does not exist
please help
thanksHi,
Check out the "download" link at the following address.
http://cougaar.org/cgi-bin/viewcvs.cgi/jars/lib/jbcl.jar?cvsroot=core
Hope that help,
Jack -
Where can i download com.borland.jbcl.layout.*; ?
Hi,
Could someone tell me where can i download com.borland.jbcl.layout.*; package?.
Its very urgent.
Thanks.
VamsiI know this package is shipped with JBuilder, at least it was with version 4 and 6.
if you emailed me at adrian at iceknife dot com i could send you a copy i have.
HTH
Adrian -
I cannot seem to get the tools button in firefox, where can I find it or what do I need to do. I am trying to set a couple of home pages and the help section says to select the tool option and it is not there.
First, please update to Firefox 18.0.2 [[Update Firefox to the latest version]]
Then, you should be able to click the orange Firefox button in the upper left corner, then options. Set your home page there. [[How to set the home page]] -
NullPointerException in com.sun.mail.iap.Response.parse
Hey all. I am accessing an IMAP mail server from Solaris 8 using java 1.5.0-08, but I intermittently get the following exception:
java.lang.NullPointerException
at com.sun.mail.iap.Response.parse(Response.java:130)
at com.sun.mail.iap.Response.<init>(Response.java:87)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
at com.sun.mail.iap.Protocol.command(Protocol.java:263)
at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)Any thoughts of what I am doing wrong?I'm just looking for more data to get
a handle on the problem.I ran my program again, and got a NPE on another email. It is also big...
A479 FETCH 856 (BODY[])
* 856 FETCH (BODY[] {26497359}
Return-Path: <[email protected]>
... some of the body ...
BTW, the ebinder subcollection is not in the select list. Do I have to configure
or create another foA480 CLOSE
DEBUG: added an Authenticated connection -- size: 1
java.lang.NullPointerException
at com.sun.mail.iap.Response.parse(Response.java:130)
at com.sun.mail.iap.Response.<init>(Response.java:87)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
at com.sun.mail.iap.Protocol.command(Protocol.java:263)
at com.sun.mail.iap.Protocol.simpleCommand(Protocol.java:310)
at com.sun.mail.imap.protocol.IMAPProtocol.close(IMAPProtocol.java:926)
at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:1000)
at com.sun.mail.imap.IMAPFolder.close(IMAPFolder.java:935)
A481 LIST "" shared
java.lang.NullPointerException
at com.sun.mail.iap.Response.parse(Response.java:130)
at com.sun.mail.iap.Response.<init>(Response.java:87)
at com.sun.mail.imap.protocol.IMAPResponse.<init>(IMAPResponse.java:48)
at com.sun.mail.imap.protocol.IMAPResponse.readResponse(IMAPResponse.java:122)
at com.sun.mail.imap.protocol.IMAPProtocol.readResponse(IMAPProtocol.java:230)
at com.sun.mail.iap.Protocol.command(Protocol.java:263)
at com.sun.mail.imap.protocol.IMAPProtocol.doList(IMAPProtocol.java:799)
at com.sun.mail.imap.protocol.IMAPProtocol.list(IMAPProtocol.java:776)
at com.sun.mail.imap.IMAPFolder$1.doCommand(IMAPFolder.java:429)
at com.sun.mail.imap.IMAPFolder.doProtocolCommand(IMAPFolder.java:2387)
at com.sun.mail.imap.IMAPFolder.doCommand(IMAPFolder.java:2332)
at com.sun.mail.imap.IMAPFolder.exists(IMAPFolder.java:427)
... lots of these ...
A490 LIST "" shared
rm or resource or something to solve this problem? please
advice.
(See attached file: private-xml.rtf)(See attached file: private-html.rtf)(See
... more body from the first email ...And this process of getting little chunks of data seems to continue on, interspersed with NPEs. It looks like some connection is not being closed. -
I recently launched a podcast series (http://itunes.apple.com/ca/podcast/notes-from-northwest-passage/id449063851) but its still showing an older description text with some typos and an incorrect link in it, as I registered it with a pre-edited file so it would be in line for review while I finalized the details, and now I can't seem to get it to refresh and show the new texts at all, even though I edited the description texts in the xml file well over 2-3 weeks ago.
I've tried redoing this file several times. It always validates but changes never get picked up by the iTunes store.I can manually subscribe to the feed using iTunes' advanced menu, with no problems. The feed is at:
http://a4.g.akamai.net/7/4/66750/v1/smb2.download.akamai.com/66750/http/podcasts /archaeology2011/arcticarchaeology2011_eng.xml
I recently (about 3-4 days ago) tried redirecting the feed to a new version of the xml file stored in a new folder, just to see if that would somehow jolt it back into reading it, but again after 3-4 days it hasn't done anything.
It's also not showing any of the most recent episodes even though they have all been there about a week, so the store should have picked them up by now, no?
Any suggestions?If you look at the feed, and look at the entry 'The end to an exciting field season in Aulavik National Park' you will see the line:
<pubDateFri, 29 Jul 2011 04:00:00 GMT</pubDate>
You have not closed the 'pubdate' tag - there should be a '>' as the 9th character. Because the tag has been left open, it invalidates everything which follows it, and thus the entire feed. iTunes therefore cannot read it, which is why the Store has not updated. Add the '>' and republish, and all should be well.
It's always worth checking your feed by subscribing manually, from the 'Advanced' menu, or by clicking the 'subscribe free' button on the Store page (both do the same thing) - if you can subscribe to the feed it should be OK. -
I am getting a NullPointerException when trying to use the Service class
I am getting a NullPointerException which is as follows
java.lang.NullPointerException
file:/K:/Learner/JavaFx2/ProductApplication/dist/run166129449/ProductApplication.jar!/com/product/app/view/viewsingle.fxml
at com.product.app.controller.ViewSingleController.initialize(ViewSingleController.java:70)
at javafx.fxml.FXMLLoader.load(Unknown Source)
at javafx.fxml.FXMLLoader.load(Unknown Source)
And my View SingleController is as follows
package com.product.app.controller;
import com.product.app.model.Product;
import com.product.app.service.ViewProductsService;
import com.product.app.util.JSONParser;
import com.product.app.util.TagConstants;
import java.net.URL;
import java.util.ArrayList;
import java.util.List;
import java.util.ResourceBundle;
import javafx.collections.ObservableList;
import javafx.concurrent.Service;
import javafx.concurrent.Task;
import javafx.event.ActionEvent;
import javafx.fxml.FXML;
import javafx.fxml.Initializable;
import javafx.scene.control.ProgressIndicator;
import javafx.scene.control.TextArea;
import javafx.scene.control.TextField;
import javafx.scene.layout.Region;
import javafx.stage.Stage;
import javax.swing.JOptionPane;
import org.apache.http.NameValuePair;
import org.apache.http.message.BasicNameValuePair;
import org.json.JSONArray;
import org.json.JSONObject;
* FXML Controller class
* @author Arun Joseph
public class ViewSingleController implements Initializable {
private static String action = "";
@FXML
private TextField txtID;
@FXML
private TextField txtName;
@FXML
private TextField txtPrice;
@FXML
private TextArea txtDesc;
@FXML
private Region veil;
@FXML
private ProgressIndicator p;
private ViewProductsService service = new ViewProductsService();
private JSONObject product = null;
private JSONParser parser = new JSONParser();
private int pid = 1;
public void setPid(int pid) {
this.pid = pid;
* Initializes the controller class.
@Override
public void initialize(URL url, ResourceBundle rb) {
veil.setStyle("-fx-background-color: rgba(0, 0, 0, 0.4)");
p.setMaxSize(150, 150);
p.progressProperty().bind(service.progressProperty());
veil.visibleProperty().bind(service.runningProperty());
p.visibleProperty().bind(service.runningProperty());
Product product = new Product();
service.start();
ObservableList<Product> products = service.valueProperty().get();
products.get(pid);
txtID.textProperty().set(String.valueOf(products.get(pid).getPid()));
//product = service.valueProperty().get().get(pid);
//txtID.setText(String.valueOf(product.getPid()));
txtName.textProperty().set(product.getName());
txtPrice.textProperty().set(String.valueOf(product.getPrize()));
txtDesc.textProperty().set(product.getDescription());
private SomeService someService = new SomeService();
@FXML
private void handleUpdateButtonClick(ActionEvent event) {
action = "update";
someService.start();
p.progressProperty().bind(service.progressProperty());
veil.visibleProperty().bind(service.runningProperty());
p.visibleProperty().bind(service.runningProperty());
@FXML
private void handleDeleteButtonClick(ActionEvent event) {
action = "delete";
someService.start();
p.progressProperty().bind(service.progressProperty());
veil.visibleProperty().bind(service.runningProperty());
p.visibleProperty().bind(service.runningProperty());
@FXML
private void handleCancelButtonClick(ActionEvent event) {
closeStage();
private void closeStage() {
ViewSingleController.stage.close();
private static Stage stage = null;
public static void setStage(Stage stage) {
ViewSingleController.stage = stage;
private class SomeService extends Service<String> {
@Override
protected Task<String> createTask() {
return new SomeTask();
private class SomeTask extends Task<String> {
@Override
protected String call() throws Exception {
String result = "";
int success = 0;
List<NameValuePair> params = new ArrayList<NameValuePair>();
switch (action) {
case "update":
params.add(new BasicNameValuePair("pid", txtID.getText()));
params.add(new BasicNameValuePair("name", txtName.getText()));
params.add(new BasicNameValuePair("price", txtPrice.getText()));
params.add(new BasicNameValuePair("description", txtDesc.getText()));
product = parser.makeHttpRequest(TagConstants.url_update_product_with_id, "POST", params);
success = product.getInt(TagConstants.TAG_SUCCESS);
if (success == 1) {
result = "Successfully Updated the product";
JOptionPane.showMessageDialog(null, result);
closeStage();
break;
case "delete":
params.add(new BasicNameValuePair("pid", txtID.getText()));
product = parser.makeHttpRequest(TagConstants.url_delete_product_with_id, "POST", params);
success = product.getInt(TagConstants.TAG_SUCCESS);
if (success == 1) {
result = "Successfully Deleted the product";
JOptionPane.showMessageDialog(null, result);
closeStage();
break;
return result;Time Machine has its own mechanism for deleting files. The number you are seeing may represent a "underflow" or a number of files which exceeds the limit and becomes negative.
The best way to remove TM files is via the TM interface: select the files and click the Gear and select delete from all backups.
If you are deleting files on an external drive which once included TM files, it is best to use the terminal and just delete them directly. They go bye-bye without ever seeing the trash bucket.
Of course, using the terminal is not for everyone.
What you might be able to do is restore the files from trash and then delete them properly or in smaller bundles. -
I can't seem to get my iMac (late 2009 model) into automatic sleep mode. If I manually put it into sleep I don't have any issues.
I used to solve the issue by running "PleaseSleep" application but that doesn't work anymore since Lion. I now want to fix the underlying problem.
I'm not running any weird background processes and in my energy saver settings I've tagged "put the hard disk to sleep when possible:, "allow power button to put computer to sleep" and "automatically reduce brigthness". All pretty standard.
Is there anyone who can give me some pointers ?Today I solved the same problem for my iMac running Snow Leopard. See https://discussions.apple.com/thread/3008791#15947706. The method may help you, too.
For me it was the DynDNS Updater preventing my iMac from automatically entering sleep mode.
To my knowledge the cause of this sleep problem can only be a peripheral device or a process. So I suggest to first unplug all peripherals and test whether that's the cause. If not, I suggest to terminate one process after another and to test automatic entering of sleep mode after each. Start with user processes; continue with system process if necessary.
At least that's the way I found the offending process. Fortunately, I was able to change the configuration of that process to allow again automatic entering of sleep mode.
Good luck! -
I can't seem to get my Itunes Library to come up on my Mac. When I bought a new PC last year I just downloaded Itunes and all of my previous library came in but that isn't happening with my Mac Pro. Is there an easy way to do that?
Have you copied your content from your other computer?
-
I tried to burn a DVD using iDVD after upgrading to Maverick, first time I tried after upgrading to Maverick a few weeks ago. It seems to get stuck at encoding menu stage and not doing anything. Does anyone else have the same problem?
I did not have a DVD handy to burn but I have just created a small 2 minute video and created a Disk Image and also a VIDEO_TS folder, the encoding worked correctly, so it works with some items.
You may get a better responce in the iDVD forum.
https://discussions.apple.com/community/ilife/idvd
regards -
I have powerpoint for Mac on my imac. I can't seem to get the active text box function to work like it did on my PC. How can I insert an active textbox into a presentation that will allow me to type while presenting?
I've gotten a little further on this. The dynamic select is
working fine. It's the "a href" code that isn't. I'm wondering if
someone can look at this line and tell me if it's okay to build the
query string this way. The storeid comes through fine but I'm still
not getting the employeeid value to pass. Here's line that's not
working:
td><a href="registerStoreCust.php?storeid=<?php echo
$row_storeRS['storeid']; echo "&employeeid="; echo
$_GET['employeeLM']; ?>">Register
Customer</a></td> -
I can't seem to get GarageBand to recognize my Behringer X1222 USB Mixer. It will record, but only on the generic "USB Input, without seeing or letting me select the input channel from the mixer. Can't find any drivers from Behringer. How do I getGB to "see" the mixer? Thanks, I'm a newbie to Macs in genreal, and recording...
viiram wrote:
It will record, but only on the generic "USB Input, without seeing or letting me select the input channel from the mixer.
the x1222 includes a 2 channel audio interface, 2 channels are all you can get from it.
the most you can do is record to 2 tracks at a time; skim this tute to see how:
http://www.bulletsandbones.com/GB/Tutorials.html#allaboutrecording2tracks
(Let the page FULLY load. The link to your answer is at the top of your screen) -
On my ipod touch, i can't seem to get the imessage app.. I have updated my itunes and even restored the ipod to factory settings with the latest update. Maybe the ipod is too old? Is that even a thing? Is there another app I can download to have access to my contacts with imessage?
That comes with iOS 5 (Settings>General>About>Version) and only the 3G abd later iPods can go to iOS 5 or later
Identifying iPod models
Maybe you are looking for
-
Dear all! Please help me with this! I have just create an apple id and when I want to sign in iTunes store, the message ( this apple Id has not yet been used in the iTunes store please) appears and when I tap the review, again billing information is
-
Backup failed with Error: (-50) Creating Directory
Repeats ad nauseum. This is backing up to a second internal drive that is an exact duplicate (in terms of HD model and size). Does anyone know what Error -50 means? Lack of permissions? Invalid name (doesn't seem like it)? 8/30/08 9:06:37 AM /System/
-
Urgent :ORACLE.FDK.UnexpectedError --how to rectify this error
Hello, I am getting the following error when I am running a standalone java program, where I am trying to list the folders in a container. =========================== log created on console =========================== FdkException: Error Code: ORACLE
-
Two recieve steps to start a BPM?
Can I start a BPM with a Fork Step that has two Recieve Steps that expects messages from two different Interfaces?
-
Suddenly the soft edge of a brush leaves a hard line
Hi all, System... Photoshop CS4, on a MacPro, Snow Leopard, with a Wacom Intuos, PSD file, 16bit. Document... I have a full-height portrait with an almost--white background. In photoshop, I added a layer and painted full white to cover the backgroun